umbrello/umbrello
component.cpp
Go to the documentation of this file.
virtual void copyInto(UMLObject *lhs) const
Copy the internal presentation of this object into the new object.
Definition: umlobject.cpp:288
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
Definition: umlobject.h:63
virtual bool loadFromXMI(QDomElement &element)
This method loads the generic parts of the XMI common to most model classes.
Definition: umlobject.cpp:912
QDomNode appendChild(const QDomNode &newChild)
QString attribute(const QString &name, const QString &defValue) const
static bool tagEq(const QString &tag, const QString &pattern)
Function for comparing tags in XMI files.
Definition: umldoc.cpp:3081
This class contains the non-graphical information required for a UML Component.
Definition: component.h:27
void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)
Creates the UML:Component element including its operations, attributes and templates.
Definition: component.cpp:56
UMLComponent(const QString &name=QString(), Uml::ID::Type id=Uml::ID::None)
Sets up a Component.
Definition: component.cpp:28
QDomElement toElement() const
int count(const T &value) const
bool setUMLPackage(UMLPackage *pPkg)
Sets the UMLPackage in which this class is located.
Definition: umlobject.cpp:543
void setAttribute(const QString &name, const QString &value)
int toInt(bool *ok, int base) const
bool isCommonXMIAttribute(const QString &tag)
Return true if the given tag is one of the common XMI attributes, such as: "name" | "visibility" | "i...
Definition: model_utils.cpp:525
bool isNull() const
QDomElement save(const QString &tag, QDomDocument &qDoc)
Auxiliary to saveToXMI.
Definition: umlobject.cpp:806
QDomNode firstChild() const
virtual void saveToXMI(QDomDocument &qDoc, QDomElement &qElement)=0
UMLObject * makeObjectFromXMI(const QString &xmiTag, const QString &stereoID)
Make a new UMLObject according to the given XMI tag.
Definition: object_factory.cpp:355
UMLObjectList m_objects
References to the objects contained in this package.
Definition: package.h:75
QString tagName() const
QDomElement createElement(const QString &tagName)
bool load(QDomElement &element)
Loads the UML:Component element including its ports et al.
Definition: component.cpp:75
bool hasNext() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.