Home
last modified time | relevance | path

Searched refs:uiItemType (Results 1 – 2 of 2) sorted by relevance

/external/parameter-framework/parameter/
DMappingContext.cpp77 bool CMappingContext::setItem(uint32_t uiItemType, const string* pStrKey, const string* pStrItem) in setItem() argument
88 if (_pstItemArray[uiItemType].bSet) { in setItem()
95 _pstItemArray[uiItemType].strKey = pStrKey; in setItem()
98 _pstItemArray[uiItemType].strItem = pStrItem; in setItem()
101 _pstItemArray[uiItemType].bSet = true; in setItem()
106 const string& CMappingContext::getItem(uint32_t uiItemType) const in getItem()
108 return *_pstItemArray[uiItemType].strItem; in getItem()
111 uint32_t CMappingContext::getItemAsInteger(uint32_t uiItemType) const in getItemAsInteger()
113 if (!_pstItemArray[uiItemType].strItem) { in getItemAsInteger()
118 return strtoul(_pstItemArray[uiItemType].strItem->c_str(), NULL, 0); in getItemAsInteger()
[all …]
DMappingContext.h65 bool setItem(uint32_t uiItemType, const std::string* pStrKey, const std::string* pStrItem);
66 const std::string& getItem(uint32_t uiItemType) const;
67 uint32_t getItemAsInteger(uint32_t uiItemType) const;
76 bool iSet(uint32_t uiItemType) const;