bool isGreater(const EntryKeyField &field) const
virtual double coefficient(const EntryKeyData *, const EntryKeyData *) const =0
Returns the relative position between two data.
double coefficient(const EntryKeyField &field1, const EntryKeyField &field2) const
EntryKeyField & operator=(const EntryKeyField &old)
virtual bool isEqual(const EntryKeyData *) const =0
Checks if two data are equal.
virtual EntryKeyData * copy() const =0
Copies data.
virtual bool isGreater(const EntryKeyData *) const =0
Checks if this data is greater than another data.
const EntryKeyFieldProperty * properties_
Type of the field.
EntryKeyField(EntryKeyData *fieldData, const EntryKeyFieldProperty *type)
virtual bool isSmaller(const EntryKeyData *) const =0
Checks if this data is smaller than another data.
std::string toString() const
bool isEqual(const EntryKeyField &field) const
virtual std::string toString() const =0
Converts the data into a string.
bool isSmaller(const EntryKeyField &field) const