| 590 | |
| 591 | struct ConditionalGroup { |
| 592 | explicit ConditionalGroup(const tinyxml2::XMLElement *idg){ |
| 593 | const char *condAttr = idg->Attribute("Condition"); |
| 594 | if (condAttr) |
| 595 | mCondition = condAttr; |
| 596 | } |
| 597 | |
| 598 | static void replaceAll(std::string &c, const std::string &from, const std::string &to) { |
| 599 | std::string::size_type pos; |