| 31 | |
| 32 | template <typename TAdaptedString> |
| 33 | inline ObjectData::iterator ObjectData::findKey( |
| 34 | TAdaptedString key, const ResourceManager* resources) const { |
| 35 | if (key.isNull()) |
| 36 | return iterator(); |
| 37 | bool isKey = true; |
| 38 | for (auto it = createIterator(resources); !it.done(); it.next(resources)) { |
| 39 | if (isKey && stringEquals(key, adaptString(it->asString()))) |
| 40 | return it; |
| 41 | isKey = !isKey; |
| 42 | } |
| 43 | return iterator(); |
| 44 | } |
| 45 | |
| 46 | template <typename TAdaptedString> |
| 47 | inline void ObjectData::removeMember(TAdaptedString key, |
nothing calls this directly
no test coverage detected