aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/TypeElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/TypeElement.cpp')
-rw-r--r--parameter/TypeElement.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/parameter/TypeElement.cpp b/parameter/TypeElement.cpp
index 4c32bc2..405dc7d 100644
--- a/parameter/TypeElement.cpp
+++ b/parameter/TypeElement.cpp
@@ -125,3 +125,14 @@ CMappingData* CTypeElement::getMappingData()
}
return _pMappingData;
}
+
+// From IXmlSource
+void CTypeElement::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const
+{
+ if (!isScalar()) {
+
+ xmlElement.setAttributeInteger("ArrayLength", getArrayLength());
+ }
+
+ base::toXml(xmlElement, serializingContext);
+}