Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 96952f2f8d1445656ebfddb4d6eb6a0e0d770e94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.eclipse.papyrus.qompass.modellibs.core.xtend

import org.eclipse.uml2.uml.Operation
import static extension org.eclipse.papyrus.qompass.modellibs.core.xtend.CppUtils.*

class SyncCalls {
	def syncCall(Operation operation) '''
		// put pre-interceptors here
		[comment type is a derived property containing the operations return type/]
		«IF operation.type != null»return «ENDIF»rconn->«operation.cppCall»;
		// put post-interceptors here
	'''
}

Back to the top