| 76 | } |
| 77 | |
| 78 | std::string build_generic_class(const std::string& base_class, |
| 79 | const std::string& vd_class, |
| 80 | const std::string& ed_class, |
| 81 | const std::string& msg_class) { |
| 82 | std::stringstream ss; |
| 83 | ss << base_class << "<" << vd_class << "," << ed_class << "," << msg_class |
| 84 | << ">"; |
| 85 | return ss.str(); |
| 86 | } |
| 87 | |
| 88 | // put all flags in a json str |
| 89 | boost::property_tree::ptree flags2Ptree() { |