MCPcopy Create free account
hub / github.com/dfranx/SHADERed / GetErrorAndWarningMsgCount

Method GetErrorAndWarningMsgCount

src/SHADERed/Objects/MessageStack.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 return cnt;
34 }
35 int MessageStack::GetErrorAndWarningMsgCount()
36 {
37 int cnt = 0;
38 for (int i = 0; i < m_msgs.size(); i++)
39 if (m_msgs[i].MType == ed::MessageStack::Type::Warning || m_msgs[i].MType == ed::MessageStack::Type::Error)
40 cnt++;
41 return cnt;
42 }
43 int MessageStack::GetGroupErrorAndWarningMsgCount(const std::string& group)
44 {
45 int cnt = 0;

Callers 1

UpdateMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected