added verbose arg to decode()

This commit is contained in:
john30
2014-12-14 11:36:14 +01:00
parent 7a975dd274
commit a9a9865583
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -165,11 +165,13 @@ public:
* @param data the unescaped data @a SymbolString for reading binary data.
* @param output the @a ostringstream to append the formatted value to.
* @param leadingSeparator whether to prepend a separator before the formatted value.
* @param verbose whether to prepend the name, append the unit (if present), and append
* the comment in square brackets (if present).
* @param separator the separator character between multiple fields.
* @return @a RESULT_OK on success, or an error code.
*/
result_t decode(const PartType partType, SymbolString& data,
ostringstream& output, bool leadingSeparator=false, char separator=UI_FIELD_SEPARATOR);
ostringstream& output, bool leadingSeparator=false, bool verbose=false, char separator=UI_FIELD_SEPARATOR);
/**
* @brief Get the last decoded value.