annotate Resources/CodeGeneration/test_data/test2.yaml @ 1391:32272ecfc6c2

Drilled a hole through the abstractions to be able to match an SdlViewport with its SDL window ID to support dispatching event loop SDL events as viewport/controller/compositor method calls.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 28 Apr 2020 13:26:41 +0200
parents 6fbf2eae7c88
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
493
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
1 enum EnumMonth0:
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
2 - January
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
3 - February
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
4 - Month
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
5
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
6 struct Message1:
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
7 a: int32
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
8 b: string
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
9 c: EnumMonth0
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
10 d: bool
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
11
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
12 struct Message2:
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
13 toto: string
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
14 tata: vector<Message1>
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
15 tutu: vector<string>
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
16 titi: map<string, string>
6fbf2eae7c88 All unit tests pass for generation, including handler and dispatcher
bgo-osimis
parents:
diff changeset
17 lulu: map<string, Message1>