mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
* find_i function for case insensitive searching
* card::contains uses case insensitive find * Added card::contains_words for quick search, which searches for each word separately git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1484 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -63,6 +63,8 @@ class Card : public IntrusivePtrVirtualBase {
|
||||
String identification() const;
|
||||
/// Does any field contains the given query string?
|
||||
bool contains(String const& query) const;
|
||||
/// Does this card contain each of the words in the query string?
|
||||
bool contains_words(String const& query) const;
|
||||
|
||||
/// Find a value in the data by name and type
|
||||
template <typename T> T& value(const String& name) {
|
||||
|
||||
Reference in New Issue
Block a user