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

Method airSupply

src/model/GeneratorFuelCell.cpp:266–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 }
265
266 GeneratorFuelCellAirSupply GeneratorFuelCell_Impl::airSupply() const {
267 boost::optional<GeneratorFuelCellAirSupply> value = optionalAirSupply();
268 if (!value) {
269 LOG_AND_THROW(" does not have an Air Supply attached.");
270 }
271 return value.get();
272 }
273
274 GeneratorFuelSupply GeneratorFuelCell_Impl::fuelSupply() const {
275 boost::optional<GeneratorFuelSupply> value = optionalFuelSupply();

Callers 3

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64