summaryrefslogtreecommitdiffstats
path: root/xmlserializer/XmlMemoryDocSource.h
diff options
context:
space:
mode:
authorSebastien Gonzalve <oznog@zarb.org>2014-02-20 22:28:03 +0100
committerDavid Wagner <david.wagner@intel.com>2014-09-11 14:25:02 +0200
commitd9526499d6ab53b7d13d1434f748f6f2161c2e0a (patch)
tree8d2e2db275800821d4bf8873fc16b686bca60b2d /xmlserializer/XmlMemoryDocSource.h
parentffbf43b383bb8693741430b02c24dbc9b127f7f7 (diff)
downloadexternal_parameter-framework-d9526499d6ab53b7d13d1434f748f6f2161c2e0a.zip
external_parameter-framework-d9526499d6ab53b7d13d1434f748f6f2161c2e0a.tar.gz
external_parameter-framework-d9526499d6ab53b7d13d1434f748f6f2161c2e0a.tar.bz2
Remove using std::XXX from headers
This is a bad practice to have using in headers because it pollutes the namespace of any user of that header.
Diffstat (limited to 'xmlserializer/XmlMemoryDocSource.h')
-rw-r--r--xmlserializer/XmlMemoryDocSource.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/xmlserializer/XmlMemoryDocSource.h b/xmlserializer/XmlMemoryDocSource.h
index 072cb06..3266782 100644
--- a/xmlserializer/XmlMemoryDocSource.h
+++ b/xmlserializer/XmlMemoryDocSource.h
@@ -33,8 +33,6 @@
#include "XmlDocSource.h"
#include "XmlSource.h"
-using std::string;
-
/**
* Source class that uses parameter-framework's structures to create an xml document
*/
@@ -52,9 +50,9 @@ public:
* @param[in] strVersion a string containing the version number
* @param[in] bValidateWithSchema a boolean that toggles schema validation
*/
- CXmlMemoryDocSource(const IXmlSource* pXmlSource, const string& strRootElementType,
- const string& strXmlSchemaFile, const string& strProduct,
- const string& strVersion,
+ CXmlMemoryDocSource(const IXmlSource* pXmlSource, const std::string& strRootElementType,
+ const std::string& strXmlSchemaFile, const std::string& strProduct,
+ const std::string& strVersion,
bool bValidateWithSchema);
/**
@@ -65,7 +63,7 @@ public:
* @param[in] strRootElementType a string containing the root element type
* @param[in] bValidateWithSchema a boolean that toggles schema validation
*/
- CXmlMemoryDocSource(const IXmlSource* pXmlSource, const string& strRootElementType, bool bValidateWithSchema);
+ CXmlMemoryDocSource(const IXmlSource* pXmlSource, const std::string& strRootElementType, bool bValidateWithSchema);
/**
* Implementation of CXmlDocSource::populate() method.
@@ -91,7 +89,7 @@ private:
/**
* Schema file
*/
- string _strXmlSchemaFile;
+ std::string _strXmlSchemaFile;
/**
* Boolean used to specify if a header should be added in the Xml Doc
@@ -99,6 +97,6 @@ private:
bool _bWithHeader;
// Product and version info
- string _strProduct;
- string _strVersion;
+ std::string _strProduct;
+ std::string _strVersion;
};