+ } else if (!strcmp(db_node->getName(), "alias")) {
+ string alias(db_node->getStringValue("alias"));
+ if (alias.empty()) {
+ SG_LOG(SG_AI, SG_ALERT, "performance DB alias entry with no <alias> definition");
+ continue;
+ }
+
+ BOOST_FOREACH(SGPropertyNode* matchNode, db_node->getChildren("match")) {
+ string match(matchNode->getStringValue());
+ _aliases.push_back(StringPair(match, alias));
+ }
+ } else {
+ SG_LOG(SG_AI, SG_ALERT, "unrecognized performance DB entry:" << db_node->getName());
+ }
+ } // of nodes iteration