diff options
author | Ansgar Radermacher | 2015-06-09 08:26:19 +0000 |
---|---|---|
committer | Ansgar Radermacher | 2015-06-09 08:29:04 +0000 |
commit | 7e138d091f8c26cd16668618a4555b0ff4fd8058 (patch) | |
tree | 863b4254bf2c0baff7afb2e3821824169228a50a /extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl | |
parent | 57717e9e3c920df737d09ac04e30eb241142b5c6 (diff) | |
download | org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.tar.gz org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.tar.xz org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.zip |
469617 - [QDesigner] code generation for tracing is broken (since relying on Acceleo templates)
Diffstat (limited to 'extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl')
-rw-r--r-- | extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl deleted file mode 100644 index fbbdcf1012e..00000000000 --- a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl +++ /dev/null @@ -1,14 +0,0 @@ -[module traceCout('http://www.eclipse.org/uml2/5.0.0/UML')] - -[import org::eclipse::papyrus::qompass::designer::core::acceleo::UMLTool/] -[import org::eclipse::papyrus::qompass::designer::core::acceleo::utils_cpp/] - -[template public traceOp(operation: Operation)] -// declare operation & use directly. Problem: declaration can not be within the scope of an operation -updateTimestamp (); -cout "enter operation: " << [operation.name/] << " at " << timestamp.ticks() << " parameters: " << - [for (parameter : Parameter | operation.ownedParameter)] "[parameter.name/] (of type [parameter.type.name/]): " << [parameter.name/] [/for] << endl; -) -[if not (type = null)] [type.cppType()/] ret = [/if]rconn->[operation.cppCall()/]; -[if not (type = null)] return ret; [/if] -[/template] |