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

Function execAndReturnFirstString

src/utilities/sql/SqlFile.hpp:1263–1269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1261 // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string
1262 template <typename... Args>
1263 boost::optional<std::string> execAndReturnFirstString(const std::string& statement, Args&&... args) const {
1264 boost::optional<std::string> result;
1265 if (m_impl) {
1266 result = m_impl->execAndReturnFirstString(statement, std::forward<Args>(args)...);
1267 }
1268 return result;
1269 }
1270
1271 boost::optional<std::string> execAndReturnFirstString(const std::string& statement) const {
1272 // Forward to the variadic one. This one is for the ruby bindings

Callers 1

annualTotalCostMethod · 0.70

Calls 1

Tested by

no test coverage detected