79 cXMLElementList::const_iterator iter = msgPattern.begin();
80 while (iter != msgPattern.end()) {
81 const cXMLElement& pattern = **iter;
82 cXMLAttributeMap attr = pattern.getAttributes();
83 std::string patternType(pattern.getTagName());
89 if (attr.find(
"type") != attr.end())
92 if (patternType ==
"fieldValue")
94 else if (patternType ==
"fieldObject")
96 else if (patternType ==
"fieldArray")
98 else if (patternType ==
"fieldValueInArray")
100 else if (patternType ==
"fieldObjectInArray")
int findFieldIndex(void *object, cClassDescriptor *descriptor, const std::string &fieldName) const
Definition: MessageChecker.cc:196
void checkFieldType(void *object, cClassDescriptor *descriptor, int field, cXMLAttributeMap &attrList, int i=0) const
Definition: MessageChecker.cc:182
int checkFieldArray(void *object, cClassDescriptor *descriptor, int field, cXMLAttributeMap &attr) const
Definition: MessageChecker.cc:139
void checkFieldObjectInArray(void *object, cClassDescriptor *descriptor, int field, cXMLAttributeMap &attr, const cXMLElement &pattern) const
Definition: MessageChecker.cc:168
void checkFieldObject(void *object, cClassDescriptor *descriptor, int field, cXMLAttributeMap &attr, const cXMLElement &pattern, int i=0) const
Definition: MessageChecker.cc:126
void checkFieldValue(void *object, cClassDescriptor *descriptor, int field, cXMLAttributeMap &attr, int i=0) const
Definition: MessageChecker.cc:107
void checkFieldValueInArray(void *object, cClassDescriptor *descriptor, int field, cXMLAttributeMap &attr) const
Definition: MessageChecker.cc:154