unordered metrics expressions config

Change-Id: I998423046abfd7af45f28071911276cce1c4f3da
这个提交包含在:
Evgeny
2019-08-25 05:08:55 -05:00
父节点 6fa4f1dc66
当前提交 e5b938b5fb
共修改 4 个文件,包含 55 行新增和 18 行删除
+5 -1
查看文件
@@ -43,7 +43,10 @@ class Xml {
typedef std::vector<char> token_t;
struct level_t;
typedef std::vector<level_t*> nodes_t;
typedef std::vector<level_t*> node_vect_t;
typedef std::list<level_t*> node_list_t;
typedef node_vect_t nodes_t;
typedef std::map<std::string, std::string> opts_t;
struct level_t {
std::string tag;
@@ -143,6 +146,7 @@ class Xml {
struct print_func {
bool fun(const std::string& global_tag, level_t* node) {
std::cout << global_tag << ":" << std::endl;
for (auto& opt : node->opts) {
std::cout << global_tag << "." << opt.first << " = " << opt.second << std::endl;
}