OpenASIP
2.0
|
#include <MatchType.hh>
Public Member Functions | |
MatchType (const EntryKeyFieldProperty *field, CostDBTypes::TypeOfMatch match) | |
virtual | ~MatchType () |
MatchType (const MatchType &old) | |
const EntryKeyFieldProperty * | fieldType () const |
CostDBTypes::TypeOfMatch | matchingType () const |
bool | isEqual (const MatchType &m) const |
Private Member Functions | |
MatchType & | operator= (const MatchType &) |
Assignment not allowed. More... | |
Private Attributes | |
const EntryKeyFieldProperty * | fieldType_ |
Type of field. More... | |
CostDBTypes::TypeOfMatch | matchType_ |
Type of match. More... | |
Represents a type of match for a certain field.
Definition at line 49 of file MatchType.hh.
MatchType::MatchType | ( | const EntryKeyFieldProperty * | field, |
CostDBTypes::TypeOfMatch | match | ||
) |
Constructor.
field | Type of field. |
match | Type of match. |
Definition at line 43 of file MatchType.cc.
|
virtual |
MatchType::MatchType | ( | const MatchType & | old | ) |
const EntryKeyFieldProperty* MatchType::fieldType | ( | ) | const |
Referenced by isEqual().
bool MatchType::isEqual | ( | const MatchType & | m | ) | const |
Compares if two match types are equal.
m | A match type. |
Definition at line 71 of file MatchType.cc.
References fieldType(), and matchingType().
CostDBTypes::TypeOfMatch MatchType::matchingType | ( | ) | const |
Referenced by isEqual().
|
private |
Type of field.
Definition at line 63 of file MatchType.hh.
|
private |
Type of match.
Definition at line 65 of file MatchType.hh.