Inching toward attribute accumulation in megatile handling

This commit is contained in:
Erica Fischer
2024-09-12 11:08:21 -07:00
parent 78b4fc19ec
commit becfac9da9
5 changed files with 28 additions and 9 deletions
+7
View File
@@ -6,6 +6,13 @@
#include "jsonpull/jsonpull.h"
#include "milo/dtoa_milo.h"
std::map<std::string, attribute_op> numeric_operations = {
{"sum", op_sum},
{"min", op_min},
{"max", op_max},
{"count", op_count},
};
void set_attribute_accum(std::unordered_map<std::string, attribute_op> &attribute_accum, std::string name, std::string type) {
attribute_op t;