OpenASIP
2.0
|
#include <EntryKeyData.hh>
Public Member Functions | |
EntryKeyDataFunctionUnit () | |
EntryKeyDataFunctionUnit (const TTAMachine::FunctionUnit *fieldData) | |
virtual | ~EntryKeyDataFunctionUnit () |
EntryKeyData * | copy () const |
bool | isEqual (const EntryKeyData *fieldData) const |
bool | isGreater (const EntryKeyData *fieldData) const |
bool | isSmaller (const EntryKeyData *fieldData) const |
double | coefficient (const EntryKeyData *data1, const EntryKeyData *data2) const |
std::string | toString () const |
Public Member Functions inherited from EntryKeyData | |
EntryKeyData () | |
virtual | ~EntryKeyData () |
Private Member Functions | |
EntryKeyDataFunctionUnit (const EntryKeyDataFunctionUnit &) | |
Copying not allowed. More... | |
EntryKeyDataFunctionUnit & | operator= (const EntryKeyDataFunctionUnit &) |
Assignment not allowed. More... | |
Private Attributes | |
const TTAMachine::FunctionUnit * | data_ |
FunctionUnit* data. More... | |
Implementation for FunctionUnit type of data.
Definition at line 193 of file EntryKeyData.hh.
EntryKeyDataFunctionUnit::EntryKeyDataFunctionUnit | ( | ) |
EntryKeyDataFunctionUnit::EntryKeyDataFunctionUnit | ( | const TTAMachine::FunctionUnit * | fieldData | ) |
Constructor.
fieldData | A set of parameters. |
Definition at line 610 of file EntryKeyData.cc.
|
virtual |
|
private |
Copying not allowed.
|
virtual |
Cannot be called for EntryKeyDataFunctionUnit.
FunctionUnits cannot be compared with greater of smaller and no coefficient can be counted.
data1 | Nothing. |
data2 | Nothing. |
WrongSubclass | Given data type was illegal. |
Implements EntryKeyData.
Definition at line 696 of file EntryKeyData.cc.
|
virtual |
Copies the set of parameters.
Client is responsible of deallocating the memory reserved for the returned object.
Implements EntryKeyData.
Definition at line 629 of file EntryKeyData.cc.
References data_, and EntryKeyDataFunctionUnit().
|
virtual |
Checks if two FunctionUnits are equal
Cannot compare to other data types.
fieldData | FunctionUnit pointer. |
WrongSubclass | Given data type was illegal. |
Implements EntryKeyData.
Definition at line 643 of file EntryKeyData.cc.
References data_, and TTAMachine::FunctionUnit::isArchitectureEqual().
|
virtual |
Checks if another EntryKeyDataFunctionUnit is greater.
Cannot compare to other data types. Cannot say which is greater in case of FunctionUnits and false is returned always.
fieldData | FunctionUnit*. |
WrongSubclass | Given data type was illegal. |
Implements EntryKeyData.
Definition at line 665 of file EntryKeyData.cc.
|
virtual |
Checks if another EntryKeyDataFunctionUnit is smaller.
Cannot compare to other data types. Cannot say which is smaller in case of FunctionUnits and true is returned always.
fieldData | FunctionUnit*. |
WrongSubclass | Given data type was illegal. |
Implements EntryKeyData.
Definition at line 680 of file EntryKeyData.cc.
|
private |
Assignment not allowed.
|
virtual |
Converts the FunctionUnit name and operations into a string.
Implements EntryKeyData.
Definition at line 709 of file EntryKeyData.cc.
References data_, TTAMachine::HWOperation::name(), TTAMachine::Component::name(), TTAMachine::FunctionUnit::operation(), and TTAMachine::FunctionUnit::operationCount().
|
private |
FunctionUnit* data.
Definition at line 209 of file EntryKeyData.hh.
Referenced by copy(), isEqual(), and toString().