Revision 8a16b7a0
Added by david.sorber over 2 years ago
| src/CatalogItem.h | ||
|---|---|---|
|
|
||
|
#include <cstdint>
|
||
|
#include <string>
|
||
|
#include <string_view>
|
||
|
|
||
|
|
||
|
class CatalogItem
|
||
| ... | ... | |
|
* @return
|
||
|
*/
|
||
|
bool match(const std::string& criteria);
|
||
|
|
||
|
bool match(const std::string_view& criteria);
|
||
|
|
||
|
private:
|
||
|
|
||
Tokenize a filter criteria and then search the catalog for feach filter
criteria token.