Changeset View
Changeset View
Standalone View
Standalone View
umbrello/codeimport/import_utils.cpp
Context not available. | |||||
365 | /** | 365 | /** | ||
---|---|---|---|---|---|
366 | * Create hierachical tree of UML objects | 366 | * Create hierachical tree of UML objects | ||
367 | * | 367 | * | ||
368 | * This methods creates the UML object specified by #type and #name including an optional namespace hierachy | 368 | * This method creates the UML object specified by #type and #name including an optional namespace hierarchy | ||
369 | * if included in the #name e.g. NamespaceA::ClassA in C++. | 369 | * if included in the #name e.g. NamespaceA::ClassA in C++. | ||
370 | * | 370 | * | ||
371 | * @param type type of UML object to create | 371 | * @param type type of UML object to create | ||
372 | * @param name name of UML object | 372 | * @param name name of UML object | ||
373 | * @param topLevelParent UML package to add the hierachie of UML objects | 373 | * @param topLevelParent UML package to add the hierarchy of UML objects | ||
374 | * @return pointer to created or found UML object | 374 | * @return pointer to created or found UML object | ||
375 | */ | 375 | */ | ||
376 | UMLObject* createUMLObjectHierachy(UMLObject::ObjectType type, const QString &name, UMLPackage *topLevelParent) | 376 | UMLObject* createUMLObjectHierarchy(UMLObject::ObjectType type, const QString &name, UMLPackage *topLevelParent) | ||
377 | { | 377 | { | ||
378 | UMLPackage *parent = topLevelParent; | 378 | UMLPackage *parent = topLevelParent; | ||
379 | QString objectName; | 379 | QString objectName; | ||
Context not available. |