113fd8722SBrad Bishop auto storageCount = ${len(instances)}; 213fd8722SBrad Bishop 3*78199b44SGunnar Mills const std::array<Index, ${len(instancegroups)}> indices = {{ 413fd8722SBrad Bishop % for g in instancegroups: 513fd8722SBrad Bishop { 613fd8722SBrad Bishop % for i in g.members: 713fd8722SBrad Bishop {Index::key_type{${i[0]}, ${i[2]}, ${i[3]}}, ${i[5]}}, 813fd8722SBrad Bishop % endfor 913fd8722SBrad Bishop }, 1013fd8722SBrad Bishop % endfor 1113fd8722SBrad Bishop }}; 1213fd8722SBrad Bishop 1313fd8722SBrad Bishop const std::array<std::tuple<std::string, size_t>, ${len(watches)}> watches = {{ 1413fd8722SBrad Bishop % for w in watches: 1513fd8722SBrad Bishop std::tuple<std::string, size_t>{"${w.datatype}", ${w.instances}}, 1613fd8722SBrad Bishop % endfor 1713fd8722SBrad Bishop }}; 18