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

Method GetGroupWarningMsgCount

src/SHADERed/Objects/MessageStack.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26 }
27 int MessageStack::GetGroupWarningMsgCount(const std::string& group)
28 {
29 int cnt = 0;
30 for (int i = 0; i < m_msgs.size(); i++)
31 if (m_msgs[i].Group == group && m_msgs[i].MType == ed::MessageStack::Type::Warning)
32 cnt++;
33 return cnt;
34 }
35 int MessageStack::GetErrorAndWarningMsgCount()
36 {
37 int cnt = 0;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected