| 299 | //----------------------------------------------------------------------------- |
| 300 | |
| 301 | S32 AssetBase::getAssetDependencyFieldCount(const char* pFieldName) |
| 302 | { |
| 303 | S32 matchedFieldCount = 0; |
| 304 | SimFieldDictionary* fieldDictionary = getFieldDictionary(); |
| 305 | for (SimFieldDictionaryIterator itr(fieldDictionary); *itr; ++itr) |
| 306 | { |
| 307 | SimFieldDictionary::Entry* entry = *itr; |
| 308 | |
| 309 | if (String(entry->slotName).startsWith(pFieldName)) |
| 310 | { |
| 311 | matchedFieldCount++; |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | return matchedFieldCount; |
| 316 | } |
| 317 | |
| 318 | //----------------------------------------------------------------------------- |
| 319 |
no test coverage detected