You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2006/06/24 03:07:58 UTC
svn commit: r416851 [2/3] - in /incubator/tuscany/cpp/sca/tools/scagen:
junit/org/apache/tuscany/sca/cpp/tools/junit/
junit/testinput/modules/MyValueServiceModuleImplClassWithNamespaceButNotInClassAttr/
junit/testoutput/CalculatorModuleAndComponent/exp...
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp Fri Jun 23 18:07:54 2006
@@ -20,6 +20,8 @@
using namespace osoa::sca;
using namespace tuscany::sca;
+
+
extern "C"
{
@@ -58,315 +60,277 @@
if (operationName == "getCustomerInformationChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- const char* p1 = (const char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInformationChar(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ const char* p1 = *(const char**)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInformationChar(p0, p1);
return;
}
if (operationName == "getCustomerInfoAChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- const char* p1 = (const char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAChar(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ const char* p1 = *(const char**)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoAChar(p0, p1);
return;
}
if (operationName == "getCustomerInfoBChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- char* p1 = ( char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBChar(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ char* p1 = *( char**)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoBChar(p0, p1);
return;
}
if (operationName == "getCustomerInfoCChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- char& p1 = *( char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCChar(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ char& p1 = *( char*)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoCChar(p0, p1);
return;
}
if (operationName == "getCustomerInfoDChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- char& p1 = *( char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDChar(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ char& p1 = *( char*)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoDChar(p0, p1);
return;
}
if (operationName == "getCustomerInfoEChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- char* p1 = ( char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoEChar(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ char* p1 = *( char**)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoEChar(p0, p1);
return;
}
if (operationName == "getCustomerInfoFChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- char* p1 = ( char*)operation.getParameter(1);
- char* p2 = ( char*)operation.getParameter(2);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFChar(p0, p1, p2));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ char* p1 = *( char**)operation.getParameterValue(1);
+ char* p2 = *( char**)operation.getParameterValue(2);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoFChar(p0, p1, p2);
return;
}
if (operationName == "getCustomerInfoGChar")
{
- char* p0 = ( char*)operation.getParameter(0);
- char* p1 = ( char*)operation.getParameter(1);
- char* p2 = ( char*)operation.getParameter(2);
- signed char* p3 = ( signed char*)operation.getParameter(3);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGChar(p0, p1, p2, p3));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ char* p1 = *( char**)operation.getParameterValue(1);
+ char* p2 = *( char**)operation.getParameterValue(2);
+ signed char* p3 = *( signed char**)operation.getParameterValue(3);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoGChar(p0, p1, p2, p3);
return;
}
if (operationName == "getCustomerInfoHChar")
{
- unsigned char* p0 = ( unsigned char*)operation.getParameter(0);
- const char& p1 = *(const char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHChar(p0, p1));
+ unsigned char* p0 = *( unsigned char**)operation.getParameterValue(0);
+ const char& p1 = *(const char*)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoHChar(p0, p1);
return;
}
if (operationName == "getCustomerInfoHChar")
{
- unsigned char* p0 = ( unsigned char*)operation.getParameter(0);
- const char* p1 = (const char*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHChar(p0, p1));
+ unsigned char* p0 = *( unsigned char**)operation.getParameterValue(0);
+ const char* p1 = *(const char**)operation.getParameterValue(1);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoHChar(p0, p1);
return;
}
if (operationName == "getCustomerInformationLong")
{
- const long* p0 = (const long*)operation.getParameter(0);
- const long* p1 = (const long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInformationLong(p0, p1));
+ const long* p0 = *(const long**)operation.getParameterValue(0);
+ const long* p1 = *(const long**)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInformationLong(p0, p1);
return;
}
if (operationName == "getCustomerInfoALong")
{
- const long* p0 = (const long*)operation.getParameter(0);
- const long* p1 = (const long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoALong(p0, p1));
+ const long* p0 = *(const long**)operation.getParameterValue(0);
+ const long* p1 = *(const long**)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoALong(p0, p1);
return;
}
if (operationName == "getCustomerInfoBLong")
{
- long* p0 = ( long*)operation.getParameter(0);
- long* p1 = ( long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBLong(p0, p1));
+ long* p0 = *( long**)operation.getParameterValue(0);
+ long* p1 = *( long**)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoBLong(p0, p1);
return;
}
if (operationName == "getCustomerInfoCLong")
{
- long& p0 = *( long*)operation.getParameter(0);
- long& p1 = *( long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCLong(p0, p1));
+ long& p0 = *( long*)operation.getParameterValue(0);
+ long& p1 = *( long*)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoCLong(p0, p1);
return;
}
if (operationName == "getCustomerInfoDLong")
{
- long& p0 = *( long*)operation.getParameter(0);
- long& p1 = *( long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDLong(p0, p1));
+ long& p0 = *( long*)operation.getParameterValue(0);
+ long& p1 = *( long*)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoDLong(p0, p1);
return;
}
if (operationName == "getCustomerInfoELong")
{
- long* p0 = ( long*)operation.getParameter(0);
- long* p1 = ( long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoELong(p0, p1));
+ long* p0 = *( long**)operation.getParameterValue(0);
+ long* p1 = *( long**)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoELong(p0, p1);
return;
}
if (operationName == "getCustomerInfoFLong")
{
- long* p0 = ( long*)operation.getParameter(0);
- long* p1 = ( long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFLong(p0, p1));
+ long* p0 = *( long**)operation.getParameterValue(0);
+ long* p1 = *( long**)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoFLong(p0, p1);
return;
}
if (operationName == "getCustomerInfoGLong")
{
- signed long* p0 = ( signed long*)operation.getParameter(0);
- signed long* p1 = ( signed long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGLong(p0, p1));
+ signed long* p0 = *( signed long**)operation.getParameterValue(0);
+ signed long* p1 = *( signed long**)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoGLong(p0, p1);
return;
}
if (operationName == "getCustomerInfoHLong")
{
- signed long* p0 = ( signed long*)operation.getParameter(0);
- signed long* p1 = ( signed long*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHLong(p0, p1));
+ signed long* p0 = *( signed long**)operation.getParameterValue(0);
+ signed long* p1 = *( signed long**)operation.getParameterValue(1);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoHLong(p0, p1);
return;
}
if (operationName == "getCustomerInformationInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- const int* p1 = (const int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInformationInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ const int* p1 = *(const int**)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInformationInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoAInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- const int* p1 = (const int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ const int* p1 = *(const int**)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoAInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoBInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- int* p1 = ( int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ int* p1 = *( int**)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoBInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoCInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- int& p1 = *( int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ int& p1 = *( int*)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoCInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoDInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- int& p1 = *( int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ int& p1 = *( int*)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoDInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoEInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- int* p1 = ( int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoEInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ int* p1 = *( int**)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoEInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoFInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- int* p1 = ( int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ int* p1 = *( int**)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoFInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoGInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- signed int* p1 = ( signed int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ signed int* p1 = *( signed int**)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoGInt(p0, p1);
return;
}
if (operationName == "getCustomerInfoHInt")
{
- char* p0 = ( char*)operation.getParameter(0);
- unsigned int* p1 = ( unsigned int*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHInt(p0, p1));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ unsigned int* p1 = *( unsigned int**)operation.getParameterValue(1);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoHInt(p0, p1);
return;
}
if (operationName == "getCustomerInformationint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- const __int64* p1 = (const __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInformationint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ const __int64* p1 = *(const __int64**)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInformationint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoAint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- const __int64* p1 = (const __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ const __int64* p1 = *(const __int64**)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoAint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoBint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- __int64* p1 = ( __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ __int64* p1 = *( __int64**)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoBint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoCint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- __int64& p1 = *( __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ __int64& p1 = *( __int64*)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoCint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoDint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- __int64& p1 = *( __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ __int64& p1 = *( __int64*)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoDint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoEint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- __int64* p1 = ( __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoEint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ __int64* p1 = *( __int64**)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoEint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoFint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- __int64* p1 = ( __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ __int64* p1 = *( __int64**)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoFint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoGint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- signed __int64* p1 = ( signed __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ signed __int64* p1 = *( signed __int64**)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoGint64(p0, p1);
return;
}
if (operationName == "getCustomerInfoHint64")
{
- Diamond& p0 = *(Diamond*)operation.getParameter(0);
- unsigned int64* p1 = ( unsigned int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHint64(p0, p1));
+ Diamond& p0 = *(Diamond*)operation.getParameterValue(0);
+ unsigned int64* p1 = *( unsigned int64**)operation.getParameterValue(1);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoHint64(p0, p1);
return;
}
if (operationName == "getCustomerInformationVoid")
{
- float& p0 = *(float*)operation.getParameter(0);
- const __int64* p1 = (const __int64*)operation.getParameter(1);
-
- operation.setReturnValue((void*) impl->getCustomerInformationVoid(p0, p1));
+ float& p0 = *(float*)operation.getParameterValue(0);
+ const __int64* p1 = *(const __int64**)operation.getParameterValue(1);
+ *(const void**)operation.getReturnValue() = impl->getCustomerInformationVoid(p0, p1);
return;
}
if (operationName == "getCustomerInfoAVoid")
{
- float& p0 = *(float*)operation.getParameter(0);
- const __int64* p1 = (const __int64*)operation.getParameter(1);
+ float& p0 = *(float*)operation.getParameterValue(0);
+ const __int64* p1 = *(const __int64**)operation.getParameterValue(1);
impl->getCustomerInfoAVoid(p0, p1);
return;
}
@@ -402,42 +366,40 @@
}
if (operationName == "getCustomerInfoAInline")
{
- int& p0 = *( int*)operation.getParameter(0);
- int& p1 = *( int*)operation.getParameter(1);
- int& p2 = *( int*)operation.getParameter(2);
- int& p3 = *( int*)operation.getParameter(3);
- char* customer p4 = ( char* customer)operation.getParameter(4);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAInline(p0, p1, p2, p3, p4));
+ int& p0 = *( int*)operation.getParameterValue(0);
+ int& p1 = *( int*)operation.getParameterValue(1);
+ int& p2 = *( int*)operation.getParameterValue(2);
+ int& p3 = *( int*)operation.getParameterValue(3);
+ char* customer p4 = *( char* customer*)operation.getParameterValue(4);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoAInline(p0, p1, p2, p3, p4);
return;
}
if (operationName == "getCustomerInfoBInline")
{
- int* p0 = ( int*)operation.getParameter(0);
- int* p1 = ( int*)operation.getParameter(1);
- int* p2 = ( int*)operation.getParameter(2);
- char* customer p3 = ( char* customer)operation.getParameter(3);
+ int* p0 = *( int**)operation.getParameterValue(0);
+ int* p1 = *( int**)operation.getParameterValue(1);
+ int* p2 = *( int**)operation.getParameterValue(2);
+ char* customer p3 = *( char* customer*)operation.getParameterValue(3);
*(int*)operation.getReturnValue() = impl->getCustomerInfoBInline(p0, p1, p2, p3);
return;
}
if (operationName == "getCustomerInfoCInline")
{
- char* customer p0 = ( char* customer)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCInline(p0));
+ char* customer p0 = *( char* customer*)operation.getParameterValue(0);
+ *(friend const unsigned int**)operation.getReturnValue() = impl->getCustomerInfoCInline(p0);
return;
}
if (operationName == "getCustomerInfoTrickyA")
{
- const char& p0 = *(const char*)operation.getParameter(0);
- const char& p1 = *(const char*)operation.getParameter(1);
+ const char& p0 = *(const char*)operation.getParameterValue(0);
+ const char& p1 = *(const char*)operation.getParameterValue(1);
*(int*)operation.getReturnValue() = impl->getCustomerInfoTrickyA(p0, p1);
return;
}
if (operationName == "getCustomerInfoTrickyB")
{
- int& p0 = *( int*)operation.getParameter(0);
- int& p1 = *( int*)operation.getParameter(1);
+ int& p0 = *( int*)operation.getParameterValue(0);
+ int& p1 = *( int*)operation.getParameterValue(1);
*(int*)operation.getReturnValue() = impl->getCustomerInfoTrickyB(p0, p1);
return;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef CustomerInfoImpl_CustomerInfoService_Wrapper_h
#define CustomerInfoImpl_CustomerInfoService_Wrapper_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "CustomerInfoImpl.h"
#include "tuscany/sca/core/ComponentServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp Fri Jun 23 18:07:54 2006
@@ -52,505 +52,452 @@
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationChar(const char* arg0)
{
- Operation operation("getCustomerInformationChar", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformationChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAChar(const char* arg0)
{
- Operation operation("getCustomerInfoAChar", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoAChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBChar( char* arg0)
{
- Operation operation("getCustomerInfoBChar", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoBChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCChar( char arg0)
{
- Operation operation("getCustomerInfoCChar", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoCChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDChar( char arg0)
{
- Operation operation("getCustomerInfoDChar", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoDChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEChar( char* arg0)
{
- Operation operation("getCustomerInfoEChar", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoEChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFChar( char* arg0)
{
- Operation operation("getCustomerInfoFChar", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoFChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGChar( signed char* arg0)
{
- Operation operation("getCustomerInfoGChar", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoGChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHChar( unsigned char* arg0)
{
- Operation operation("getCustomerInfoHChar", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoHChar");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationLong(const long* arg0)
{
- Operation operation("getCustomerInformationLong", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformationLong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoALong(const long* arg0)
{
- Operation operation("getCustomerInfoALong", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoALong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBLong( long* arg0)
{
- Operation operation("getCustomerInfoBLong", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoBLong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCLong( long arg0)
{
- Operation operation("getCustomerInfoCLong", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoCLong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDLong( long arg0)
{
- Operation operation("getCustomerInfoDLong", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoDLong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoELong( long* arg0)
{
- Operation operation("getCustomerInfoELong", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoELong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFLong( long* arg0)
{
- Operation operation("getCustomerInfoFLong", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoFLong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGLong( signed long* arg0)
{
- Operation operation("getCustomerInfoGLong", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoGLong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHLong( unsigned long* arg0)
{
- Operation operation("getCustomerInfoHLong", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoHLong");
+ operation.addParameter(&arg0);
+ const long* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const long*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationInt(const int* arg0)
{
- Operation operation("getCustomerInformationInt", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformationInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAInt(const int* arg0)
{
- Operation operation("getCustomerInfoAInt", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoAInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBInt( int* arg0)
{
- Operation operation("getCustomerInfoBInt", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoBInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCInt( int arg0)
{
- Operation operation("getCustomerInfoCInt", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoCInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDInt( int arg0)
{
- Operation operation("getCustomerInfoDInt", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoDInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEInt( int* arg0)
{
- Operation operation("getCustomerInfoEInt", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoEInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFInt( int* arg0)
{
- Operation operation("getCustomerInfoFInt", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoFInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGInt( signed int* arg0)
{
- Operation operation("getCustomerInfoGInt", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoGInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHInt( unsigned int* arg0)
{
- Operation operation("getCustomerInfoHInt", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoHInt");
+ operation.addParameter(&arg0);
+ const int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const int*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationint64(const __int64* arg0)
{
- Operation operation("getCustomerInformationint64", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformationint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAint64(const __int64* arg0)
{
- Operation operation("getCustomerInfoAint64", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoAint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBint64( __int64* arg0)
{
- Operation operation("getCustomerInfoBint64", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoBint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCint64( __int64 arg0)
{
- Operation operation("getCustomerInfoCint64", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoCint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDint64( __int64 arg0)
{
- Operation operation("getCustomerInfoDint64", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustomerInfoDint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEint64( __int64* arg0)
{
- Operation operation("getCustomerInfoEint64", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoEint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFint64( __int64* arg0)
{
- Operation operation("getCustomerInfoFint64", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoFint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGint64( signed __int64* arg0)
{
- Operation operation("getCustomerInfoGint64", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoGint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHint64( unsigned int64* arg0)
{
- Operation operation("getCustomerInfoHint64", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoHint64");
+ operation.addParameter(&arg0);
+ const __int64* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const __int64*)operation.getReturnValue();
-
+ return ret;
}
const void* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationVoid(const __int64* arg0)
{
- Operation operation("getCustomerInformationVoid", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformationVoid");
+ operation.addParameter(&arg0);
+ const void* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const void*)operation.getReturnValue();
-
+ return ret;
}
void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAVoid(const __int64* arg0)
{
- Operation operation("getCustomerInfoAVoid", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoAVoid");
+ operation.addParameter(&arg0);
target->invoke(operation);
return;
-
}
void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBVoid()
{
- Operation operation("getCustomerInfoBVoid", 0);
-
+ Operation operation("getCustomerInfoBVoid");
target->invoke(operation);
return;
-
}
void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCVoid()
{
- Operation operation("getCustomerInfoCVoid", 0);
-
+ Operation operation("getCustomerInfoCVoid");
target->invoke(operation);
return;
-
}
void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDVoid()
{
- Operation operation("getCustomerInfoDVoid", 0);
-
+ Operation operation("getCustomerInfoDVoid");
+ operation.addParameter(&arg0);
target->invoke(operation);
return;
-
}
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAInline( char* customer arg0)
{
- Operation operation("getCustomerInfoAInline", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoAInline");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
int CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBInline( char* customer arg0)
{
- Operation operation("getCustomerInfoBInline", 1);
- operation.setParameter(0, (void*)arg0);
-
- int ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getCustomerInfoBInline");
+ operation.addParameter(&arg0);
+ int ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
friend const unsigned int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCInline( char* customer arg0)
{
- Operation operation("getCustomerInfoCInline", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInfoCInline");
+ operation.addParameter(&arg0);
+ friend const unsigned int* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (friend const unsigned int*)operation.getReturnValue();
-
+ return ret;
}
int CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoTrickyA(const char arg0)
{
- Operation operation("getCustomerInfoTrickyA", 1);
- operation.setParameter(0, (void*)&arg0);
-
- int ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getCustomerInfoTrickyA");
+ operation.addParameter(&arg0);
+ int ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
int CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoTrickyB( int arg0)
{
- Operation operation("getCustomerInfoTrickyB", 1);
- operation.setParameter(0, (void*)&arg0);
-
- int ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getCustomerInfoTrickyB");
+ operation.addParameter(&arg0);
+ int ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef CustomerInfoImpl_CustomerInfoService_Proxy_h
#define CustomerInfoImpl_CustomerInfoService_Proxy_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "/CustomerInfo.h"
#include "tuscany/sca/core/ServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp Fri Jun 23 18:07:54 2006
@@ -20,6 +20,8 @@
using namespace osoa::sca;
using namespace tuscany::sca;
+
+
extern "C"
{
@@ -58,266 +60,229 @@
if (operationName == "getCustomerInformationChar")
{
- const char* p0 = (const char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInformationChar(p0));
+ const char* p0 = *(const char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInformationChar(p0);
return;
}
if (operationName == "getCustomerInfoAChar")
{
- const char* p0 = (const char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAChar(p0));
+ const char* p0 = *(const char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoAChar(p0);
return;
}
if (operationName == "getCustomerInfoBChar")
{
- char* p0 = ( char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBChar(p0));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoBChar(p0);
return;
}
if (operationName == "getCustomerInfoCChar")
{
- char& p0 = *( char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCChar(p0));
+ char& p0 = *( char*)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoCChar(p0);
return;
}
if (operationName == "getCustomerInfoDChar")
{
- char& p0 = *( char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDChar(p0));
+ char& p0 = *( char*)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoDChar(p0);
return;
}
if (operationName == "getCustomerInfoEChar")
{
- char* p0 = ( char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoEChar(p0));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoEChar(p0);
return;
}
if (operationName == "getCustomerInfoFChar")
{
- char* p0 = ( char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFChar(p0));
+ char* p0 = *( char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoFChar(p0);
return;
}
if (operationName == "getCustomerInfoGChar")
{
- signed char* p0 = ( signed char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGChar(p0));
+ signed char* p0 = *( signed char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoGChar(p0);
return;
}
if (operationName == "getCustomerInfoHChar")
{
- unsigned char* p0 = ( unsigned char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHChar(p0));
+ unsigned char* p0 = *( unsigned char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoHChar(p0);
return;
}
if (operationName == "getCustomerInformationLong")
{
- const long* p0 = (const long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInformationLong(p0));
+ const long* p0 = *(const long**)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInformationLong(p0);
return;
}
if (operationName == "getCustomerInfoALong")
{
- const long* p0 = (const long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoALong(p0));
+ const long* p0 = *(const long**)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoALong(p0);
return;
}
if (operationName == "getCustomerInfoBLong")
{
- long* p0 = ( long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBLong(p0));
+ long* p0 = *( long**)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoBLong(p0);
return;
}
if (operationName == "getCustomerInfoCLong")
{
- long& p0 = *( long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCLong(p0));
+ long& p0 = *( long*)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoCLong(p0);
return;
}
if (operationName == "getCustomerInfoDLong")
{
- long& p0 = *( long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDLong(p0));
+ long& p0 = *( long*)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoDLong(p0);
return;
}
if (operationName == "getCustomerInfoELong")
{
- long* p0 = ( long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoELong(p0));
+ long* p0 = *( long**)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoELong(p0);
return;
}
if (operationName == "getCustomerInfoFLong")
{
- long* p0 = ( long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFLong(p0));
+ long* p0 = *( long**)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoFLong(p0);
return;
}
if (operationName == "getCustomerInfoGLong")
{
- signed long* p0 = ( signed long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGLong(p0));
+ signed long* p0 = *( signed long**)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoGLong(p0);
return;
}
if (operationName == "getCustomerInfoHLong")
{
- unsigned long* p0 = ( unsigned long*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHLong(p0));
+ unsigned long* p0 = *( unsigned long**)operation.getParameterValue(0);
+ *(const long**)operation.getReturnValue() = impl->getCustomerInfoHLong(p0);
return;
}
if (operationName == "getCustomerInformationInt")
{
- const int* p0 = (const int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInformationInt(p0));
+ const int* p0 = *(const int**)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInformationInt(p0);
return;
}
if (operationName == "getCustomerInfoAInt")
{
- const int* p0 = (const int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAInt(p0));
+ const int* p0 = *(const int**)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoAInt(p0);
return;
}
if (operationName == "getCustomerInfoBInt")
{
- int* p0 = ( int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBInt(p0));
+ int* p0 = *( int**)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoBInt(p0);
return;
}
if (operationName == "getCustomerInfoCInt")
{
- int& p0 = *( int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCInt(p0));
+ int& p0 = *( int*)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoCInt(p0);
return;
}
if (operationName == "getCustomerInfoDInt")
{
- int& p0 = *( int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDInt(p0));
+ int& p0 = *( int*)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoDInt(p0);
return;
}
if (operationName == "getCustomerInfoEInt")
{
- int* p0 = ( int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoEInt(p0));
+ int* p0 = *( int**)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoEInt(p0);
return;
}
if (operationName == "getCustomerInfoFInt")
{
- int* p0 = ( int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFInt(p0));
+ int* p0 = *( int**)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoFInt(p0);
return;
}
if (operationName == "getCustomerInfoGInt")
{
- signed int* p0 = ( signed int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGInt(p0));
+ signed int* p0 = *( signed int**)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoGInt(p0);
return;
}
if (operationName == "getCustomerInfoHInt")
{
- unsigned int* p0 = ( unsigned int*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHInt(p0));
+ unsigned int* p0 = *( unsigned int**)operation.getParameterValue(0);
+ *(const int**)operation.getReturnValue() = impl->getCustomerInfoHInt(p0);
return;
}
if (operationName == "getCustomerInformationint64")
{
- const __int64* p0 = (const __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInformationint64(p0));
+ const __int64* p0 = *(const __int64**)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInformationint64(p0);
return;
}
if (operationName == "getCustomerInfoAint64")
{
- const __int64* p0 = (const __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAint64(p0));
+ const __int64* p0 = *(const __int64**)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoAint64(p0);
return;
}
if (operationName == "getCustomerInfoBint64")
{
- __int64* p0 = ( __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoBint64(p0));
+ __int64* p0 = *( __int64**)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoBint64(p0);
return;
}
if (operationName == "getCustomerInfoCint64")
{
- __int64& p0 = *( __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCint64(p0));
+ __int64& p0 = *( __int64*)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoCint64(p0);
return;
}
if (operationName == "getCustomerInfoDint64")
{
- __int64& p0 = *( __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoDint64(p0));
+ __int64& p0 = *( __int64*)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoDint64(p0);
return;
}
if (operationName == "getCustomerInfoEint64")
{
- __int64* p0 = ( __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoEint64(p0));
+ __int64* p0 = *( __int64**)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoEint64(p0);
return;
}
if (operationName == "getCustomerInfoFint64")
{
- __int64* p0 = ( __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoFint64(p0));
+ __int64* p0 = *( __int64**)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoFint64(p0);
return;
}
if (operationName == "getCustomerInfoGint64")
{
- signed __int64* p0 = ( signed __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoGint64(p0));
+ signed __int64* p0 = *( signed __int64**)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoGint64(p0);
return;
}
if (operationName == "getCustomerInfoHint64")
{
- unsigned int64* p0 = ( unsigned int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoHint64(p0));
+ unsigned int64* p0 = *( unsigned int64**)operation.getParameterValue(0);
+ *(const __int64**)operation.getReturnValue() = impl->getCustomerInfoHint64(p0);
return;
}
if (operationName == "getCustomerInformationVoid")
{
- const __int64* p0 = (const __int64*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInformationVoid(p0));
+ const __int64* p0 = *(const __int64**)operation.getParameterValue(0);
+ *(const void**)operation.getReturnValue() = impl->getCustomerInformationVoid(p0);
return;
}
if (operationName == "getCustomerInfoAVoid")
{
- const __int64* p0 = (const __int64*)operation.getParameter(0);
+ const __int64* p0 = *(const __int64**)operation.getParameterValue(0);
impl->getCustomerInfoAVoid(p0);
return;
}
@@ -338,33 +303,31 @@
}
if (operationName == "getCustomerInfoAInline")
{
- char* customer p0 = ( char* customer)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoAInline(p0));
+ char* customer p0 = *( char* customer*)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInfoAInline(p0);
return;
}
if (operationName == "getCustomerInfoBInline")
{
- char* customer p0 = ( char* customer)operation.getParameter(0);
+ char* customer p0 = *( char* customer*)operation.getParameterValue(0);
*(int*)operation.getReturnValue() = impl->getCustomerInfoBInline(p0);
return;
}
if (operationName == "getCustomerInfoCInline")
{
- char* customer p0 = ( char* customer)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInfoCInline(p0));
+ char* customer p0 = *( char* customer*)operation.getParameterValue(0);
+ *(friend const unsigned int**)operation.getReturnValue() = impl->getCustomerInfoCInline(p0);
return;
}
if (operationName == "getCustomerInfoTrickyA")
{
- const char& p0 = *(const char*)operation.getParameter(0);
+ const char& p0 = *(const char*)operation.getParameterValue(0);
*(int*)operation.getReturnValue() = impl->getCustomerInfoTrickyA(p0);
return;
}
if (operationName == "getCustomerInfoTrickyB")
{
- int& p0 = *( int*)operation.getParameter(0);
+ int& p0 = *( int*)operation.getParameterValue(0);
*(int*)operation.getReturnValue() = impl->getCustomerInfoTrickyB(p0);
return;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef CustomerInfoImpl_CustomerInfoService_Wrapper_h
#define CustomerInfoImpl_CustomerInfoService_Wrapper_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "CustomerInfoImpl.h"
#include "tuscany/sca/core/ComponentServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.cpp Fri Jun 23 18:07:54 2006
@@ -52,13 +52,12 @@
const char* CustomerInfoImpl2_CustomerInfoService_Proxy::getCustomerInformation(const char* arg0)
{
- Operation operation("getCustomerInformation", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformation");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Proxy.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef CustomerInfoImpl2_CustomerInfoService_Proxy_h
#define CustomerInfoImpl2_CustomerInfoService_Proxy_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "/CustomerInfo.h"
#include "tuscany/sca/core/ServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.cpp Fri Jun 23 18:07:54 2006
@@ -20,6 +20,8 @@
using namespace osoa::sca;
using namespace tuscany::sca;
+
+
extern "C"
{
@@ -58,9 +60,8 @@
if (operationName == "getCustomerInformation")
{
- const char* p0 = (const char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInformation(p0));
+ const char* p0 = *(const char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInformation(p0);
return;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/CustomerInfoImpl2_CustomerInfoService_Wrapper.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef CustomerInfoImpl2_CustomerInfoService_Wrapper_h
#define CustomerInfoImpl2_CustomerInfoService_Wrapper_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "CustomerInfoImpl.h"
#include "tuscany/sca/core/ComponentServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.cpp Fri Jun 23 18:07:54 2006
@@ -52,49 +52,40 @@
float MyValueImpl_MyValueService_Proxy::getMyValue(const char* arg0)
{
- Operation operation("getMyValue", 1);
- operation.setParameter(0, (void*)arg0);
-
- float ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getMyValue");
+ operation.addParameter(&arg0);
+ float ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
float MyValueImpl_MyValueService_Proxy::getMyValueS(const string& arg0)
{
- Operation operation("getMyValueS", 1);
- operation.setParameter(0, (void*)&arg0);
-
- float ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getMyValueS");
+ operation.addParameter(&arg0);
+ float ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
string MyValueImpl_MyValueService_Proxy::getCustname( string& arg0)
{
- Operation operation("getCustname", 1);
- operation.setParameter(0, (void*)&arg0);
-
- string ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getCustname");
+ operation.addParameter(&arg0);
+ string ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
const string& MyValueImpl_MyValueService_Proxy::getCustnamecs( string arg0)
{
- Operation operation("getCustnamecs", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustnamecs");
+ operation.addParameter(&arg0);
target->invoke(operation);
return *(const string*)operation.getReturnValue();
-
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Proxy.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef MyValueImpl_MyValueService_Proxy_h
#define MyValueImpl_MyValueService_Proxy_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "MyValue.h"
#include "tuscany/sca/core/ServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.cpp Fri Jun 23 18:07:54 2006
@@ -20,6 +20,8 @@
using namespace osoa::sca;
using namespace tuscany::sca;
+
+
extern "C"
{
@@ -58,27 +60,27 @@
if (operationName == "getMyValue")
{
- const char* p0 = (const char*)operation.getParameter(0);
+ const char* p0 = *(const char**)operation.getParameterValue(0);
*(float*)operation.getReturnValue() = impl->getMyValue(p0);
return;
}
if (operationName == "getMyValueS")
{
- string& p0 = *(string*)operation.getParameter(0);
+ string& p0 = *(string*)operation.getParameterValue(0);
*(float*)operation.getReturnValue() = impl->getMyValueS(p0);
return;
}
if (operationName == "getCustname")
{
- string& p0 = *(string*)operation.getParameter(0);
+ string& p0 = *(string*)operation.getParameterValue(0);
*(string*)operation.getReturnValue() = impl->getCustname(p0);
return;
}
if (operationName == "getCustnamecs")
{
- string& p0 = *( string*)operation.getParameter(0);
+ string& p0 = *( string*)operation.getParameterValue(0);
const string& ret = impl->getCustnamecs(p0);
- operation.setReturnValue((void*)&ret);
+ operation.setReturnValue(&ret);
return;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_MyValueService_Wrapper.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef MyValueImpl_MyValueService_Wrapper_h
#define MyValueImpl_MyValueService_Wrapper_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "MyValueImpl.hpp"
#include "tuscany/sca/core/ComponentServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.cpp Fri Jun 23 18:07:54 2006
@@ -52,13 +52,12 @@
const char* MyValueImpl_customerInfo_Proxy::getCustomerInformation(const char* arg0)
{
- Operation operation("getCustomerInformation", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformation");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_customerInfo_Proxy.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef MyValueImpl_customerInfo_Proxy_h
#define MyValueImpl_customerInfo_Proxy_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "CustomerInfo.h"
#include "tuscany/sca/core/ServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.cpp Fri Jun 23 18:07:54 2006
@@ -52,15 +52,12 @@
commonj::sdo::DataObjectPtr MyValueImpl_stockQuote_Proxy::GetStockQuotes( commonj::sdo::DataObjectPtr arg0)
{
- Operation operation("GetStockQuotes", 1);
- operation.setParameter(0, (void*)&arg0);
-
- commonj::sdo::DataObjectPtr ret = 0;
- operation.setReturnValue((void*)&ret);
-
+ Operation operation("GetStockQuotes");
+ operation.addParameter(&arg0);
+ commonj::sdo::DataObjectPtr ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return ret;
-
+ return ret;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModule/expected_output/MyValueImpl_stockQuote_Proxy.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef MyValueImpl_stockQuote_Proxy_h
#define MyValueImpl_stockQuote_Proxy_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "StockQuoteService.h"
#include "tuscany/sca/core/ServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp Fri Jun 23 18:07:54 2006
@@ -52,13 +52,12 @@
const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformation(const char* arg0)
{
- Operation operation("getCustomerInformation", 1);
- operation.setParameter(0, (void*)arg0);
-
-
+ Operation operation("getCustomerInformation");
+ operation.addParameter(&arg0);
+ const char* ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
- return (const char*)operation.getReturnValue();
-
+ return ret;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef CustomerInfoImpl_CustomerInfoService_Proxy_h
#define CustomerInfoImpl_CustomerInfoService_Proxy_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "/CustomerInfo.h"
#include "tuscany/sca/core/ServiceWrapper.h"
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp Fri Jun 23 18:07:54 2006
@@ -20,6 +20,8 @@
using namespace osoa::sca;
using namespace tuscany::sca;
+using Other::CustomerInfoImpl;
+
extern "C"
{
@@ -58,9 +60,8 @@
if (operationName == "getCustomerInformation")
{
- const char* p0 = (const char*)operation.getParameter(0);
-
- operation.setReturnValue((void*) impl->getCustomerInformation(p0));
+ const char* p0 = *(const char**)operation.getParameterValue(0);
+ *(const char**)operation.getReturnValue() = impl->getCustomerInformation(p0);
return;
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef CustomerInfoImpl_CustomerInfoService_Wrapper_h
#define CustomerInfoImpl_CustomerInfoService_Wrapper_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "CustomerInfoImpl.h"
#include "tuscany/sca/core/ComponentServiceWrapper.h"
@@ -29,7 +33,7 @@
virtual void* newImplementation();
virtual void deleteImplementation();
private:
- CustomerInfoImpl* impl;
+ Other::CustomerInfoImpl* impl;
};
#endif // CustomerInfoImpl_CustomerInfoService_Wrapper_h
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.cpp?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.cpp (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.cpp Fri Jun 23 18:07:54 2006
@@ -52,49 +52,40 @@
float MyValueImpl_MyValueService_Proxy::getMyValue(const char* arg0)
{
- Operation operation("getMyValue", 1);
- operation.setParameter(0, (void*)arg0);
-
- float ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getMyValue");
+ operation.addParameter(&arg0);
+ float ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
float MyValueImpl_MyValueService_Proxy::getMyValueS(const string& arg0)
{
- Operation operation("getMyValueS", 1);
- operation.setParameter(0, (void*)&arg0);
-
- float ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getMyValueS");
+ operation.addParameter(&arg0);
+ float ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
string MyValueImpl_MyValueService_Proxy::getCustname( string& arg0)
{
- Operation operation("getCustname", 1);
- operation.setParameter(0, (void*)&arg0);
-
- string ret;
- operation.setReturnValue((void*)&ret);
+ Operation operation("getCustname");
+ operation.addParameter(&arg0);
+ string ret;
+ operation.setReturnValue(&ret);
target->invoke(operation);
return ret;
-
}
const string& MyValueImpl_MyValueService_Proxy::getCustnamecs( string arg0)
{
- Operation operation("getCustnamecs", 1);
- operation.setParameter(0, (void*)&arg0);
-
-
+ Operation operation("getCustnamecs");
+ operation.addParameter(&arg0);
target->invoke(operation);
return *(const string*)operation.getReturnValue();
-
}
Modified: incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.h?rev=416851&r1=416850&r2=416851&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.h (original)
+++ incubator/tuscany/cpp/sca/tools/scagen/junit/testoutput/MyValueServiceModuleImplClassWithNamespace/expected_output/MyValueImpl_MyValueService_Proxy.h Fri Jun 23 18:07:54 2006
@@ -17,6 +17,10 @@
#ifndef MyValueImpl_MyValueService_Proxy_h
#define MyValueImpl_MyValueService_Proxy_h
+#if defined(WIN32) || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
#include "MyValue.h"
#include "tuscany/sca/core/ServiceWrapper.h"
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org