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

Method errors

src/model/ModelMerger.cpp:173–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 }
172
173 std::vector<LogMessage> ModelMerger::errors() const {
174 std::vector<LogMessage> result = m_logSink.logMessages();
175 result.erase(std::remove_if(result.begin(), result.end(), [](const auto& logMessage) { return logMessage.logLevel() <= Warn; }), result.end());
176 return result;
177 }
178
179 boost::optional<UUID> ModelMerger::getNewModelHandle(const UUID& currentHandle) {
180 auto it = m_currentToNewHandleMapping.find(currentHandle);

Callers 6

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 5

beginMethod · 0.80
logMessagesMethod · 0.45
eraseMethod · 0.45
endMethod · 0.45
logLevelMethod · 0.45

Tested by 5

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36