| 65 | } |
| 66 | |
| 67 | ModelObject ComponentData_Impl::primaryComponentObject() const { |
| 68 | OptionalModelObject omo = getComponentObject(0); |
| 69 | if (!omo) { |
| 70 | LOG_AND_THROW("ComponentData objects must always be able to return the primary object in the component."); |
| 71 | } |
| 72 | return *omo; |
| 73 | } |
| 74 | |
| 75 | std::vector<ModelObject> ComponentData_Impl::componentObjects() const { |
| 76 | ModelObjectVector result; |
no outgoing calls