aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/ComponentInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/ComponentInstance.cpp')
-rw-r--r--parameter/ComponentInstance.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/parameter/ComponentInstance.cpp b/parameter/ComponentInstance.cpp
index 83e7448..4ffdab9 100644
--- a/parameter/ComponentInstance.cpp
+++ b/parameter/ComponentInstance.cpp
@@ -56,6 +56,18 @@ bool CComponentInstance::hasMappingData() const
return base::hasMappingData() || (_pComponentType && _pComponentType->hasMappingData());
}
+string CComponentInstance::getFormattedMapping() const
+{
+ // Try myself first then associated component type
+ string strValue = base::getFormattedMapping();
+ if (_pComponentType) {
+
+ strValue += _pComponentType->getFormattedMapping();
+ }
+
+ return strValue;
+}
+
bool CComponentInstance::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext)
{
// Context