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