| 739 | } |
| 740 | |
| 741 | std::vector<BillingPeriod> UtilityBill_Impl::billingPeriods() const { |
| 742 | IdfExtensibleGroupVector egs = extensibleGroups(); |
| 743 | std::vector<BillingPeriod> result; |
| 744 | for (const IdfExtensibleGroup& eg : egs) { |
| 745 | result.push_back(eg.cast<BillingPeriod>()); |
| 746 | } |
| 747 | return result; |
| 748 | } |
| 749 | |
| 750 | void UtilityBill_Impl::clearBillingPeriods() { |
| 751 | clearExtensibleGroups(); |