// ********************************************************************** // // Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ********************************************************************** #include <WstringI.h> ::std::wstring Test1::WstringClassI::opString(ICE_IN(::std::wstring) s1, ::std::wstring& s2, const Ice::Current&) { s2 = s1; return s1; } ::Test1::WstringStruct Test1::WstringClassI::opStruct(ICE_IN(::Test1::WstringStruct) s1, ::Test1::WstringStruct& s2, const Ice::Current&) { s2 = s1; return s1; } void Test1::WstringClassI::throwExcept(ICE_IN(::std::wstring) reason,
// // Copyright (c) ZeroC, Inc. All rights reserved. // #include <Ice/Communicator.h> #include <TestI.h> Test::DoubleSeq TestIntfI::opDoubleArray(ICE_IN(std::pair<const Ice::Double*, const Ice::Double*>) inSeq, Test::DoubleSeq& outSeq, const Ice::Current&) { Test::DoubleSeq(inSeq.first, inSeq.second).swap(outSeq); return outSeq; } Test::BoolSeq TestIntfI::opBoolArray(ICE_IN(std::pair<const bool*, const bool*>) inSeq, Test::BoolSeq& outSeq, const Ice::Current&) { Test::BoolSeq(inSeq.first, inSeq.second).swap(outSeq); return outSeq; } Test::ByteList TestIntfI::opByteArray(ICE_IN(std::pair<const Ice::Byte*, const Ice::Byte*>) inSeq, Test::ByteList& outSeq, const Ice::Current&) { Test::ByteList(inSeq.first, inSeq.second).swap(outSeq);
Test::IntEnum TestIntfI::opInt(Test::IntEnum i1, Test::IntEnum& i2, const Ice::Current&) { i2 = i1; return i1; } Test::SimpleEnum TestIntfI::opSimple(Test::SimpleEnum s1, Test::SimpleEnum& s2, const Ice::Current&) { s2 = s1; return s1; } Test::ByteEnumSeq TestIntfI::opByteSeq(ICE_IN(Test::ByteEnumSeq) bs1, Test::ByteEnumSeq& bs2, const Ice::Current&) { bs2 = bs1; return bs1; } Test::ShortEnumSeq TestIntfI::opShortSeq(ICE_IN(Test::ShortEnumSeq) ss1, Test::ShortEnumSeq& ss2, const ::Ice::Current&) { ss2 = ss1; return ss1; } Test::IntEnumSeq TestIntfI::opIntSeq(ICE_IN(Test::IntEnumSeq) is1, Test::IntEnumSeq& is2, const ::Ice::Current&) {