diff options
Diffstat (limited to 'extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/TraceCout.xtend')
-rw-r--r-- | extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/TraceCout.xtend | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/TraceCout.xtend b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/TraceCout.xtend deleted file mode 100644 index 396d9860fb6..00000000000 --- a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/TraceCout.xtend +++ /dev/null @@ -1,18 +0,0 @@ -package org.eclipse.papyrus.qompass.modellibs.tracing.acceleo - -import org.eclipse.uml2.uml.Operation -import static extension org.eclipse.papyrus.qompass.modellibs.core.xtend.CppUtils.* -import org.eclipse.papyrus.qompass.designer.core.extensions.IXtend - -class TraceCout implements IXtend { - - public def traceOp(Operation operation) ''' - // declare operation & use it directly. Problem: declaration can not be within the scope of an operation - updateTimestamp(); - cout << "enter operation: " << «operation.name» << " at " << timestamp.ticks() << " parameters: " - «FOR parameter : operation.ownedParameters» << "«parameter.name» (of type «parameter.type.name») "«ENDFOR» << endl; - - «IF (operation.type != null)» type.cppType ret = «ENDIF»rconn->«operation.cppCall»; - «IF (operation.type != null)» return ret;«ENDIF» - ''' -}
\ No newline at end of file |