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

Method getFieldByName

src/utilities/filetypes/EpwFile.cpp:1245–1254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1243}
1244
1245boost::optional<double> EpwDataPoint::getFieldByName(const std::string& name) const {
1246 EpwDataField id;
1247 try {
1248 id = EpwDataField(name);
1249 } catch (...) {
1250 // Could do a warning message here
1251 return boost::none;
1252 }
1253 return getField(id);
1254}
1255
1256boost::optional<double> EpwDataPoint::getField(EpwDataField id) const {
1257 boost::optional<int> ivalue;

Callers 2

test_dataMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_dataMethod · 0.64
TESTFunction · 0.64