OpenASIP 2.2
|
#include <EntryKeyData.hh>
Public Member Functions | |
EntryKeyData () | |
virtual | ~EntryKeyData () |
virtual EntryKeyData * | copy () const =0 |
Copies data. | |
virtual bool | isEqual (const EntryKeyData *) const =0 |
Checks if two data are equal. | |
virtual bool | isGreater (const EntryKeyData *) const =0 |
Checks if this data is greater than another data. | |
virtual bool | isSmaller (const EntryKeyData *) const =0 |
Checks if this data is smaller than another data. | |
virtual double | coefficient (const EntryKeyData *, const EntryKeyData *) const =0 |
Returns the relative position between two data. | |
virtual std::string | toString () const =0 |
Converts the data into a string. | |
Private Member Functions | |
EntryKeyData (const EntryKeyData &) | |
Copying not allowed. | |
EntryKeyData & | operator= (const EntryKeyData &) |
Assignment not allowed. | |
Interface for the data of the entry field.
Definition at line 53 of file EntryKeyData.hh.
EntryKeyData::EntryKeyData | ( | ) |
|
virtual |
|
private |
Copying not allowed.
|
pure virtual |
Returns the relative position between two data.
Implemented in EntryKeyDataInt, EntryKeyDataDouble, EntryKeyDataOperationSet, EntryKeyDataBool, and EntryKeyDataFunctionUnit.
Referenced by EntryKeyField::coefficient().
|
pure virtual |
Copies data.
Implemented in EntryKeyDataInt, EntryKeyDataDouble, EntryKeyDataOperationSet, EntryKeyDataBool, and EntryKeyDataFunctionUnit.
Referenced by EntryKeyField::operator=().
|
pure virtual |
Checks if two data are equal.
Implemented in EntryKeyDataInt, EntryKeyDataDouble, EntryKeyDataOperationSet, EntryKeyDataBool, and EntryKeyDataFunctionUnit.
Referenced by EntryKeyField::isEqual().
|
pure virtual |
Checks if this data is greater than another data.
Implemented in EntryKeyDataInt, EntryKeyDataDouble, EntryKeyDataOperationSet, EntryKeyDataBool, and EntryKeyDataFunctionUnit.
Referenced by EntryKeyField::isGreater().
|
pure virtual |
Checks if this data is smaller than another data.
Implemented in EntryKeyDataInt, EntryKeyDataDouble, EntryKeyDataOperationSet, EntryKeyDataBool, and EntryKeyDataFunctionUnit.
Referenced by EntryKeyField::isSmaller().
|
private |
Assignment not allowed.
|
pure virtual |
Converts the data into a string.
Implemented in EntryKeyDataInt, EntryKeyDataDouble, EntryKeyDataOperationSet, EntryKeyDataBool, and EntryKeyDataFunctionUnit.
Referenced by EntryKeyField::toString().