Home
last modified time | relevance | path

Searched refs:strAttributeName (Results 1 – 4 of 4) sorted by relevance

/external/parameter-framework/xmlserializer/
DXmlElement.cpp80 bool CXmlElement::hasAttribute(const string& strAttributeName) const in hasAttribute()
82 return xmlHasProp(_pXmlElement, (const xmlChar*)strAttributeName.c_str()) != NULL; in hasAttribute()
85 string CXmlElement::getAttributeString(const string &strAttributeName) const in getAttributeString()
87 if (!hasAttribute(strAttributeName)) { in getAttributeString()
91 …xmlChar* pucXmlValue = xmlGetProp((xmlNode*)_pXmlElement, (const xmlChar*)strAttributeName.c_str()… in getAttributeString()
103 bool CXmlElement::getAttributeBoolean(const string& strAttributeName, const string& strTrueValue) c… in getAttributeBoolean() argument
105 return getAttributeString(strAttributeName) == strTrueValue; in getAttributeBoolean()
108 bool CXmlElement::getAttributeBoolean(const string& strAttributeName) const in getAttributeBoolean()
110 string strAttributeValue(getAttributeString(strAttributeName)); in getAttributeBoolean()
115 uint32_t CXmlElement::getAttributeInteger(const string &strAttributeName) const in getAttributeInteger()
[all …]
DXmlElement.h52 bool hasAttribute(const std::string& strAttributeName) const;
53 …bool getAttributeBoolean(const std::string& strAttributeName, const std::string& strTrueValue) con…
54 bool getAttributeBoolean(const std::string& strAttributeName) const;
55 std::string getAttributeString(const std::string& strAttributeName) const;
56 uint32_t getAttributeInteger(const std::string& strAttributeName) const;
57 int32_t getAttributeSignedInteger(const std::string& strAttributeName) const;
58 double getAttributeDouble(const std::string& strAttributeName) const;
68 void setAttributeBoolean(const std::string& strAttributeName, bool bValue);
69 void setAttributeString(const std::string& strAttributeName, const std::string& strValue);
72 void setAttributeInteger(const std::string& strAttributeName, uint32_t uiValue);
[all …]
DXmlDocSource.cpp92 string CXmlDocSource::getRootElementAttributeString(const string& strAttributeName) const in getRootElementAttributeString()
96 return topMostElement.getAttributeString(strAttributeName); in getRootElementAttributeString()
DXmlDocSource.h111 std::string getRootElementAttributeString(const std::string& strAttributeName) const;