| 102 | } |
| 103 | |
| 104 | std::vector<ModelObject> SubSurface_Impl::children() const { |
| 105 | std::vector<ModelObject> result; |
| 106 | boost::optional<DaylightingDeviceShelf> daylightingDeviceShelf = this->daylightingDeviceShelf(); |
| 107 | if (daylightingDeviceShelf) { |
| 108 | result.push_back(*daylightingDeviceShelf); |
| 109 | } |
| 110 | boost::optional<DaylightingDeviceTubular> daylightingDeviceTubular = this->daylightingDeviceTubular(); |
| 111 | if (daylightingDeviceTubular) { |
| 112 | result.push_back(*daylightingDeviceTubular); |
| 113 | } |
| 114 | boost::optional<DaylightingDeviceLightWell> daylightingDeviceLightWell = this->daylightingDeviceLightWell(); |
| 115 | if (daylightingDeviceLightWell) { |
| 116 | result.push_back(*daylightingDeviceLightWell); |
| 117 | } |
| 118 | std::vector<AirflowNetworkSurface> myAFNItems = |
| 119 | getObject<ModelObject>().getModelObjectSources<AirflowNetworkSurface>(AirflowNetworkSurface::iddObjectType()); |
| 120 | result.insert(result.end(), myAFNItems.begin(), myAFNItems.end()); |
| 121 | |
| 122 | return result; |
| 123 | } |
| 124 | |
| 125 | std::vector<IdfObject> SubSurface_Impl::remove() { |
| 126 | boost::optional<SubSurface> adjacentSubSurface = this->adjacentSubSurface(); |
nothing calls this directly
no test coverage detected