OpenASIP
2.0
|
#include <CostEstimationData.hh>
Public Member Functions | |
CostEstimationData () | |
virtual | ~CostEstimationData () |
void | setName (const std::string &name) |
bool | hasName () const |
std::string | name () const |
void | setValue (const DataObject &value) |
bool | hasValue () const |
DataObject | value () const |
void | setFUReference (RowID fuEntryID) |
bool | hasFUReference () const |
RowID | fuReference () const |
void | setRFReference (RowID rfEntryID) |
bool | hasRFReference () const |
RowID | rfReference () const |
void | setBusReference (RowID busEntryID) |
bool | hasBusReference () const |
RowID | busReference () const |
void | setSocketReference (RowID socketEntryID) |
bool | hasSocketReference () const |
RowID | socketReference () const |
void | setPluginID (RowID pluginID) |
bool | hasPluginID () const |
RowID | pluginID () const |
Private Attributes | |
bool | hasName_ |
Is the data name set? More... | |
std::string | name_ |
Name of the data. More... | |
bool | hasValue_ |
Is the value set? More... | |
DataObject | value_ |
Value data. More... | |
bool | hasFUReference_ |
Is the fu reference set? More... | |
RowID | fuReference_ |
FU reference. More... | |
bool | hasRFReference_ |
Is the RF reference set? More... | |
RowID | rfReference_ |
RF reference. More... | |
bool | hasBusReference_ |
Is the bus reference set? More... | |
RowID | busReference_ |
Bus reference. More... | |
bool | hasSocketReference_ |
Is the socket reference set? More... | |
RowID | socketReference_ |
Socket reference. More... | |
bool | hasPluginID_ |
Is the plugin ID set? More... | |
RowID | pluginID_ |
Plugin ID. More... | |
Class that represents one row in the cost estimation data table.
Definition at line 42 of file CostEstimationData.hh.
CostEstimationData::CostEstimationData | ( | ) |
|
virtual |
RowID CostEstimationData::busReference | ( | ) | const |
Returns the bus entry reference.
Definition at line 133 of file CostEstimationData.cc.
References __func__, busReference_, and hasBusReference_.
Referenced by HDB::HDBManager::addCostEstimationData(), HDBToHtml::costFunctionPluginToHtml(), HDB::HDBManager::createCostEstimatioDataIdsQuery(), HDB::HDBManager::modifyCostEstimationData(), CostFunctionPluginDialog::TransferDataToWindow(), and CostEstimationDataDialog::TransferDataToWindow().
RowID CostEstimationData::fuReference | ( | ) | const |
Returns the FU entry reference.
Definition at line 103 of file CostEstimationData.cc.
References __func__, fuReference_, and hasFUReference_.
Referenced by HDB::HDBManager::addCostEstimationData(), HDBToHtml::costFunctionPluginToHtml(), HDB::HDBManager::createCostEstimatioDataIdsQuery(), HDB::HDBManager::modifyCostEstimationData(), CostFunctionPluginDialog::TransferDataToWindow(), and CostEstimationDataDialog::TransferDataToWindow().
bool CostEstimationData::hasBusReference | ( | ) | const |
bool CostEstimationData::hasFUReference | ( | ) | const |
bool CostEstimationData::hasName | ( | ) | const |
bool CostEstimationData::hasPluginID | ( | ) | const |
bool CostEstimationData::hasRFReference | ( | ) | const |
bool CostEstimationData::hasSocketReference | ( | ) | const |
bool CostEstimationData::hasValue | ( | ) | const |
std::string CostEstimationData::name | ( | ) | const |
Returns name of the cost estimation data value.
Definition at line 58 of file CostEstimationData.cc.
References __func__, hasName_, and name_.
Referenced by HDB::HDBManager::addCostEstimationData(), CostDatabase::buildBuses(), CostDatabase::buildFunctionUnits(), CostDatabase::buildRegisterFiles(), CostDatabase::buildSockets(), HDBToHtml::busEntryToHtml(), HDBToHtml::costFunctionPluginToHtml(), HDB::HDBManager::createCostEstimatioDataIdsQuery(), HDBToHtml::fuEntryToHtml(), HDBToHtml::fuImplToHtml(), HDB::HDBManager::modifyCostEstimationData(), HDBToHtml::rfEntryToHtml(), HDBToHtml::rfImplToHtml(), HDBToHtml::socketEntryToHtml(), CostFunctionPluginDialog::TransferDataToWindow(), and CostEstimationDataDialog::TransferDataToWindow().
RowID CostEstimationData::pluginID | ( | ) | const |
Returns the cost function plugin ID.
Definition at line 88 of file CostEstimationData.cc.
References __func__, hasPluginID_, and pluginID_.
Referenced by HDB::HDBManager::addCostEstimationData(), HDBToHtml::busEntryToHtml(), HDB::HDBManager::createCostEstimatioDataIdsQuery(), HDBToHtml::fuEntryToHtml(), HDBToHtml::fuImplToHtml(), HDB::HDBManager::modifyCostEstimationData(), HDBToHtml::rfEntryToHtml(), HDBToHtml::rfImplToHtml(), and HDBToHtml::socketEntryToHtml().
RowID CostEstimationData::rfReference | ( | ) | const |
Returns the RF entry reference.
Definition at line 118 of file CostEstimationData.cc.
References __func__, hasRFReference_, and rfReference_.
Referenced by HDB::HDBManager::addCostEstimationData(), HDBToHtml::costFunctionPluginToHtml(), HDB::HDBManager::createCostEstimatioDataIdsQuery(), HDB::HDBManager::modifyCostEstimationData(), CostFunctionPluginDialog::TransferDataToWindow(), and CostEstimationDataDialog::TransferDataToWindow().
void CostEstimationData::setBusReference | ( | RowID | busEntryID | ) |
void CostEstimationData::setFUReference | ( | RowID | fuEntryID | ) |
void CostEstimationData::setName | ( | const std::string & | name | ) |
Referenced by HDB::HDBManager::costEstimationData(), and CostEstimationDataDialog::onOK().
void CostEstimationData::setPluginID | ( | RowID | pluginID | ) |
void CostEstimationData::setRFReference | ( | RowID | rfEntryID | ) |
void CostEstimationData::setSocketReference | ( | RowID | socketEntryID | ) |
void CostEstimationData::setValue | ( | const DataObject & | value | ) |
Referenced by HDB::HDBManager::costEstimationData(), and CostEstimationDataDialog::onOK().
RowID CostEstimationData::socketReference | ( | ) | const |
Returns the socket entry reference.
Definition at line 148 of file CostEstimationData.cc.
References __func__, hasSocketReference_, and socketReference_.
Referenced by HDB::HDBManager::addCostEstimationData(), HDBToHtml::costFunctionPluginToHtml(), HDB::HDBManager::createCostEstimatioDataIdsQuery(), HDB::HDBManager::modifyCostEstimationData(), CostFunctionPluginDialog::TransferDataToWindow(), and CostEstimationDataDialog::TransferDataToWindow().
DataObject CostEstimationData::value | ( | ) | const |
Returns value of the cost estimation data.
Definition at line 73 of file CostEstimationData.cc.
References __func__, hasValue_, and value_.
Referenced by HDB::HDBManager::addCostEstimationData(), CostDatabase::buildBuses(), CostDatabase::buildFunctionUnits(), CostDatabase::buildRegisterFiles(), CostDatabase::buildSockets(), HDBToHtml::busEntryToHtml(), HDBToHtml::costFunctionPluginToHtml(), HDBToHtml::fuEntryToHtml(), HDBToHtml::fuImplToHtml(), HDB::HDBManager::modifyCostEstimationData(), HDBToHtml::rfEntryToHtml(), HDBToHtml::rfImplToHtml(), HDBToHtml::socketEntryToHtml(), CostFunctionPluginDialog::TransferDataToWindow(), and CostEstimationDataDialog::TransferDataToWindow().
|
private |
|
private |
|
private |
Is the bus reference set?
Definition at line 97 of file CostEstimationData.hh.
Referenced by busReference().
|
private |
Is the fu reference set?
Definition at line 87 of file CostEstimationData.hh.
Referenced by fuReference().
|
private |
|
private |
Is the plugin ID set?
Definition at line 107 of file CostEstimationData.hh.
Referenced by pluginID().
|
private |
Is the RF reference set?
Definition at line 92 of file CostEstimationData.hh.
Referenced by rfReference().
|
private |
Is the socket reference set?
Definition at line 102 of file CostEstimationData.hh.
Referenced by socketReference().
|
private |
|
private |
|
private |
|
private |
|
private |
Socket reference.
Definition at line 104 of file CostEstimationData.hh.
Referenced by socketReference().
|
private |