diff options
Diffstat (limited to 'tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest')
4 files changed, 0 insertions, 1267 deletions
diff --git a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp b/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp deleted file mode 100644 index 9087c58b0f..0000000000 --- a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.cpp +++ /dev/null @@ -1,699 +0,0 @@ -/* - * 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( char* arg0, const char* arg1) -{ - Operation operation("getCustomerInformationChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAChar( char* arg0, const char* arg1) -{ - Operation operation("getCustomerInfoAChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBChar( char* arg0, char* arg1) -{ - Operation operation("getCustomerInfoBChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCChar( char* arg0, char arg1) -{ - Operation operation("getCustomerInfoCChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDChar( char* arg0, char arg1) -{ - Operation operation("getCustomerInfoDChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEChar( char* arg0, char* arg1) -{ - Operation operation("getCustomerInfoEChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFChar( char* arg0, char* arg1, char* arg2) -{ - Operation operation("getCustomerInfoFChar", 3); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - operation.setParameter(2, (void*)arg2); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGChar( char* arg0, char* arg1, char* arg2, signed char* arg3) -{ - Operation operation("getCustomerInfoGChar", 4); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - operation.setParameter(2, (void*)arg2); - - operation.setParameter(3, (void*)arg3); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHChar( unsigned char* arg0, const char arg1) -{ - Operation operation("getCustomerInfoHChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHChar( unsigned char* arg0, const char* arg1) -{ - Operation operation("getCustomerInfoHChar", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationLong(const long* arg0, const long* arg1) -{ - Operation operation("getCustomerInformationLong", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoALong(const long* arg0, const long* arg1) -{ - Operation operation("getCustomerInfoALong", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBLong( long* arg0, long* arg1) -{ - Operation operation("getCustomerInfoBLong", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCLong( long arg0, long arg1) -{ - Operation operation("getCustomerInfoCLong", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDLong( long arg0, long arg1) -{ - Operation operation("getCustomerInfoDLong", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoELong( long* arg0, long* arg1) -{ - Operation operation("getCustomerInfoELong", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFLong( long* arg0, long* arg1) -{ - Operation operation("getCustomerInfoFLong", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGLong( signed long* arg0, signed long* arg1) -{ - Operation operation("getCustomerInfoGLong", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const long* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHLong( signed long* arg0, signed long* arg1) -{ - Operation operation("getCustomerInfoHLong", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const long*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationInt( char* arg0, const int* arg1) -{ - Operation operation("getCustomerInformationInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAInt( char* arg0, const int* arg1) -{ - Operation operation("getCustomerInfoAInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBInt( char* arg0, int* arg1) -{ - Operation operation("getCustomerInfoBInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCInt( char* arg0, int arg1) -{ - Operation operation("getCustomerInfoCInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDInt( char* arg0, int arg1) -{ - Operation operation("getCustomerInfoDInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEInt( char* arg0, int* arg1) -{ - Operation operation("getCustomerInfoEInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFInt( char* arg0, int* arg1) -{ - Operation operation("getCustomerInfoFInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGInt( char* arg0, signed int* arg1) -{ - Operation operation("getCustomerInfoGInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const int* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHInt( char* arg0, unsigned int* arg1) -{ - Operation operation("getCustomerInfoHInt", 2); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const int*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationint64( Diamond& arg0, const __int64* arg1) -{ - Operation operation("getCustomerInformationint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAint64( Diamond& arg0, const __int64* arg1) -{ - Operation operation("getCustomerInfoAint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBint64( Diamond& arg0, __int64* arg1) -{ - Operation operation("getCustomerInfoBint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoCint64( Diamond& arg0, __int64 arg1) -{ - Operation operation("getCustomerInfoCint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoDint64( Diamond& arg0, __int64 arg1) -{ - Operation operation("getCustomerInfoDint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)&arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEint64( Diamond& arg0, __int64* arg1) -{ - Operation operation("getCustomerInfoEint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFint64( Diamond& arg0, __int64* arg1) -{ - Operation operation("getCustomerInfoFint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGint64( Diamond& arg0, signed __int64* arg1) -{ - Operation operation("getCustomerInfoGint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const __int64* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoHint64(const Diamond& arg0, unsigned int64* arg1) -{ - Operation operation("getCustomerInfoHint64", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const __int64*)operation.getReturnValue(); - -} - -const void* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformationVoid( float& arg0, const __int64* arg1) -{ - Operation operation("getCustomerInformationVoid", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - target->invoke(operation); - return (const void*)operation.getReturnValue(); - -} - -void CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAVoid(const float& arg0, const __int64* arg1) -{ - Operation operation("getCustomerInfoAVoid", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)arg1); - - - 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; - -} - -char CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoEVoid() -{ - Operation operation("getCustomerInfoEVoid", 0); - char ret; - operation.setReturnValue((void*)&ret); - target->invoke(operation); - return ret; - -} - -char CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoFVoid() -{ - Operation operation("getCustomerInfoFVoid", 0); - char ret; - operation.setReturnValue((void*)&ret); - target->invoke(operation); - return ret; - -} - -char CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoGVoid() -{ - Operation operation("getCustomerInfoGVoid", 0); - char ret; - operation.setReturnValue((void*)&ret); - target->invoke(operation); - return ret; - -} - -const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoAInline( int arg0, int arg1, int arg2, int arg3, char* customer arg4) -{ - Operation operation("getCustomerInfoAInline", 5); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)&arg1); - - operation.setParameter(2, (void*)&arg2); - - operation.setParameter(3, (void*)&arg3); - - operation.setParameter(4, (void*)arg4); - - - target->invoke(operation); - return (const char*)operation.getReturnValue(); - -} - -int CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoBInline( int* arg0, int* arg1, int* arg2, char* customer arg3) -{ - Operation operation("getCustomerInfoBInline", 4); - operation.setParameter(0, (void*)arg0); - - operation.setParameter(1, (void*)arg1); - - operation.setParameter(2, (void*)arg2); - - operation.setParameter(3, (void*)arg3); - - 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, const char arg1) -{ - Operation operation("getCustomerInfoTrickyA", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)&arg1); - - int ret; - operation.setReturnValue((void*)&ret); - target->invoke(operation); - return ret; - -} - -int CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInfoTrickyB( int arg0, int arg1) -{ - Operation operation("getCustomerInfoTrickyB", 2); - operation.setParameter(0, (void*)&arg0); - - operation.setParameter(1, (void*)&arg1); - - int ret; - operation.setReturnValue((void*)&ret); - target->invoke(operation); - return ret; - -} - - diff --git a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h b/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h deleted file mode 100644 index 47b604358a..0000000000 --- a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Proxy.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * 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( char* p1, const char* customerID); - virtual const char* getCustomerInfoAChar( char* p1, const char* ); - virtual const char* getCustomerInfoBChar( char* p1, char* customerID); - virtual const char* getCustomerInfoCChar( char* p1, char customerID); - virtual const char* getCustomerInfoDChar( char* p1, char ); - virtual const char* getCustomerInfoEChar( char* p1, char* ); - virtual const char* getCustomerInfoFChar( char* p1, char* p1, char* customerID); - virtual const char* getCustomerInfoGChar( char* p1, char* , char* p1, signed char* customerID); - virtual const char* getCustomerInfoHChar( unsigned char* customerID, const char ); - virtual const char* getCustomerInfoHChar( unsigned char* customerID, const char* ); - virtual const long* getCustomerInformationLong(const long* customerID, const long* customerID); - virtual const long* getCustomerInfoALong(const long* , const long* ); - virtual const long* getCustomerInfoBLong( long* customerID, long* customerID2); - virtual const long* getCustomerInfoCLong( long customerID, long customerID2); - virtual const long* getCustomerInfoDLong( long , long ); - virtual const long* getCustomerInfoELong( long* , long* ); - virtual const long* getCustomerInfoFLong( long* customerID, long* customerID2); - virtual const long* getCustomerInfoGLong( signed long* customerID, signed long* customerID2); - virtual const long* getCustomerInfoHLong( signed long* customerID, signed long* customerID2); - virtual const int* getCustomerInformationInt( char* , const int* customerID); - virtual const int* getCustomerInfoAInt( char* , const int* ); - virtual const int* getCustomerInfoBInt( char* , int* customerID); - virtual const int* getCustomerInfoCInt( char* , int customerID); - virtual const int* getCustomerInfoDInt( char* , int ); - virtual const int* getCustomerInfoEInt( char* , int* ); - virtual const int* getCustomerInfoFInt( char* , int* customerID); - virtual const int* getCustomerInfoGInt( char* , signed int* customerID); - virtual const int* getCustomerInfoHInt( char* , unsigned int* customerID); - virtual const __int64* getCustomerInformationint64( Diamond& , const __int64* customerID); - virtual const __int64* getCustomerInfoAint64( Diamond& , const __int64* ); - virtual const __int64* getCustomerInfoBint64( Diamond& , __int64* customerID); - virtual const __int64* getCustomerInfoCint64( Diamond& , __int64 customerID); - virtual const __int64* getCustomerInfoDint64( Diamond& myDiamond, __int64 ); - virtual const __int64* getCustomerInfoEint64( Diamond& myDiamond, __int64* ); - virtual const __int64* getCustomerInfoFint64( Diamond& myDiamond, __int64* customerID); - virtual const __int64* getCustomerInfoGint64( Diamond& myDiamond, signed __int64* customerID); - virtual const __int64* getCustomerInfoHint64(const Diamond& myDiamond, unsigned int64* customerID); - virtual const void* getCustomerInformationVoid( float& f, const __int64* customerID); - virtual void getCustomerInfoAVoid(const float& f, const __int64* ); - virtual void getCustomerInfoBVoid(); - virtual void getCustomerInfoCVoid(); - virtual void getCustomerInfoDVoid( void ); - virtual char getCustomerInfoEVoid( void ); - virtual char getCustomerInfoFVoid(); - virtual char getCustomerInfoGVoid( void ); - virtual const char* getCustomerInfoAInline( int , int , int , int , char* customer id); - virtual int getCustomerInfoBInline( int* , int* f, int* g, char* customer id); - virtual friend const unsigned int* getCustomerInfoCInline( char* customer id); - virtual int getCustomerInfoTrickyA(const char , const char ); - virtual int getCustomerInfoTrickyB( int myInt, int myInt); -private: - tuscany::sca::ServiceWrapper* target; -}; - -#endif // CustomerInfoImpl_CustomerInfoService_Proxy_h - diff --git a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp b/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp deleted file mode 100644 index 51c975ec9b..0000000000 --- a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp +++ /dev/null @@ -1,449 +0,0 @@ -/* - * 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") - { - char* p0 = ( char*)operation.getParameter(0); - const char* p1 = (const char*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoBChar") - { - char* p0 = ( char*)operation.getParameter(0); - char* p1 = ( char*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoDChar") - { - char* p0 = ( char*)operation.getParameter(0); - char& p1 = *( char*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - 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)); - 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)); - 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)); - 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)); - 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)); - 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)); - return; - } - if (operationName == "getCustomerInfoBLong") - { - long* p0 = ( long*)operation.getParameter(0); - long* p1 = ( long*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoDLong") - { - long& p0 = *( long*)operation.getParameter(0); - long& p1 = *( long*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoFLong") - { - long* p0 = ( long*)operation.getParameter(0); - long* p1 = ( long*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - 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)); - 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)); - 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)); - return; - } - if (operationName == "getCustomerInfoBInt") - { - char* p0 = ( char*)operation.getParameter(0); - int* p1 = ( int*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoDInt") - { - char* p0 = ( char*)operation.getParameter(0); - int& p1 = *( int*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoFInt") - { - char* p0 = ( char*)operation.getParameter(0); - int* p1 = ( int*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - 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)); - 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)); - 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)); - return; - } - if (operationName == "getCustomerInfoBint64") - { - Diamond& p0 = *(Diamond*)operation.getParameter(0); - __int64* p1 = ( __int64*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoDint64") - { - Diamond& p0 = *(Diamond*)operation.getParameter(0); - __int64& p1 = *( __int64*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - return; - } - if (operationName == "getCustomerInfoFint64") - { - Diamond& p0 = *(Diamond*)operation.getParameter(0); - __int64* p1 = ( __int64*)operation.getParameter(1); - - operation.setReturnValue((void*) 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)); - 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)); - 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)); - return; - } - if (operationName == "getCustomerInfoAVoid") - { - float& p0 = *(float*)operation.getParameter(0); - const __int64* p1 = (const __int64*)operation.getParameter(1); - impl->getCustomerInfoAVoid(p0, p1); - return; - } - if (operationName == "getCustomerInfoBVoid") - { - impl->getCustomerInfoBVoid(); - return; - } - if (operationName == "getCustomerInfoCVoid") - { - impl->getCustomerInfoCVoid(); - return; - } - if (operationName == "getCustomerInfoDVoid") - { - impl->getCustomerInfoDVoid(); - return; - } - if (operationName == "getCustomerInfoEVoid") - { - *(char*)operation.getReturnValue() = impl->getCustomerInfoEVoid(); - return; - } - if (operationName == "getCustomerInfoFVoid") - { - *(char*)operation.getReturnValue() = impl->getCustomerInfoFVoid(); - return; - } - if (operationName == "getCustomerInfoGVoid") - { - *(char*)operation.getReturnValue() = impl->getCustomerInfoGVoid(); - return; - } - 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)); - 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*)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)); - return; - } - if (operationName == "getCustomerInfoTrickyA") - { - const char& p0 = *(const char*)operation.getParameter(0); - const char& p1 = *(const char*)operation.getParameter(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*)operation.getReturnValue() = impl->getCustomerInfoTrickyB(p0, p1); - return; - } - - - throw ServiceRuntimeException("Invalid operation"); - -} - diff --git a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h b/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h deleted file mode 100644 index 778a168220..0000000000 --- a/tags/cpp-stable-20060304/sca/tools/scagen/junit/testoutput/CustomerInfoImplMultiParamDiffTypesTest/expected_output/CustomerInfoImpl_CustomerInfoService_Wrapper.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 - |