| 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; |