[gme-users] Fwd: RE: [udm-users] BON2 question

Endre Magyari endre at isis.vanderbilt.edu
Mon Jun 7 09:27:29 CDT 2004



------- Forwarded message -------
From: Aditya Agrawal <Aditya at isis.vanderbilt.edu>
To: udm-users <udm-users at list.isis.vanderbilt.edu>
Subject: RE: [udm-users] BON2 question
Date: Sun, 6 Jun 2004 22:34:48 -0500

> Dear Endre,
>
> You might get a quicker response if you post to
> gme-users at list.isis.vanderbilt.edu
>
> :)
> Adi
> ------------------------------------------
> Aditya Agrawal
> mailto:aditya.agrawal at vanderbilt.edu
> http://aditya.isis.vanderbilt.edu/
> Institute For Software Integrated Systems (ISIS) www.isis.vanderbilt.edu
>
> Vanderbilt University
> 2015 Terrace Place
> Nashville, TN 37203
> 615 322 3164
>
>
>> -----Original Message-----
>> From: Endre Magyari
>> Sent: Sunday, June 06, 2004 4:00 PM
>> To: udm-users
>> Subject: [udm-users] BON2 question
>>
>>
>>
>> Dear All,
>>
>>
>> 	I happily found out that there is a BON extender interpreter,
> which
>> generates domain specific API for me.
>>
>> 	Generating the classes went fine, but when I wanted to check and
>> cast the
>> current FCO to a certain type, I ran into an error.
>>
>> 	The documentations suggested that this should work
>>
>> 	const GRATISII_BON::configurationImpl & config = currentFCO;
>>
>> 	and this also should work:
>>
>> 	if ( GRATISII_BON::configurationImpl(currentFCO))
>> 	{
>> 	//....
>> 	}
>>
>>
>> 	However both syntaxes result in compiler error:
>>
>> c:\temp\gratis\component\bon2component.cpp(111) : error C2440:
>> 'initializing' : cannot convert from 'class BON::FCO' to 'const class
>> GRATISII_BON::configurationImpl &'
>>          Reason: cannot convert from 'class BON::FCO' to 'const class
>> GRATISII_BON::configurationImpl'
>>          No constructor could take the source type, or constructor
>> overload
>> resolution was ambiguous
>>
>>
>> 	What is the solution in BON2 to check the type of an FCO and
> then
>> cast it
>> to that type?
>>
>> Thanks,
>> Endre.
>> _______________________________________________
>> udm-users mailing list
>> udm-users at list.isis.vanderbilt.edu
>> http://list.isis.vanderbilt.edu/mailman/listinfo/udm-users
> _______________________________________________
> udm-users mailing list
> udm-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/udm-users




More information about the gme-users mailing list