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

Method ClearGroup

src/SHADERed/Objects/MessageStack.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 m_msgs.push_back({ type, group, message, ln, sh });
18 }
19 void MessageStack::ClearGroup(const std::string& group, int type)
20 {
21 for (int i = 0; i < m_msgs.size(); i++)
22 if (m_msgs[i].Group == group && (type == -1 || m_msgs[i].MType == (ed::MessageStack::Type)type)) {
23 m_msgs.erase(m_msgs.begin() + i);
24 i--;
25 }
26 }
27 int MessageStack::GetGroupWarningMsgCount(const std::string& group)
28 {
29 int cnt = 0;

Callers 7

RecompileMethod · 0.80
RecompileFromSourceMethod · 0.80
m_cacheMethod · 0.80
RegisterPluginMethod · 0.80
UpdateMethod · 0.80
UpdateMethod · 0.80
DeleteItemMethod · 0.80

Calls 3

sizeMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected