umbrello/umbrello
import_utils.h
Go to the documentation of this file.
This class contains the non-graphical information required for a UML Package.
Definition: package.h:32
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
bool newUMLObjectWasCreated()
Returns whether the last createUMLObject() actually created a new object or just returned an existing...
Definition: import_utils.cpp:112
UMLObject * insertAttribute(UMLClassifier *owner, Uml::Visibility::Enum scope, const QString &name, UMLClassifier *attrType, const QString &comment, bool isStatic)
Create a UMLAttribute and insert it into the document.
Definition: import_utils.cpp:364
void putAtGlobalScope(bool yesno)
Control whether an object which is newly created by createUMLObject() is put at the global scope...
Definition: import_utils.cpp:82
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &inName, UMLPackage *parentPkg, const QString &comment, const QString &stereotype)
Find or create a document object.
Definition: import_utils.cpp:169
void insertMethod(UMLClassifier *klass, UMLOperation *&op, Uml::Visibility::Enum scope, const QString &type, bool isStatic, bool isAbstract, bool isFriend, bool isConstructor, const QString &comment)
Insert the UMLOperation into the given classifier.
Definition: import_utils.cpp:435
UMLAttribute * addMethodParameter(UMLOperation *method, const QString &type, const QString &name)
Add an argument to a UMLOperation.
Definition: import_utils.cpp:507
bool isDatatype(const QString &name, UMLPackage *parentPkg)
Returns true if a type is an actual Datatype.
Definition: import_utils.cpp:596
QString formatComment(const QString &comment)
Strip comment lines of leading whitespace and stars.
Definition: import_utils.cpp:120
void addIncludePath(const QString &path)
Add a path to the include path list.
Definition: import_utils.cpp:587
void setRelatedClassifier(UMLClassifier *c)
Set a related classifier for creation of dependencies on template parameters in createUMLObject().
Definition: import_utils.cpp:91
This class contains the non-graphical information required for a UML Enum.
Definition: enum.h:28
UMLOperation * makeOperation(UMLClassifier *parent, const QString &name)
Create a UMLOperation.
Definition: import_utils.cpp:354
void assignUniqueIdOnCreation(bool yesno)
Control whether the creation methods solicit a new unique ID for the created object.
Definition: import_utils.cpp:103
void addEnumLiteral(UMLEnum *enumType, const QString &literal, const QString &comment)
Add an enum literal to an UMLEnum.
Definition: import_utils.cpp:528
void createGeneralization(UMLClassifier *child, UMLClassifier *parent)
Create a generalization from the given child classifier to the given parent classifier.
Definition: import_utils.cpp:538
QStringList includePathList()
Return the list of paths set by previous calls to addIncludePath() and the environment variable UMBRE...
Definition: import_utils.cpp:574
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.