solved todo: cache symbols instead of decoded values, use cache for verbose and field-selective read as well, include names and comments in verbose find

This commit is contained in:
john30
2015-03-07 14:07:58 +01:00
parent e81ac863ad
commit 6740a6376b
5 changed files with 116 additions and 59 deletions
+4 -3
View File
@@ -1288,14 +1288,15 @@ result_t DataFieldSet::read(const PartType partType,
}
}
if (findFieldIndex && !found)
return RESULT_ERR_NOTFOUND;
if (!found) {
return RESULT_EMPTY;
}
if (verbose) {
if (m_comment.length() > 0)
output << " [" << m_comment << "]";
}
return found ? RESULT_OK : RESULT_EMPTY;
return RESULT_OK;
}
result_t DataFieldSet::write(istringstream& input,