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

Method meters

src/model/Building.cpp:574–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572 }
573
574 OutputMeterVector Building_Impl::meters() const {
575 auto filterOutMeter = [](const auto& meter) {
576 auto instalLocType_ = meter.installLocationType();
577 return instalLocType_ && (InstallLocationType::Building != instalLocType_.get().value());
578 };
579
580 OutputMeterVector result = this->model().getConcreteModelObjects<OutputMeter>();
581 result.erase(std::remove_if(result.begin(), result.end(), filterOutMeter), result.end());
582 return result;
583 }
584
585 BuildingStoryVector Building_Impl::buildingStories() const {
586 // all Building Stories in workspace implicitly belong to building

Callers 2

childrenMethod · 0.95
removeMethod · 0.95

Calls 7

installLocationTypeMethod · 0.80
beginMethod · 0.80
valueMethod · 0.45
getMethod · 0.45
modelMethod · 0.45
eraseMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected