| 80 | } |
| 81 | |
| 82 | boost::optional<EndUseCategoryType> UtilityBill_Impl::meterEndUseCategory() const { |
| 83 | boost::optional<EndUseCategoryType> result; |
| 84 | boost::optional<std::string> tmp = getString(OS_UtilityBillFields::MeterEndUseCategory, true, true); |
| 85 | if (tmp) { |
| 86 | result = EndUseCategoryType(tmp.get()); |
| 87 | } |
| 88 | return result; |
| 89 | } |
| 90 | |
| 91 | boost::optional<std::string> UtilityBill_Impl::meterSpecificEndUse() const { |
| 92 | return getString(OS_UtilityBillFields::MeterSpecificEndUse, true, true); |