| 124 | } |
| 125 | |
| 126 | boost::optional<openstudio::path> WeatherFile_Impl::path() const { |
| 127 | boost::optional<openstudio::path> result; |
| 128 | OptionalString oUrlStr = this->url(); |
| 129 | if (oUrlStr) { |
| 130 | result = toPath(*oUrlStr); |
| 131 | } |
| 132 | return result; |
| 133 | } |
| 134 | |
| 135 | boost::optional<std::string> WeatherFile_Impl::checksum() const { |
| 136 | return getString(OS_WeatherFileFields::Checksum, true); |