diff options
author | Sebastien Gonzalve <oznog@zarb.org> | 2014-02-20 22:28:03 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-09-11 14:25:02 +0200 |
commit | d9526499d6ab53b7d13d1434f748f6f2161c2e0a (patch) | |
tree | 8d2e2db275800821d4bf8873fc16b686bca60b2d /xmlserializer/XmlDocSource.h | |
parent | ffbf43b383bb8693741430b02c24dbc9b127f7f7 (diff) | |
download | external_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/XmlDocSource.h')
-rw-r--r-- | xmlserializer/XmlDocSource.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/xmlserializer/XmlDocSource.h b/xmlserializer/XmlDocSource.h index fd9a693..e7be8f3 100644 --- a/xmlserializer/XmlDocSource.h +++ b/xmlserializer/XmlDocSource.h @@ -60,16 +60,16 @@ public: * Constructor * * @param[out] pDoc a pointer to the xml document that will be filled by the class - * @param[in] strXmlSchemaFile a string containing the path to the schema file - * @param[in] strRootElementType a string containing the root element type - * @param[in] strRootElementName a string containing the root element name - * @param[in] strNameAttributeName a string containing the name of the root name attribute + * @param[in] strXmlSchemaFile a std::string containing the path to the schema file + * @param[in] strRootElementType a std::string containing the root element type + * @param[in] strRootElementName a std::string containing the root element name + * @param[in] strNameAttributeName a std::string containing the name of the root name attribute */ CXmlDocSource(_xmlDoc* pDoc, - const string& strXmlSchemaFile, - const string& strRootElementType, - const string& strRootElementName, - const string& strNameAttrituteName); + const std::string& strXmlSchemaFile, + const std::string& strRootElementType, + const std::string& strRootElementName, + const std::string& strNameAttrituteName); /** * Constructor @@ -82,10 +82,10 @@ public: * @param[in] bValidateWithSchema a boolean that toggles schema validation */ CXmlDocSource(_xmlDoc* pDoc, - const string& strXmlSchemaFile, - const string& strRootElementType, - const string& strRootElementName, - const string& strNameAttrituteName, + const std::string& strXmlSchemaFile, + const std::string& strRootElementType, + const std::string& strRootElementName, + const std::string& strNameAttrituteName, bool bValidateWithSchema); /** @@ -95,7 +95,7 @@ public: * @param[in] strXmlSchemaFile a string containing the path to the schema file * @param[in] strRootElementType a string containing the root element type */ - CXmlDocSource(_xmlDoc* pDoc, const string& strXmlSchemaFile, const string& strRootElementType, + CXmlDocSource(_xmlDoc* pDoc, const std::string& strXmlSchemaFile, const std::string& strRootElementType, bool bValidateWithSchema); /** @@ -124,17 +124,17 @@ public: * * @return the root element's name */ - string getRootElementName() const; + std::string getRootElementName() const; /** * Getter method. * Method that returns the root element's attribute with name matching strAttributeName. * - * @param[in] strAttributeName is a string used to find the corresponding attribute + * @param[in] strAttributeName is a std::string used to find the corresponding attribute * * @return the value of the root's attribute named as strAttributeName */ - string getRootElementAttributeString(const string& strAttributeName) const; + std::string getRootElementAttributeString(const std::string& strAttributeName) const; /** * Getter method. @@ -195,22 +195,22 @@ private: /** * Schema file */ - string _strXmlSchemaFile; + std::string _strXmlSchemaFile; /** * Element type info */ - string _strRootElementType; + std::string _strRootElementType; /** * Element name info */ - string _strRootElementName; + std::string _strRootElementName; /** * Element name attribute info */ - string _strNameAttrituteName; + std::string _strNameAttrituteName; /** * Boolean that enables the root element name attribute check |