diff options
Diffstat (limited to 'parameter/Element.cpp')
-rwxr-xr-x | parameter/Element.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/parameter/Element.cpp b/parameter/Element.cpp index 6d1d418..2c8393d 100755 --- a/parameter/Element.cpp +++ b/parameter/Element.cpp @@ -37,6 +37,8 @@ #include <stdlib.h> #include <sstream> +using std::string; + CElement::CElement(const string& strName) : _strName(strName), _pParent(NULL) { } @@ -84,10 +86,10 @@ void CElement::log_warning(const string& strMessage, ...) const } // Log each element of the string list -void CElement::log_table(bool bIsWarning, const list<string> lstrMessage) const +void CElement::log_table(bool bIsWarning, const std::list<string> lstrMessage) const { - list<string>::const_iterator iterator(lstrMessage.begin()); - list<string>::const_iterator end(lstrMessage.end()); + std::list<string>::const_iterator iterator(lstrMessage.begin()); + std::list<string>::const_iterator end(lstrMessage.end()); while (iterator != end) { // Log current list element @@ -203,7 +205,7 @@ void CElement::showProperties(string& strResult) const // Conversion utilities string CElement::toString(uint32_t uiValue) { - ostringstream ostr; + std::ostringstream ostr; ostr << uiValue; @@ -212,7 +214,7 @@ string CElement::toString(uint32_t uiValue) string CElement::toString(uint64_t uiValue) { - ostringstream ostr; + std::ostringstream ostr; ostr << uiValue; @@ -221,7 +223,7 @@ string CElement::toString(uint64_t uiValue) string CElement::toString(int32_t iValue) { - ostringstream ostr; + std::ostringstream ostr; ostr << iValue; @@ -230,7 +232,7 @@ string CElement::toString(int32_t iValue) string CElement::toString(double dValue) { - ostringstream ostr; + std::ostringstream ostr; ostr << dValue; |