OpenASIP
2.0
|
#include <SelectSet.hh>
Public Member Functions | |
SelectSet (const EntryKeyFieldProperty *type) | |
virtual | ~SelectSet () |
virtual void | quickFilter (const CostDBEntryKey &searchKey, CostDBTypes::EntryTable &components) |
virtual void | filter (const CostDBEntryKey &, CostDBTypes::EntryTable &components) |
Public Member Functions inherited from Matcher | |
Matcher (const EntryKeyFieldProperty *type) | |
virtual | ~Matcher () |
Private Member Functions | |
SelectSet (const SelectSet &) | |
Copying not allowed. More... | |
SelectSet & | operator= (const SelectSet &) |
Assignment not allowed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Matcher | |
const EntryKeyFieldProperty * | fieldType () const |
bool | onlyThisFieldDiffers (const EntryKeyFieldProperty *type, const CostDBEntry &entry1, const CostDBEntry &entry2) const |
Implementation for searching database entries that satisfies selection criteria.
However, equal values are also accepted.
The selection criteria as well as the criteria for not selecting some entry are given as template parameter.
Definition at line 52 of file SelectSet.hh.
SelectSet< select, unSelect >::SelectSet | ( | const EntryKeyFieldProperty * | type | ) |
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Searches for database entries that match the search key.
Implements Matcher.
|
private |
Assignment not allowed.
|
virtual |
Filters out unnecessary entries in linear time.
searchKey | Search key. |
components | Entries from which to find. Updated to contain entries that matched the search request. |
Implements Matcher.