[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/codeimport

Oliver Kellogg okellogg at users.sourceforge.net
Wed Apr 18 19:09:48 UTC 2007


SVN commit 655560 by okellogg:

insertMethod(): Document ownership of op.

 M  +5 -4      import_utils.h  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codeimport/import_utils.h #655559:655560
@@ -97,10 +97,11 @@
      *
      * @param klass  The classifier into which the operation shall be added.
      * @param op     Reference to pointer to the temporary UMLOperation
-     *               for insertion. If an UMLOperation of same signature
-     *               already exists at the classifier then the incoming
-     *               UMLOperation is deleted and the pointer is set to
-     *               the existing UMLOperation.
+     *               for insertion.  The caller relinquishes ownership of the
+     *               object pointed to.  If an UMLOperation of same signature
+     *               already exists  at the classifier then the incoming
+     *               UMLOperation is deleted and the pointer is set to the
+     *               existing UMLOperation.
      */
     void insertMethod(UMLClassifier *klass, UMLOperation* &op,
                       Uml::Visibility scope, const QString& type,




More information about the umbrello-devel mailing list