summaryrefslogtreecommitdiffstats
path: root/parameter
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-01-06 17:26:59 +0100
committerDavid Wagner <david.wagner@intel.com>2015-01-22 12:02:31 +0100
commit70e458c1bb62ad39ea9c59339e74e1f7702910ee (patch)
treea27c38c9de80a896596594e2348a32e80f48d4e9 /parameter
parent873db82f0fe7b54386d5cc26dec6737e0446d93d (diff)
downloadexternal_parameter-framework-70e458c1bb62ad39ea9c59339e74e1f7702910ee.zip
external_parameter-framework-70e458c1bb62ad39ea9c59339e74e1f7702910ee.tar.gz
external_parameter-framework-70e458c1bb62ad39ea9c59339e74e1f7702910ee.tar.bz2
ParameterMgr: make serializeElement and importDomainFromFile private methods
There is no need for these method to be public as they are only used internaly. Change-Id: I172257211f35de26c11aaef499f7c847d55ced0b Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'parameter')
-rw-r--r--parameter/ParameterMgr.h55
1 files changed, 28 insertions, 27 deletions
diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h
index 5fd41b1..315cf63 100644
--- a/parameter/ParameterMgr.h
+++ b/parameter/ParameterMgr.h
@@ -282,33 +282,6 @@ public:
std::string& strError);
/**
- * Method that imports a single Configurable Domain, with settings, from an Xml file.
- *
- * @param[in] strXmlFilePath absolute path to the xml file containing the domain
- * @param[out] strError is used as the error output
- *
- * @return false if any error occurs
- */
- bool importDomainFromFile(const std::string& strXmlFilePath, bool bOverwrite, std::string& strError);
-
-
- /**
- * Export an element object to an Xml destination.
- *
- *
- * @param[in,out] strXmlDest a string containing an xml description or a path to an xml file.
- * @param[in] xmlSerializingContext the serializing context
- * @param[in] bToFile a boolean that determines if the destination is an xml description in
- * strXmlDest or contained in a file. In that case strXmlDest is just the file path.
- * @param[in] element object to be serialized.
- * @param[out] strError is used as the error output.
- *
- * @return false if any error occurs, true otherwise.
- */
- bool serializeElement(std::string& strXmlDest, CXmlSerializingContext& xmlSerializingContext,
- bool bToFile, const CElement& element, std::string& strError) const;
-
- /**
* Method that exports Configurable Domains to an Xml destination.
*
* @param[in,out] strXmlDest a string containing an xml description or a path to an xml file
@@ -518,6 +491,34 @@ private:
// Parse XML file into Root element
bool xmlParse(CXmlElementSerializingContext& elementSerializingContext, CElement* pRootElement, const std::string& strXmlFilePath, const std::string& strXmlFolder, ElementLibrary eElementLibrary, const std::string& strNameAttrituteName = "Name");
+ /**
+ * Export an element object to an Xml destination.
+ *
+ *
+ * @param[in,out] strXmlDest a string containing an xml description or a path to an xml file.
+ * @param[in] xmlSerializingContext the serializing context
+ * @param[in] bToFile a boolean that determines if the destination is an xml description in
+ * strXmlDest or contained in a file. In that case strXmlDest is just the file path.
+ * @param[in] element object to be serialized.
+ * @param[out] strError is used as the error output.
+ *
+ * @return false if any error occurs, true otherwise.
+ */
+ bool serializeElement(std::string& strXmlDest, CXmlSerializingContext& xmlSerializingContext,
+ bool bToFile, const CElement& element, std::string& strError) const;
+
+ /**
+ * Method that imports a single Configurable Domain, with settings, from an Xml file.
+ *
+ * @param[in] strXmlFilePath absolute path to the xml file containing the domain
+ * @param[out] strError is used as the error output
+ *
+ * @return false if any error occurs
+ */
+ bool importDomainFromFile(const std::string& strXmlFilePath, bool bOverwrite,
+ std::string& strError);
+
+
// Framework Configuration
CParameterFrameworkConfiguration* getFrameworkConfiguration();
const CParameterFrameworkConfiguration* getConstFrameworkConfiguration();