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

Function execAndReturnVectorOfString

src/utilities/sql/SqlFile.hpp:1311–1317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1309 // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string
1310 template <typename... Args>
1311 boost::optional<std::vector<std::string>> execAndReturnVectorOfString(const std::string& statement, Args&&... args) const {
1312 boost::optional<std::vector<std::string>> result;
1313 if (m_impl) {
1314 result = m_impl->execAndReturnVectorOfString(statement, std::forward<Args>(args)...);
1315 }
1316 return result;
1317 }
1318
1319 boost::optional<std::vector<std::string>> execAndReturnVectorOfString(const std::string& statement) const {
1320 // Forward to the variadic one. This one is for the ruby bindings

Callers 3

getElecOrGasUseMethod · 0.70
illuminanceMapNamesMethod · 0.70

Calls 1

Tested by

no test coverage detected