| 135 | } |
| 136 | |
| 137 | std::vector<ModelObject> AirLoopHVACUnitarySystem_Impl::children() const { |
| 138 | std::vector<ModelObject> result; |
| 139 | |
| 140 | if (boost::optional<HVACComponent> supplyFan = this->supplyFan()) { |
| 141 | result.push_back(*supplyFan); |
| 142 | } |
| 143 | if (boost::optional<HVACComponent> coolingCoil = this->coolingCoil()) { |
| 144 | result.push_back(*coolingCoil); |
| 145 | } |
| 146 | if (boost::optional<HVACComponent> heatingCoil = this->heatingCoil()) { |
| 147 | result.push_back(*heatingCoil); |
| 148 | } |
| 149 | if (boost::optional<HVACComponent> supplementalHeatingCoil = this->supplementalHeatingCoil()) { |
| 150 | result.push_back(*supplementalHeatingCoil); |
| 151 | } |
| 152 | if (auto designSpec = designSpecificationMultispeedObject()) { |
| 153 | result.push_back(*designSpec); |
| 154 | } |
| 155 | |
| 156 | return result; |
| 157 | } |
| 158 | |
| 159 | std::vector<IdfObject> AirLoopHVACUnitarySystem_Impl::remove() { |
| 160 | std::vector<IdfObject> result; |
nothing calls this directly
no test coverage detected