Mercurial > hg > orthanc-stone
comparison Resources/CodeGeneration/test_data/testTestStoneCodeGen.yaml @ 687:342f3e04bfa9 am-dev
CodeGen: test cleanup + all working again + using same yaml and stimuli files
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 16 May 2019 17:51:17 +0200 |
parents | |
children | f185cfcb72a0 |
comparison
equal
deleted
inserted
replaced
686:0d42bda615a8 | 687:342f3e04bfa9 |
---|---|
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 | |
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 |