| 73 | } |
| 74 | |
| 75 | std::vector<ModelObject> ComponentData_Impl::componentObjects() const { |
| 76 | ModelObjectVector result; |
| 77 | for (unsigned i = 0, n = numComponentObjects(); i < n; ++i) { |
| 78 | result.push_back(getComponentObject(i)); |
| 79 | } |
| 80 | return result; |
| 81 | } |
| 82 | |
| 83 | ModelObject ComponentData_Impl::getComponentObject(unsigned objectIndex) const { |
| 84 | if (objectIndex >= numComponentObjects()) { |