|
OpenASIP 2.2
|
#include <ExactMatch.hh>


Public Member Functions | |
| ExactMatch (const EntryKeyFieldProperty *type) | |
| virtual | ~ExactMatch () |
| void | quickFilter (const CostDBEntryKey &searchKey, CostDBTypes::EntryTable &components) |
| void | filter (const CostDBEntryKey &, CostDBTypes::EntryTable &) |
Public Member Functions inherited from Matcher | |
| Matcher (const EntryKeyFieldProperty *type) | |
| virtual | ~Matcher () |
Private Member Functions | |
| ExactMatch (const ExactMatch &) | |
| Copying not allowed. | |
| ExactMatch & | operator= (const ExactMatch &) |
| Assignment not allowed. | |
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 are equal to the search key in the requested field.
Definition at line 46 of file ExactMatch.hh.
| ExactMatch::ExactMatch | ( | const EntryKeyFieldProperty * | type | ) |
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Nothing to do since quick filtering already accepted all possible entries.
Implements Matcher.
Definition at line 86 of file ExactMatch.cc.
|
private |
Assignment not allowed.
|
virtual |
filters out values unequal to the search key.
| searchKey | Search key. |
| components | Entries from which to find. Updated to contain entries that matched the search request. |
Implements Matcher.
Definition at line 64 of file ExactMatch.cc.
References Matcher::fieldType(), and CostDBEntryKey::keyFieldOfType().
