Rev 1310 | Rev 1314 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1310 | Rev 1311 | ||
|---|---|---|---|
| Line 16... | Line 16... | ||
| 16 | 16 | ||
| 17 | this->myModuletype = moduletype; |
17 | this->myModuletype = moduletype; |
| 18 | this->myModuleId = moduleId; |
18 | this->myModuleId = moduleId; |
| 19 | this->myType = type; |
19 | this->myType = type; |
| 20 | 20 | ||
| 21 | xml::Node moduleNode = |
21 | xml::Node moduleNode = Protocol::getInstance()->getRootNode().selectFirst("modules").selectFirst("module", xml::Node::attributePair("name", moduletype)); |
| 22 | xml::Node messageNode = |
22 | xml::Node messageNode = Protocol::getInstance()->getRootNode().selectFirst("messagetypes").selectFirst("messagetype", xml::Node::attributePair("name", type)); |
| 23 | 23 | ||
| 24 | xml::Node::nodeList variableNodes = messageNode.select("variable"); |
24 | xml::Node::nodeList variableNodes = messageNode.select("variable"); |
| 25 | 25 | ||
| 26 | for (unsigned int n = 0; n < variableNodes.size(); n++) |
26 | for (unsigned int n = 0; n < variableNodes.size(); n++) |
| 27 | { |
27 | { |