COPASI API
4.16.103
|
#include <CQAutolayoutWizard.h>
Public Member Functions | |
CQModelElementTreeWidgetItem (const QStringList &strings, const std::string &key, int type=QTreeWidgetItem::Type) | |
const std::string & | getKey () const |
CCopasiObject * | getObject () const |
Protected Attributes | |
std::string | mKey |
Definition at line 35 of file CQAutolayoutWizard.h.
CQModelElementTreeWidgetItem::CQModelElementTreeWidgetItem | ( | const QStringList & | strings, |
const std::string & | key, | ||
int | type = QTreeWidgetItem::Type |
||
) |
Constructor which in addition to the attributes of the original class also takes a string which is the key of the object that is represented by the item.
Definition at line 37 of file CQAutolayoutWizard.cpp.
const std::string & CQModelElementTreeWidgetItem::getKey | ( | ) | const |
Returns a const reference to the key of the object.
Definition at line 46 of file CQAutolayoutWizard.cpp.
References mKey.
CCopasiObject * CQModelElementTreeWidgetItem::getObject | ( | ) | const |
Returns a pointer to the COPASI object represented by this item.
Definition at line 55 of file CQAutolayoutWizard.cpp.
References CKeyFactory::get(), CCopasiRootContainer::getKeyFactory(), and mKey.
Referenced by CQSelectionWizardPage::fillContainers().
|
protected |
Definition at line 40 of file CQAutolayoutWizard.h.
Referenced by getKey(), and getObject().