|
umbrello 25.04.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <petalnode.h>
Classes | |
| struct | StringOrNode |
Public Types | |
| enum | NodeType { nt_object , nt_list } |
| typedef QPair< QString, StringOrNode > | NameValue |
| typedef QList< NameValue > | NameValueList |
Public Member Functions | |
| PetalNode (NodeType nt) | |
| virtual | ~PetalNode () |
| NodeType | type () const |
| QStringList | initialArgs () const |
| QString | name () const |
| QString | viewTag () const |
| QString | documentation () const |
| NameValueList | attributes () const |
| void | setInitialArgs (const QStringList &args) |
| void | setAttributes (NameValueList vl) |
| StringOrNode | findAttribute (const QString &name) const |
Private Attributes | |
| NodeType | m_type |
| QStringList | m_initialArgs |
| NameValueList | m_attributes |
Friends | |
| QDebug | operator<< (QDebug out, const PetalNode &p) |
Rose petal node - parse tree for model import
A Rose petal node can be of type: + object - initialArgs() contains the object type name and further initial arguments which depend on the exact object type
| typedef QPair<QString, StringOrNode> PetalNode::NameValue |
| typedef QList<NameValue> PetalNode::NameValueList |
| enum PetalNode::NodeType |
|
explicit |
|
virtual |
| PetalNode::NameValueList PetalNode::attributes | ( | ) | const |
| QString PetalNode::documentation | ( | ) | const |
Return the documentation from a petal node with carriage return handling and removed surrounding quotation marks if present.
| PetalNode::StringOrNode PetalNode::findAttribute | ( | const QString & | name | ) | const |
Find an attribute by name.
| QStringList PetalNode::initialArgs | ( | ) | const |
| QString PetalNode::name | ( | ) | const |
| void PetalNode::setAttributes | ( | PetalNode::NameValueList | vl | ) |
| void PetalNode::setInitialArgs | ( | const QStringList & | args | ) |
| PetalNode::NodeType PetalNode::type | ( | ) | const |
| QString PetalNode::viewTag | ( | ) | const |
|
friend |
|
private |
|
private |
|
private |