Brad Bishop | 13fd872 | 2017-05-15 12:44:01 -0400 | [diff] [blame] | 1 | auto storageCount = ${len(instances)}; |
| 2 | |
Gunnar Mills | 78199b4 | 2017-10-25 16:30:18 -0500 | [diff] [blame] | 3 | const std::array<Index, ${len(instancegroups)}> indices = {{ |
Brad Bishop | 13fd872 | 2017-05-15 12:44:01 -0400 | [diff] [blame] | 4 | % for g in instancegroups: |
| 5 | { |
| 6 | % for i in g.members: |
| 7 | {Index::key_type{${i[0]}, ${i[2]}, ${i[3]}}, ${i[5]}}, |
| 8 | % endfor |
| 9 | }, |
| 10 | % endfor |
| 11 | }}; |
| 12 | |
| 13 | const std::array<std::tuple<std::string, size_t>, ${len(watches)}> watches = {{ |
| 14 | % for w in watches: |
| 15 | std::tuple<std::string, size_t>{"${w.datatype}", ${w.instances}}, |
| 16 | % endfor |
| 17 | }}; |