aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/TypeElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/TypeElement.cpp')
-rw-r--r--parameter/TypeElement.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/parameter/TypeElement.cpp b/parameter/TypeElement.cpp
index 405dc7d..5bfc2d7 100644
--- a/parameter/TypeElement.cpp
+++ b/parameter/TypeElement.cpp
@@ -126,6 +126,15 @@ CMappingData* CTypeElement::getMappingData()
return _pMappingData;
}
+string CTypeElement::getFormattedMapping() const
+{
+ if (_pMappingData) {
+
+ return _pMappingData->asString();
+ }
+ return "";
+}
+
// From IXmlSource
void CTypeElement::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const
{