/////////////////////////////////////////////////////////////////////////// Search for exact 'value' in _entities category.
| 1027 | //////////////////////////////////////////////////////////////////////////////// |
| 1028 | // Search for exact 'value' in _entities category. |
| 1029 | bool CLI2::exactMatch(const std::string& category, const std::string& value) const { |
| 1030 | // Extract a list of entities for category. |
| 1031 | auto c = _entities.equal_range(category); |
| 1032 | for (auto e = c.first; e != c.second; ++e) |
| 1033 | if (value == e->second) return true; |
| 1034 | |
| 1035 | return false; |
| 1036 | } |
| 1037 | |
| 1038 | //////////////////////////////////////////////////////////////////////////////// |
| 1039 | // +tag --> tags _hastag_ tag |
nothing calls this directly
no outgoing calls
no test coverage detected