| 344 | //----------------------------------------------------------------------------- |
| 345 | |
| 346 | void AssetBase::clearAssetDependencyFields(const char* pFieldName) |
| 347 | { |
| 348 | SimFieldDictionary* fieldDictionary = getFieldDictionary(); |
| 349 | for (SimFieldDictionaryIterator itr(fieldDictionary); *itr; ++itr) |
| 350 | { |
| 351 | SimFieldDictionary::Entry* entry = *itr; |
| 352 | |
| 353 | if (String(entry->slotName).startsWith(pFieldName)) |
| 354 | { |
| 355 | setDataField(entry->slotName, NULL, ""); |
| 356 | } |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | //----------------------------------------------------------------------------- |
| 361 |
no test coverage detected