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

Method errors

src/utilities/xml/XMLValidator.cpp:216–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216std::vector<LogMessage> XMLValidator::errors() const {
217
218 std::vector<LogMessage> result;
219 std::copy_if(m_logMessages.cbegin(), m_logMessages.cend(), std::back_inserter(result),
220 [](const auto& logMessage) { return logMessage.logLevel() > LogLevel::Warn; });
221
222 return result;
223}
224
225std::vector<LogMessage> XMLValidator::warnings() const {
226

Callers 3

TEST_FFunction · 0.45
TEST_PFunction · 0.45
TEST_FFunction · 0.45

Calls 3

cbeginMethod · 0.80
cendMethod · 0.80
logLevelMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
TEST_PFunction · 0.36
TEST_FFunction · 0.36