[Mobies-commit] [commit] r4034 - UDM/trunk/include

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Tue Mar 27 16:11:18 CDT 2012


Author: ksmyth
Date: Tue Mar 27 16:11:17 2012
New Revision: 4034

Log:
Add methods to the end, so the vtable is backwards compatible

Modified:
   UDM/trunk/include/UdmBase.h

Modified: UDM/trunk/include/UdmBase.h
==============================================================================
--- UDM/trunk/include/UdmBase.h	Mon Mar 26 13:22:59 2012	(r4033)
+++ UDM/trunk/include/UdmBase.h	Tue Mar 27 16:11:17 2012	(r4034)
@@ -413,12 +413,6 @@
 			const bool real_archetype = true,
 			const bool need_safetype = false) = 0;
 
-		/*
-			If c is a child of this object, then set ret to be the role taken by the child,
-			otherwise set ret to null.
-		 */
-		virtual void getChildRole(ObjectImpl *c, ::Uml::CompositionChildRole &ret) const = 0;
-
 		/* 
 			should be invoked when an object has an archetype
 			returns false if the object is there because one of the parent inherited it
@@ -524,6 +518,13 @@
 		// root folder is added by default, no reverse order suport, delimiter is never added to the front
 		virtual string getPath( const string &strDelimiter = "/", bool bNeedRootFolder = true ) const;
 		virtual string toString() const;
+
+		/*
+			If c is a child of this object, then set ret to be the role taken by the child,
+			otherwise set ret to null.
+		 */
+		virtual void getChildRole(ObjectImpl *c, ::Uml::CompositionChildRole &ret) const = 0;
+
 	};
 
 


More information about the Mobies-commit mailing list