summaryrefslogtreecommitdiffstats
path: root/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:37:38 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:37:38 +0000
commitd36c8e323a6f8df998edd185de8972dc5e6f87f0 (patch)
tree2a402b87f045e8066fcf7743e8654728977f6a8a /sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest
parent034ecc7803559acdda5dd6c54ecc081665b19f61 (diff)
Cleaning up SVN structure, moving tag under sca-cpp/tags.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest')
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp556
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h79
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp376
-rw-r--r--sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h36
4 files changed, 1047 insertions, 0 deletions
diff --git a/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
new file mode 100644
index 0000000000..a033e9b11e
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
@@ -0,0 +1,556 @@
+/*
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "CustomerInfoImpl_CustomerInfoService_Proxy.h"
+
+#include "osoa/sca/sca.h"
+using namespace osoa::sca;
+using namespace tuscany::sca;
+
+extern "C"
+{
+
+ #if defined(WIN32) || defined(_WINDOWS)
+ __declspec(dllexport)
+ #endif
+ CustomerInfoImpl_CustomerInfoService_Proxy* CustomerInfoImpl_CustomerInfoService_Proxy_Factory(ServiceWrapper* target)
+ {
+ return new CustomerInfoImpl_CustomerInfoService_Proxy(target);
+ }
+
+ #if defined(WIN32) || defined(_WINDOWS)
+ __declspec(dllexport)
+ #endif
+ void CustomerInfoImpl_CustomerInfoService_Proxy_Destructor(void* proxy)
+ {
+ delete (CustomerInfoImpl_CustomerInfoService_Proxy*)proxy;
+ }
+}
+
+CustomerInfoImpl_CustomerInfoService_Proxy::CustomerInfoImpl_CustomerInfoService_Proxy(ServiceWrapper* targ) : target(targ)
+{
+}
+
+CustomerInfoImpl_CustomerInfoService_Proxy::~CustomerInfoImpl_CustomerInfoService_Proxy()
+{
+ if (target)
+ delete target;
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationChar(const char* arg0)
+{
+ Operation operation("getCustomerInformationChar", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAChar(const char* arg0)
+{
+ Operation operation("getCustomerInfoAChar", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBChar( char* arg0)
+{
+ Operation operation("getCustomerInfoBChar", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCChar( char arg0)
+{
+ Operation operation("getCustomerInfoCChar", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDChar( char arg0)
+{
+ Operation operation("getCustomerInfoDChar", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEChar( char* arg0)
+{
+ Operation operation("getCustomerInfoEChar", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFChar( char* arg0)
+{
+ Operation operation("getCustomerInfoFChar", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGChar( signed char* arg0)
+{
+ Operation operation("getCustomerInfoGChar", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHChar( unsigned char* arg0)
+{
+ Operation operation("getCustomerInfoHChar", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationLong(const long* arg0)
+{
+ Operation operation("getCustomerInformationLong", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoALong(const long* arg0)
+{
+ Operation operation("getCustomerInfoALong", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBLong( long* arg0)
+{
+ Operation operation("getCustomerInfoBLong", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCLong( long arg0)
+{
+ Operation operation("getCustomerInfoCLong", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDLong( long arg0)
+{
+ Operation operation("getCustomerInfoDLong", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoELong( long* arg0)
+{
+ Operation operation("getCustomerInfoELong", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFLong( long* arg0)
+{
+ Operation operation("getCustomerInfoFLong", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGLong( signed long* arg0)
+{
+ Operation operation("getCustomerInfoGLong", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHLong( unsigned long* arg0)
+{
+ Operation operation("getCustomerInfoHLong", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const long*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationInt(const int* arg0)
+{
+ Operation operation("getCustomerInformationInt", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAInt(const int* arg0)
+{
+ Operation operation("getCustomerInfoAInt", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBInt( int* arg0)
+{
+ Operation operation("getCustomerInfoBInt", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCInt( int arg0)
+{
+ Operation operation("getCustomerInfoCInt", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDInt( int arg0)
+{
+ Operation operation("getCustomerInfoDInt", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEInt( int* arg0)
+{
+ Operation operation("getCustomerInfoEInt", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFInt( int* arg0)
+{
+ Operation operation("getCustomerInfoFInt", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGInt( signed int* arg0)
+{
+ Operation operation("getCustomerInfoGInt", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHInt( unsigned int* arg0)
+{
+ Operation operation("getCustomerInfoHInt", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const int*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationint64(const __int64* arg0)
+{
+ Operation operation("getCustomerInformationint64", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAint64(const __int64* arg0)
+{
+ Operation operation("getCustomerInfoAint64", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBint64( __int64* arg0)
+{
+ Operation operation("getCustomerInfoBint64", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCint64( __int64 arg0)
+{
+ Operation operation("getCustomerInfoCint64", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDint64( __int64 arg0)
+{
+ Operation operation("getCustomerInfoDint64", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEint64( __int64* arg0)
+{
+ Operation operation("getCustomerInfoEint64", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFint64( __int64* arg0)
+{
+ Operation operation("getCustomerInfoFint64", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGint64( signed __int64* arg0)
+{
+ Operation operation("getCustomerInfoGint64", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHint64( unsigned int64* arg0)
+{
+ Operation operation("getCustomerInfoHint64", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const __int64*)operation.getReturnValue();
+
+}
+
+const void* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationVoid(const __int64* arg0)
+{
+ Operation operation("getCustomerInformationVoid", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const void*)operation.getReturnValue();
+
+}
+
+void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAVoid(const __int64* arg0)
+{
+ Operation operation("getCustomerInfoAVoid", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return;
+
+}
+
+void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBVoid()
+{
+ Operation operation("getCustomerInfoBVoid", 0);
+
+ target->invoke(operation);
+ return;
+
+}
+
+void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCVoid()
+{
+ Operation operation("getCustomerInfoCVoid", 0);
+
+ target->invoke(operation);
+ return;
+
+}
+
+void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDVoid()
+{
+ Operation operation("getCustomerInfoDVoid", 0);
+
+ target->invoke(operation);
+ return;
+
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAInline( char* customer arg0)
+{
+ Operation operation("getCustomerInfoAInline", 1);
+ operation.setParameter(0, (void*)arg0);
+
+
+ target->invoke(operation);
+ return (const char*)operation.getReturnValue();
+
+}
+
+int CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBInline( char* customer arg0)
+{
+ Operation operation("getCustomerInfoBInline", 1);
+ operation.setParameter(0, (void*)arg0);
+
+ int ret;
+ operation.setReturnValue((void*)&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);
+
+
+ target->invoke(operation);
+ return (friend const unsigned int*)operation.getReturnValue();
+
+}
+
+int CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoTrickyA(const char arg0)
+{
+ Operation operation("getCustomerInfoTrickyA", 1);
+ operation.setParameter(0, (void*)&arg0);
+
+ int ret;
+ operation.setReturnValue((void*)&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);
+ target->invoke(operation);
+ return ret;
+
+}
+
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h
new file mode 100644
index 0000000000..f10da9c15e
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h
@@ -0,0 +1,79 @@
+/*
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef CustomerInfoImpl_CustomerInfoService_Proxy_h
+#define CustomerInfoImpl_CustomerInfoService_Proxy_h
+
+#include "/CustomerInfo.h"
+#include "tuscany/sca/core/ServiceWrapper.h"
+
+class CustomerInfoImpl_CustomerInfoService_Proxy : public CustomerInfo
+{
+public:
+ CustomerInfoImpl_CustomerInfoService_Proxy(tuscany::sca::ServiceWrapper*);
+ virtual ~CustomerInfoImpl_CustomerInfoService_Proxy();
+ virtual const char* getCustomerInformationChar(const char* customerID);
+ virtual const char* getCustomerInfoAChar(const char* );
+ virtual const char* getCustomerInfoBChar( char* customerID);
+ virtual const char* getCustomerInfoCChar( char customerID);
+ virtual const char* getCustomerInfoDChar( char );
+ virtual const char* getCustomerInfoEChar( char* );
+ virtual const char* getCustomerInfoFChar( char* customerID);
+ virtual const char* getCustomerInfoGChar( signed char* customerID);
+ virtual const char* getCustomerInfoHChar( unsigned char* customerID);
+ virtual const long* getCustomerInformationLong(const long* customerID);
+ virtual const long* getCustomerInfoALong(const long* );
+ virtual const long* getCustomerInfoBLong( long* customerID);
+ virtual const long* getCustomerInfoCLong( long customerID);
+ virtual const long* getCustomerInfoDLong( long );
+ virtual const long* getCustomerInfoELong( long* );
+ virtual const long* getCustomerInfoFLong( long* customerID);
+ virtual const long* getCustomerInfoGLong( signed long* customerID);
+ virtual const long* getCustomerInfoHLong( unsigned long* customerID);
+ virtual const int* getCustomerInformationInt(const int* customerID);
+ virtual const int* getCustomerInfoAInt(const int* );
+ virtual const int* getCustomerInfoBInt( int* customerID);
+ virtual const int* getCustomerInfoCInt( int customerID);
+ virtual const int* getCustomerInfoDInt( int );
+ virtual const int* getCustomerInfoEInt( int* );
+ virtual const int* getCustomerInfoFInt( int* customerID);
+ virtual const int* getCustomerInfoGInt( signed int* customerID);
+ virtual const int* getCustomerInfoHInt( unsigned int* customerID);
+ virtual const __int64* getCustomerInformationint64(const __int64* customerID);
+ virtual const __int64* getCustomerInfoAint64(const __int64* );
+ virtual const __int64* getCustomerInfoBint64( __int64* customerID);
+ virtual const __int64* getCustomerInfoCint64( __int64 customerID);
+ virtual const __int64* getCustomerInfoDint64( __int64 );
+ virtual const __int64* getCustomerInfoEint64( __int64* );
+ virtual const __int64* getCustomerInfoFint64( __int64* customerID);
+ virtual const __int64* getCustomerInfoGint64( signed __int64* customerID);
+ virtual const __int64* getCustomerInfoHint64( unsigned int64* customerID);
+ virtual const void* getCustomerInformationVoid(const __int64* customerID);
+ virtual void getCustomerInfoAVoid(const __int64* );
+ virtual void getCustomerInfoBVoid();
+ virtual void getCustomerInfoCVoid();
+ virtual void getCustomerInfoDVoid( void );
+ virtual const char* getCustomerInfoAInline( char* customer id);
+ virtual int getCustomerInfoBInline( char* customer id);
+ virtual friend const unsigned int* getCustomerInfoCInline( char* customer id);
+ virtual int getCustomerInfoTrickyA(const char );
+ virtual int getCustomerInfoTrickyB( int myInt);
+private:
+ tuscany::sca::ServiceWrapper* target;
+};
+
+#endif // CustomerInfoImpl_CustomerInfoService_Proxy_h
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
new file mode 100644
index 0000000000..abf2b8ed1a
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
@@ -0,0 +1,376 @@
+/*
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "CustomerInfoImpl_CustomerInfoService_Wrapper.h"
+
+#include "osoa/sca/sca.h"
+using namespace osoa::sca;
+using namespace tuscany::sca;
+
+extern "C"
+{
+
+ #if defined(WIN32) || defined(_WINDOWS)
+ __declspec(dllexport)
+ #endif
+ CustomerInfoImpl_CustomerInfoService_Wrapper* CustomerInfoImpl_CustomerInfoService_Wrapper_Factory(tuscany::sca::model::Service* target)
+ {
+ return new CustomerInfoImpl_CustomerInfoService_Wrapper(target);
+ }
+}
+
+CustomerInfoImpl_CustomerInfoService_Wrapper::CustomerInfoImpl_CustomerInfoService_Wrapper(Service* target) : ComponentServiceWrapper(target)
+{
+ impl = (CustomerInfoImpl*)getImplementation();
+}
+
+CustomerInfoImpl_CustomerInfoService_Wrapper::~CustomerInfoImpl_CustomerInfoService_Wrapper()
+{
+ releaseImplementation();
+}
+
+void* CustomerInfoImpl_CustomerInfoService_Wrapper::newImplementation()
+{
+ return new CustomerInfoImpl;
+}
+
+void CustomerInfoImpl_CustomerInfoService_Wrapper::deleteImplementation()
+{
+ delete impl;
+}
+
+void CustomerInfoImpl_CustomerInfoService_Wrapper::invokeService(Operation& operation)
+{
+ const string& operationName = operation.getName();
+
+ if (operationName == "getCustomerInformationChar")
+ {
+ const char* p0 = (const char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInformationChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoAChar")
+ {
+ const char* p0 = (const char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoAChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoBChar")
+ {
+ char* p0 = ( char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoBChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoCChar")
+ {
+ char& p0 = *( char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoCChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoDChar")
+ {
+ char& p0 = *( char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoDChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoEChar")
+ {
+ char* p0 = ( char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoEChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoFChar")
+ {
+ char* p0 = ( char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoFChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoGChar")
+ {
+ signed char* p0 = ( signed char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoGChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoHChar")
+ {
+ unsigned char* p0 = ( unsigned char*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoHChar(p0));
+ return;
+ }
+ if (operationName == "getCustomerInformationLong")
+ {
+ const long* p0 = (const long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInformationLong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoALong")
+ {
+ const long* p0 = (const long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoALong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoBLong")
+ {
+ long* p0 = ( long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoBLong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoCLong")
+ {
+ long& p0 = *( long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoCLong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoDLong")
+ {
+ long& p0 = *( long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoDLong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoELong")
+ {
+ long* p0 = ( long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoELong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoFLong")
+ {
+ long* p0 = ( long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoFLong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoGLong")
+ {
+ signed long* p0 = ( signed long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoGLong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoHLong")
+ {
+ unsigned long* p0 = ( unsigned long*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoHLong(p0));
+ return;
+ }
+ if (operationName == "getCustomerInformationInt")
+ {
+ const int* p0 = (const int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInformationInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoAInt")
+ {
+ const int* p0 = (const int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoAInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoBInt")
+ {
+ int* p0 = ( int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoBInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoCInt")
+ {
+ int& p0 = *( int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoCInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoDInt")
+ {
+ int& p0 = *( int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoDInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoEInt")
+ {
+ int* p0 = ( int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoEInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoFInt")
+ {
+ int* p0 = ( int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoFInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoGInt")
+ {
+ signed int* p0 = ( signed int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoGInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoHInt")
+ {
+ unsigned int* p0 = ( unsigned int*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoHInt(p0));
+ return;
+ }
+ if (operationName == "getCustomerInformationint64")
+ {
+ const __int64* p0 = (const __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInformationint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoAint64")
+ {
+ const __int64* p0 = (const __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoAint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoBint64")
+ {
+ __int64* p0 = ( __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoBint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoCint64")
+ {
+ __int64& p0 = *( __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoCint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoDint64")
+ {
+ __int64& p0 = *( __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoDint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoEint64")
+ {
+ __int64* p0 = ( __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoEint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoFint64")
+ {
+ __int64* p0 = ( __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoFint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoGint64")
+ {
+ signed __int64* p0 = ( signed __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoGint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoHint64")
+ {
+ unsigned int64* p0 = ( unsigned int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoHint64(p0));
+ return;
+ }
+ if (operationName == "getCustomerInformationVoid")
+ {
+ const __int64* p0 = (const __int64*)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInformationVoid(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoAVoid")
+ {
+ const __int64* p0 = (const __int64*)operation.getParameter(0);
+ impl->getCustomerInfoAVoid(p0);
+ return;
+ }
+ if (operationName == "getCustomerInfoBVoid")
+ {
+ impl->getCustomerInfoBVoid();
+ return;
+ }
+ if (operationName == "getCustomerInfoCVoid")
+ {
+ impl->getCustomerInfoCVoid();
+ return;
+ }
+ if (operationName == "getCustomerInfoDVoid")
+ {
+ impl->getCustomerInfoDVoid();
+ return;
+ }
+ if (operationName == "getCustomerInfoAInline")
+ {
+ char* customer p0 = ( char* customer)operation.getParameter(0);
+
+ operation.setReturnValue((void*) impl->getCustomerInfoAInline(p0));
+ return;
+ }
+ if (operationName == "getCustomerInfoBInline")
+ {
+ char* customer p0 = ( char* customer)operation.getParameter(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));
+ return;
+ }
+ if (operationName == "getCustomerInfoTrickyA")
+ {
+ const char& p0 = *(const char*)operation.getParameter(0);
+ *(int*)operation.getReturnValue() = impl->getCustomerInfoTrickyA(p0);
+ return;
+ }
+ if (operationName == "getCustomerInfoTrickyB")
+ {
+ int& p0 = *( int*)operation.getParameter(0);
+ *(int*)operation.getReturnValue() = impl->getCustomerInfoTrickyB(p0);
+ return;
+ }
+
+
+ throw ServiceRuntimeException("Invalid operation");
+
+}
+
diff --git a/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h
new file mode 100644
index 0000000000..778a168220
--- /dev/null
+++ b/sca-cpp/tags/cpp-sca-20060405/tools/scagen/junit/testoutput/CustomerInfoImplSingleParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef CustomerInfoImpl_CustomerInfoService_Wrapper_h
+#define CustomerInfoImpl_CustomerInfoService_Wrapper_h
+
+#include "CustomerInfoImpl.h"
+#include "tuscany/sca/core/ComponentServiceWrapper.h"
+
+class CustomerInfoImpl_CustomerInfoService_Wrapper : public tuscany::sca::ComponentServiceWrapper
+{
+public:
+ CustomerInfoImpl_CustomerInfoService_Wrapper(tuscany::sca::model::Service* target);
+ virtual ~CustomerInfoImpl_CustomerInfoService_Wrapper();
+ virtual void invokeService(tuscany::sca::Operation& operation);
+ virtual void* newImplementation();
+ virtual void deleteImplementation();
+private:
+ CustomerInfoImpl* impl;
+};
+
+#endif // CustomerInfoImpl_CustomerInfoService_Wrapper_h
+