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 /parameter/ConfigurableElement.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 'parameter/ConfigurableElement.h')
-rw-r--r-- | parameter/ConfigurableElement.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/parameter/ConfigurableElement.h b/parameter/ConfigurableElement.h index 50ccac2..cce2227 100644 --- a/parameter/ConfigurableElement.h +++ b/parameter/ConfigurableElement.h @@ -45,9 +45,9 @@ class CConfigurableElement : public CElement { friend class CConfigurableDomain; friend class CDomainConfiguration; - typedef list<const CConfigurableDomain*>::const_iterator ConfigurableDomainListConstIterator; + typedef std::list<const CConfigurableDomain*>::const_iterator ConfigurableDomainListConstIterator; public: - CConfigurableElement(const string& strName = ""); + CConfigurableElement(const std::string& strName = ""); virtual ~CConfigurableElement(); // Offset in main blackboard @@ -64,7 +64,7 @@ public: bool belongsTo(const CConfigurableDomain* pConfigurableDomain) const; // Belonging domains - void listBelongingDomains(string& strResult, bool bVertical = true) const; + void listBelongingDomains(std::string& strResult, bool bVertical = true) const; // Matching check for domain association bool hasNoDomainAssociated() const; @@ -73,17 +73,17 @@ public: bool hasNoValidDomainAssociated() const; // Owning domains - void listAssociatedDomains(string& strResult, bool bVertical = true) const; + void listAssociatedDomains(std::string& strResult, bool bVertical = true) const; uint32_t getBelongingDomainCount() const; // Elements with no domains - void listRogueElements(string& strResult) const; + void listRogueElements(std::string& strResult) const; // Belonging to no domains bool isRogue() const; // Footprint as string - string getFootprintAsString() const; + std::string getFootprintAsString() const; // Belonging subsystem virtual const CSubsystem* getBelongingSubsystem() const; @@ -95,12 +95,12 @@ public: virtual CAreaConfiguration* createAreaConfiguration(const CSyncerSet* pSyncerSet) const; // Parameter access - virtual bool accessValue(CPathNavigator& pathNavigator, string& strValue, bool bSet, CParameterAccessContext& parameterAccessContext) const; + virtual bool accessValue(CPathNavigator& pathNavigator, std::string& strValue, bool bSet, CParameterAccessContext& parameterAccessContext) const; /** * Get the list of all the ancestors that have a mapping. * - * The mapping is represented as a string of all the mapping data (key:value) defined in the + * The mapping is represented as a std::string of all the mapping data (key:value) defined in the * context of the element. * In this class, the method is generic and calls its parent getListOfElementsWithMappings(...) * method. @@ -110,14 +110,14 @@ public: * the last one. * */ - virtual void getListOfElementsWithMapping(list<const CConfigurableElement*>& + virtual void getListOfElementsWithMapping(std::list<const CConfigurableElement*>& configurableElementPath) const; // Used for simulation and virtual subsystems virtual void setDefaultValues(CParameterAccessContext& parameterAccessContext) const; // Element properties - virtual void showProperties(string& strResult) const; + virtual void showProperties(std::string& strResult) const; // XML configuration settings parsing virtual bool serializeXmlSettings(CXmlElement& xmlConfigurationSettingsElementContent, CConfigurationAccessContext& configurationAccessContext) const; @@ -138,8 +138,8 @@ private: bool belongsToDomainAscending(const CConfigurableDomain* pConfigurableDomain) const; // Belonging domains - void getBelongingDomains(list<const CConfigurableDomain*>& configurableDomainList) const; - void listDomains(const list<const CConfigurableDomain*>& configurableDomainList, string& strResult, bool bVertical) const; + void getBelongingDomains(std::list<const CConfigurableDomain*>& configurableDomainList) const; + void listDomains(const std::list<const CConfigurableDomain*>& configurableDomainList, std::string& strResult, bool bVertical) const; // Check parent is still of current type (by structure knowledge) bool isOfConfigurableElementType(const CElement* pParent) const; @@ -148,6 +148,6 @@ private: uint32_t _uiOffset; // Associated configurable domains - list<const CConfigurableDomain*> _configurableDomainList; + std::list<const CConfigurableDomain*> _configurableDomainList; }; |