![]() |
MAK RTIspy API Documentation for HLA 1516
|
A property class. More...
Collaboration diagram for DtProperty:Public Member Functions | |
| DtProperty (QString name, DtPropertyTypeAP type, QVariant value) | |
| DtProperty (const DtProperty &) | |
| Copy Constructor. | |
| DtProperty () | |
| ~DtProperty () | |
| DtProperty & | operator= (const DtProperty &) |
| virtual bool | operator< (const DtProperty &) const |
| DtProperty & | appendChild (const DtProperty &child) |
| void | removeChild (QString name) |
| DtProperty * | findChild (QString name) |
| Find a child by name. | |
| const DtProperty * | findChild (QString name) const |
| const DtPropertyType * | type () const |
| QString | name () const |
| QVariant | value () const |
| int | id () const |
| bool | readOnly () const |
| DtPropertyList * | children () |
| const DtPropertyList * | children () const |
| void | setId (int id) |
| void | setValue (QVariant value) |
| void | setReadOnly (bool readOnly) |
Protected Attributes | |
| QString | myName |
| QVariant | myValue |
| DtPropertyTypeAP | myType |
| int | myId |
| DtPropertyList * | myChildren |
| DtProperty * | myParent |
| bool | myReadOnly |
A property class.
| DtProperty::DtProperty | ( | QString | name, |
| DtPropertyTypeAP | type, | ||
| QVariant | value | ||
| ) |
References setValue().
| DtProperty::DtProperty | ( | const DtProperty & | prop | ) |
Copy Constructor.
| DtProperty::DtProperty | ( | ) |
| DtProperty::~DtProperty | ( | ) |
References myChildren.
| DtProperty & DtProperty::appendChild | ( | const DtProperty & | child | ) |
References myChildren, and name().
Referenced by DtRidWidget::displayAllProperties(), and DtRidWidget::displaySubsetOnly().
| DtPropertyList * DtProperty::children | ( | ) |
References myChildren.
Referenced by DtPropertyListView::addProperty(), and DtPropertyListView::addToProperty().
| const DtPropertyList * DtProperty::children | ( | ) | const |
References myChildren.
| DtProperty * DtProperty::findChild | ( | QString | name | ) |
| const DtProperty * DtProperty::findChild | ( | QString | name | ) | const |
References myChildren, and name().
| int DtProperty::id | ( | ) | const |
References myId.
Referenced by operator=(), and setId().
| QString DtProperty::name | ( | ) | const |
References myName.
Referenced by DtPropertyListView::addProperty(), DtPropertyListView::addToProperty(), appendChild(), findChild(), operator<(), operator=(), and removeChild().
|
virtual |
| DtProperty & DtProperty::operator= | ( | const DtProperty & | original | ) |
References DtPropertyType::clone(), id(), myChildren, myId, myName, myParent, myReadOnly, myType, myValue, name(), type(), and value().
| bool DtProperty::readOnly | ( | ) | const |
References myParent, myReadOnly, and readOnly().
Referenced by readOnly(), setReadOnly(), and DtPropertyEditView::slotClicked().
| void DtProperty::removeChild | ( | QString | name | ) |
References myChildren, and name().
| void DtProperty::setReadOnly | ( | bool | readOnly | ) |
References myReadOnly, and readOnly().
| void DtProperty::setValue | ( | QVariant | value | ) |
References myType, myValue, and value().
Referenced by DtProperty(), DtPropertyListView::setProperty(), and DtPropertyEditView::slotItemEdited().
| const DtPropertyType * DtProperty::type | ( | ) | const |
| QVariant DtProperty::value | ( | ) | const |
|
protected |
Referenced by appendChild(), children(), findChild(), operator=(), removeChild(), and ~DtProperty().
|
protected |
Referenced by id(), operator=(), and setId().
|
protected |
Referenced by name(), operator<(), and operator=().
|
protected |
Referenced by operator=(), and readOnly().
|
protected |
Referenced by operator=(), readOnly(), and setReadOnly().
|
protected |
Referenced by operator=(), setValue(), and type().
|
protected |
Referenced by operator=(), setValue(), and value().