MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / children

Method children

src/model/AirLoopHVACUnitarySystem.cpp:137–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 5

supplyFanMethod · 0.95
coolingCoilMethod · 0.95
heatingCoilMethod · 0.95
push_backMethod · 0.45

Tested by

no test coverage detected