Anthony F. Molinaro | 3bba214 | 2012-03-22 06:48:33 +0000 | [diff] [blame] | 1 | struct StructB |
| 2 | { |
| 3 | 1: string x |
| 4 | } |
| 5 | |
Anthony F. Molinaro | 3183514 | 2012-03-22 06:23:36 +0000 | [diff] [blame] | 6 | struct StructA |
| 7 | { |
| 8 | 1: string a, |
| 9 | 2: binary b, |
| 10 | 3: optional string c, |
| 11 | 4: optional binary d, |
| 12 | 5: required string e, |
| 13 | 6: required binary f, |
| 14 | 7: string g = "foo", |
| 15 | 8: i32 h, |
| 16 | 9: optional i32 i, |
| 17 | 10: required i32 j, |
| 18 | 11: required i32 k = 5, |
| 19 | 12: double l, |
| 20 | 13: optional double m, |
| 21 | 14: required double n, |
| 22 | 15: double o = 3.14159, |
| 23 | 16: list<string> string_list, |
| 24 | 17: list<byte> byte_list = [1, 2, 3], |
Anthony F. Molinaro | 3bba214 | 2012-03-22 06:48:33 +0000 | [diff] [blame] | 25 | 18: required list<string> rsl, |
| 26 | 19: optional list<string> osl, |
| 27 | 20: set<string> string_set, |
| 28 | 21: required set<string> rss, |
| 29 | 22: optional set<string> oss, |
| 30 | 23: map<string, string> string_map, |
| 31 | 24: required map<string, string> rsm, |
| 32 | 25: optional map<string, string> osm, |
| 33 | 26: StructB structb |
Anthony F. Molinaro | 3183514 | 2012-03-22 06:23:36 +0000 | [diff] [blame] | 34 | } |