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

Method errors

src/energyplus/ForwardTranslator.cpp:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 std::vector<LogMessage> ForwardTranslator::errors() const {
144 std::vector<LogMessage> allMessages = m_logSink.logMessages();
145 std::vector<LogMessage> result;
146 std::copy_if(allMessages.cbegin(), allMessages.cend(), std::back_inserter(result),
147 [](const auto& logMessage) { return logMessage.logLevel() > Warn; });
148 return result;
149 }
150
151 void ForwardTranslator::setKeepRunControlSpecialDays(bool keepRunControlSpecialDays) {
152 m_forwardTranslatorOptions.setKeepRunControlSpecialDays(keepRunControlSpecialDays);

Callers 15

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

Calls 4

cbeginMethod · 0.80
cendMethod · 0.80
logMessagesMethod · 0.45
logLevelMethod · 0.45

Tested by 15

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