| 348 | } |
| 349 | |
| 350 | CMAObject *QListDB::pathToObjectInternal(const root_list &list, const char *path) |
| 351 | { |
| 352 | // skip the first element since is the root element |
| 353 | root_list::const_iterator skipped_first = ++list.begin(); |
| 354 | |
| 355 | for(root_list::const_iterator obj = skipped_first; obj != list.end(); ++obj) { |
| 356 | if(strcasecmp(path, (*obj)->metadata.path) == 0) { |
| 357 | return (*obj); |
| 358 | } |
| 359 | } |
| 360 | return NULL; |
| 361 | } |
| 362 | |
| 363 | int QListDB::acceptFilteredObject(const CMAObject *obj_parent, const CMAObject *current, int type) |
| 364 | { |
nothing calls this directly
no outgoing calls
no test coverage detected