Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » template function in QVT?
template function in QVT? [message #1694278] Mon, 04 May 2015 07:29 Go to next message
Thomas Busch is currently offline Thomas BuschFriend
Messages: 23
Registered: November 2014
Junior Member
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 10:31 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6004
Registered: July 2009
Senior Member
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 07:41 Go to previous message
Thomas Busch is currently offline Thomas BuschFriend
Messages: 23
Registered: November 2014
Junior Member
ok, thank you!
Previous Topic:transformation to adopt on metamodel-change?
Next Topic:library or example for good logging
Goto Forum:
  


Current Time: Sat Aug 18 08:54:32 GMT 2018

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

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

Back to the top