diff options
Diffstat (limited to 'parameter/MappingData.h')
-rw-r--r-- | parameter/MappingData.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/parameter/MappingData.h b/parameter/MappingData.h index 03f8e2a..0d16eb3 100644 --- a/parameter/MappingData.h +++ b/parameter/MappingData.h @@ -42,6 +42,13 @@ public: // Query bool getValue(const string& strkey, const string*& pStrValue) const; + /** + * Formats the mapping as a list of comma-space separated key:value pairs + * + * @return the formatted string + */ + string asString() const; + private: bool addValue(const string& strkey, const string& strValue); |