| 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 |