34#ifndef TTA_FILTER_SEARCH_HH
35#define TTA_FILTER_SEARCH_HH
std::vector< MatchType * > MatchTypeTable
Table of types of match.
std::vector< CostDBEntry * > EntryTable
Table of database entries.
CostDBEntryKey * searchKey_
Search key of the query for these results.
CostDBTypes::MatchTypeTable matchType_
Type of match used for these results.
CostDBTypes::EntryTable entries() const
CostDBTypes::EntryTable entries_
Resulting database entries. Not owned by this class.
Cache(const Cache &)
Copying not allowed.
bool isEqual(CostDBTypes::MatchTypeTable matchingType, const CostDBEntryKey *key) const
Cache & operator=(const Cache &)
Assignment not allowed.
friend class FilterSearchTest
MatcherTable matcherStorage_
Storage for all matchers. They cannot be deleted before search strategy itself is deleted....
FilterSearch & operator=(const FilterSearch &)
Assignment not allowed.
FilterSearch(const FilterSearch &)
Copying not allowed.
CacheTable entryCache_
Results of the previous queries.
CostDBTypes::EntryTable findFromCache(const CostDBEntryKey &searchKey, const CostDBTypes::MatchTypeTable &match)
CostDBTypes::EntryTable search(const CostDBEntryKey &searchKey, CostDBTypes::EntryTable components, const CostDBTypes::MatchTypeTable &match)
std::vector< Matcher * > MatcherTable
Table of matcher types.
SearchStrategy * copy() const
std::vector< Cache * > CacheTable
Table of cache entries.
MatcherTable createMatchers(const CostDBTypes::MatchTypeTable &match)