comparison Deprecated/Resources/CodeGeneration/test_data/testTestStoneCodeGen.yaml @ 1401:f6a2d46d2b76

moved CodeGeneration into Deprecated
author Alain Mazy <alain@mazy.be>
date Wed, 29 Apr 2020 20:48:18 +0200
parents Resources/CodeGeneration/test_data/testTestStoneCodeGen.yaml@f185cfcb72a0
children
comparison
equal deleted inserted replaced
1400:419d0320c344 1401:f6a2d46d2b76
1 #
2 # 1 2 3 4 5 6 7 8
3 # 345678901234567890123456789012345678901234567890123456789012345678901234567890
4 #
5 rootName: TestStoneCodeGen
6
7 struct B:
8 __handler: cpp
9
10 someAs: vector<A>
11 someInts: vector<int32>
12
13 struct C:
14 __handler: cpp
15
16 someBs: vector<B>
17 ddd: vector<string>
18
19 struct A:
20 __handler: cpp
21
22 someStrings: vector<string>
23 someInts2: vector<int32>
24 movies: vector<MovieType>
25
26 struct Message1:
27 __handler: cpp
28
29 memberInt32: int32
30 memberString: string
31 memberEnumMonth: EnumMonth0
32 memberBool: bool
33 memberFloat32: float32
34 memberFloat64: float64
35
36 struct Message2:
37 __handler: [cpp, ts]
38
39 memberString: string
40 memberStringWithDefault: string = "my-default-value"
41 memberVectorOfMessage1: vector<Message1>
42 memberVectorOfString: vector<string>
43 memberMapStringString: map<string, string>
44 memberMapStringStruct: map<string, Message1>
45 memberMapEnumFloat: map<CrispType, float32>
46 memberEnumMovieType: MovieType
47 memberJson: json
48
49 enum MovieType:
50 - RomCom
51 - Horror
52 - ScienceFiction
53 - Vegetables
54
55 enum CrispType:
56 - SaltAndPepper
57 - CreamAndChives
58 - Paprika
59 - Barbecue
60
61 enum EnumMonth0:
62 - January
63 - February
64 - March