Skip to main content



      Home
Home » Modeling » QVT-OML » template function in QVT?
template function in QVT? [message #1694278] Mon, 04 May 2015 03:29 Go to next message
Eclipse UserFriend
Hi,

is it possible to create template functions in QVTo?

I have a function which I would like to use for several object-types (as in and output). Not all of them have a common interface, also I dont want to return just that interface and change the objects later back via "oclAsType()".

Thank you in advance!
Thomas
Re: template function in QVT? [message #1694307 is a reply to message #1694278] Mon, 04 May 2015 06:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi

One day.

The current OCL 2.5 activities involving UML alignment imply that OCL
will support UML templates. This in turn means that QVTo will support
UML templates. You'll find a prototype of this in the current
Pivot-based OCL. It is a bit marginal as to whether a prototype
Pivot-based QVTo will be available in Mars+1.

Regards

Ed Willink

On 04/05/2015 08:29, Thomas Busch wrote:
> Hi,
>
> is it possible to create template functions in QVTo?
>
> I have a function which I would like to use for several object-types
> (as in and output). Not all of them have a common interface, also I
> dont want to return just that interface and change the objects later
> back via "oclAsType()".
>
> Thank you in advance!
> Thomas
Re: template function in QVT? [message #1694406 is a reply to message #1694278] Tue, 05 May 2015 03:41 Go to previous message
Eclipse UserFriend
ok, thank you!
Previous Topic:transformation to adopt on metamodel-change?
Next Topic:library or example for good logging
Goto Forum:
  


Current Time: Wed Jul 02 20:33:35 EDT 2025

Powered by FUDForum. Page generated in 0.05561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top