summaryrefslogtreecommitdiffstats
path: root/parameter/Element.h
diff options
context:
space:
mode:
authorGuillaume Denneulin <guillaume.denneulin@intel.com>2014-01-31 15:09:42 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-13 16:08:59 +0100
commit3ba083ee0b0ff7e01caeb3bc7395377071e20fe6 (patch)
treed639c767d5308ee2658db9d1fc0f946067a74c94 /parameter/Element.h
parent7613e74a97d67c392a241ad3a62c6533b31f48ab (diff)
downloadexternal_parameter-framework-3ba083ee0b0ff7e01caeb3bc7395377071e20fe6.zip
external_parameter-framework-3ba083ee0b0ff7e01caeb3bc7395377071e20fe6.tar.gz
external_parameter-framework-3ba083ee0b0ff7e01caeb3bc7395377071e20fe6.tar.bz2
In structure XML files, implement component library files inclusion
BZ: 168727 In the PFW structure file, it is not possible to include a component library from another XML file. Implement the possibility to import component from another XML file that would be included in a structure XML file and that would describe a component library. Change-Id: Id6125140de1c8e9882375d01199f695b929f45e2 Signed-off-by: Guillaume Denneulin <guillaume.denneulin@intel.com>
Diffstat (limited to 'parameter/Element.h')
-rw-r--r--parameter/Element.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/parameter/Element.h b/parameter/Element.h
index b381898..01e4254 100644
--- a/parameter/Element.h
+++ b/parameter/Element.h
@@ -120,6 +120,18 @@ protected:
CElement* findAscendantOfKind(const string& strKind);
CElement* getRoot();
const CElement* getRoot() const;
+
+ /**
+ * Creates a child CElement from a child XML Element
+ *
+ * @param[in] childElement the XML element to create CElement from
+ * @param[in] elementSerializingContext the serializing context
+ *
+ * @return child a pointer on the CElement object that has been added to the tree
+ */
+ CElement* createChild(const CXmlElement& childElement,
+ CXmlSerializingContext& elementSerializingContext);
+
private:
// Logging (done by root)
virtual void doLog(bool bIsWarning, const string& strLog) const;