//****************************************************************************** // RCF - Remote Call Framework // Copyright (c) 2005 - 2007. All rights reserved. // Consult your license for conditions of use. // Developed by Jarl Lindrud. // Contact: jlindrud@hotmail.com . //****************************************************************************** #ifndef INCLUDE_RCF_MARSHAL_INL_ #define INCLUDE_RCF_MARSHAL_INL_ #include #include #include #include namespace RCF { namespace IDL { void doInReturnValue( ClientStub &clientStub, SerializationProtocolIn &in, SerializationProtocolOut &out, bool oneway, bool &retry); template InReturnValue_Value::InReturnValue_Value( ClientStub &clientStub, SerializationProtocolIn &in, SerializationProtocolOut &out, bool oneway, bool &retry) : mT() { doInReturnValue(clientStub, in, out, oneway, retry); if (!oneway && !retry) { deserialize(in, mT); } } template T &InReturnValue_Value::get() { return mT; } template InReturnValue_Enum::InReturnValue_Enum( ClientStub &clientStub, SerializationProtocolIn &in, SerializationProtocolOut &out, bool oneway, bool &retry) : mT( T()) // vc 7.1 idiosyncrasy as I recall { doInReturnValue(clientStub, in, out, oneway, retry); if (!oneway && !retry) { deserialize(in, mT); } } template T &InReturnValue_Enum::get() { return mT; } inline InReturnValue_Value::InReturnValue_Value( ClientStub &clientStub, SerializationProtocolIn &in, SerializationProtocolOut &out, bool oneway, bool &retry) { doInReturnValue(clientStub, in, out, oneway, retry); } } // namespace IDL } // namespace RCF #endif // ! INCLUDE_RCF_MARSHAL_INL_