|
HAL
v4.5.0-232-g8053ac4b3
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
|
#include </home/runner/work/hal/hal/plugins/gui/include/gui/selection_details_widget/data_table_entry.h>

Public Types | |
| enum | PropertyType { CategoryProperty , KeyProperty , TypeProperty , ValueProperty } |
Public Member Functions | |
| DataTableEntry (const QString &c=QString(), const QString &k=QString(), const QString t=QString(), const QString v=QString()) | |
| QString | getPropertyValueByPropType (PropertyType ptype) const |
| bool | isNull () const |
| void | toContainer (DataContainer *container) const |
Static Public Member Functions | |
| static DataTableEntry | fromContainer (DataContainer *container, std::string category, std::string key) |
Public Attributes | |
| QString | category |
| QString | key |
| The data's category. More... | |
| QString | dataType |
| The data's key. More... | |
| QString | value |
Definition at line 34 of file data_table_entry.h.
| Enumerator | |
|---|---|
| CategoryProperty | |
| KeyProperty | |
| TypeProperty | |
| ValueProperty | |
Definition at line 37 of file data_table_entry.h.
| hal::DataTableEntry::DataTableEntry | ( | const QString & | c = QString(), |
| const QString & | k = QString(), |
||
| const QString | t = QString(), |
||
| const QString | v = QString() |
||
| ) |
Definition at line 5 of file data_table_entry.cpp.
Referenced by fromContainer().
|
static |
Definition at line 26 of file data_table_entry.cpp.
References category, DataTableEntry(), QString::fromStdString(), hal::DataContainer::get_data(), hal::DataContainer::has_data(), and key.
Referenced by hal::ActionSetObjectData::exec().
| QString hal::DataTableEntry::getPropertyValueByPropType | ( | PropertyType | ptype | ) | const |
Definition at line 9 of file data_table_entry.cpp.
References category, CategoryProperty, dataType, key, KeyProperty, TypeProperty, value, and ValueProperty.
Referenced by hal::DataEntryDialog::DataEntryDialog().
| bool hal::DataTableEntry::isNull | ( | ) | const |
Definition at line 21 of file data_table_entry.cpp.
References category, QString::isEmpty(), and key.
Referenced by hal::ActionSetObjectData::exec().
| void hal::DataTableEntry::toContainer | ( | DataContainer * | container | ) | const |
Definition at line 36 of file data_table_entry.cpp.
References category, dataType, key, hal::DataContainer::set_data(), QString::toStdString(), and value.
Referenced by hal::ActionSetObjectData::exec().
| QString hal::DataTableEntry::category |
Definition at line 38 of file data_table_entry.h.
Referenced by hal::ActionSetObjectData::addToHash(), hal::DataTableModel::data(), hal::ActionSetObjectData::exec(), fromContainer(), getPropertyValueByPropType(), isNull(), hal::ActionSetObjectData::readFromXml(), toContainer(), and hal::ActionSetObjectData::writeToXml().
| QString hal::DataTableEntry::dataType |
The data's key.
Definition at line 40 of file data_table_entry.h.
Referenced by hal::ActionSetObjectData::addToHash(), hal::DataTableModel::data(), getPropertyValueByPropType(), hal::ActionSetObjectData::readFromXml(), toContainer(), and hal::ActionSetObjectData::writeToXml().
| QString hal::DataTableEntry::key |
The data's category.
Definition at line 39 of file data_table_entry.h.
Referenced by hal::ActionSetObjectData::addToHash(), hal::DataTableModel::data(), hal::ActionSetObjectData::exec(), fromContainer(), getPropertyValueByPropType(), isNull(), hal::ActionSetObjectData::readFromXml(), toContainer(), and hal::ActionSetObjectData::writeToXml().
| QString hal::DataTableEntry::value |
Definition at line 41 of file data_table_entry.h.
Referenced by hal::ActionSetObjectData::addToHash(), getPropertyValueByPropType(), hal::ActionSetObjectData::readFromXml(), toContainer(), and hal::ActionSetObjectData::writeToXml().