aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/MappingData.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/MappingData.h')
-rw-r--r--parameter/MappingData.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/parameter/MappingData.h b/parameter/MappingData.h
index 4faffa0..45908b6 100644
--- a/parameter/MappingData.h
+++ b/parameter/MappingData.h
@@ -33,11 +33,9 @@
#include <string>
#include <map>
-using namespace std;
-
class CMappingData : public IXmlSink
{
- typedef map<string, string>::const_iterator KeyToValueMapConstIterator;
+ typedef std::map<std::string, std::string>::const_iterator KeyToValueMapConstIterator;
public:
CMappingData();
@@ -45,17 +43,17 @@ public:
virtual bool fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext);
// Query
- bool getValue(const string& strkey, const string*& pStrValue) const;
+ bool getValue(const std::string& strkey, const std::string*& pStrValue) const;
/**
* Formats the mapping as a list of comma-space separated key:value pairs
*
- * @return the formatted string
+ * @return the formatted std::string
*/
- string asString() const;
+ std::string asString() const;
private:
- bool addValue(const string& strkey, const string& strValue);
+ bool addValue(const std::string& strkey, const std::string& strValue);
- map<string, string> _keyToValueMap;
+ std::map<std::string, std::string> _keyToValueMap;
};