| 2622 | } |
| 2623 | |
| 2624 | bool BfSystem::ContainsNamespace(const BfAtomComposite& namespaceStr, BfProject* bfProject) |
| 2625 | { |
| 2626 | if (bfProject == NULL) |
| 2627 | { |
| 2628 | for (auto checkProject : mProjects) |
| 2629 | { |
| 2630 | if (checkProject->mNamespaces.ContainsKey(namespaceStr)) |
| 2631 | return true; |
| 2632 | } |
| 2633 | return false; |
| 2634 | } |
| 2635 | |
| 2636 | if (bfProject->mNamespaces.ContainsKey(namespaceStr)) |
| 2637 | return true; |
| 2638 | for (auto depProject : bfProject->mDependencies) |
| 2639 | if (depProject->mNamespaces.ContainsKey(namespaceStr)) |
| 2640 | return true; |
| 2641 | return false; |
| 2642 | } |
| 2643 | |
| 2644 | BfTypeDef* BfSystem::FilterDeletedTypeDef(BfTypeDef* typeDef) |
| 2645 | { |
no test coverage detected