// **********************************************************************
//
// Generated by the ORBacus IDL-to-C++ Translator
//
// Copyright (c) 2003
// IONA Technologies, Inc.
// Waltham, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

// Version: 4.1.3

#ifndef __OB_IMRORT_h__
#define __OB_IMRORT_h__

#ifndef OB_IMPORT
#   ifdef OB_DLL
#      define OB_IMPORT __declspec(dllimport)
#   else
#      define OB_IMPORT /**/
#   endif
#endif


#include <OB/PIORT.h>
#include <OB/IOP.h>
#include <OB/IMRORT_fwd.h>

#ifndef OB_INTEGER_VERSION
#   error No ORBacus version defined! Is <OB/CORBA.h> included?
#endif

#ifndef OB_NO_VERSION_CHECK
#   if (OB_INTEGER_VERSION != 4010300L)
#       error ORBacus version mismatch!
#   endif
#endif

namespace OBStubImpl_OBPortableInterceptor
{

} // End of namespace OBStubImpl_OBPortableInterceptor

namespace OBStubImpl_OBPortableInterceptor
{

} // End of namespace OBStubImpl_OBPortableInterceptor

//
// IDL:ooc.com/OBPortableInterceptor:1.0
//
namespace OBPortableInterceptor
{

//
// IDL:ooc.com/OBPortableInterceptor/IMRORT:1.0
//
class IMRORT : virtual public ::PortableInterceptor::ObjectReferenceTemplate
{
    void operator=(const IMRORT&);

    static const char* _ob_id_;

protected:

    IMRORT() { }
    virtual ~IMRORT() { }

public:

    typedef IMRORT_var _var_type;

    static IMRORT* _downcast(::CORBA::ValueBase*);
    static IMRORT* _downcast(::CORBA::AbstractBase_ptr);

protected:

    //
    // IDL:ooc.com/OBPortableInterceptor/IMRORT/the_server_id:1.0
    //
    virtual void the_server_id(char*) = 0;
    virtual void the_server_id(const char*) = 0;
    virtual void the_server_id(const ::CORBA::String_var&) = 0;
    virtual const char* the_server_id() const = 0;

    //
    // IDL:ooc.com/OBPortableInterceptor/IMRORT/the_adapter_name:1.0
    //
    virtual void the_adapter_name(const ::PortableInterceptor::AdapterName&) = 0;
    virtual const ::PortableInterceptor::AdapterName& the_adapter_name() const = 0;
    virtual ::PortableInterceptor::AdapterName& the_adapter_name() = 0;

    //
    // IDL:ooc.com/OBPortableInterceptor/IMRORT/the_real_template:1.0
    //
    virtual void the_real_template(::PortableInterceptor::ObjectReferenceTemplate*) = 0;
    virtual ::PortableInterceptor::ObjectReferenceTemplate* the_real_template() const = 0;

public:

    static const char* _OB_id();

    virtual const char* _OB_typeId() const;

    virtual void _OB_marshal(OB::OutputStreamImpl*);
    virtual void _OB_unmarshal(OB::InputStreamImpl*);
};

} // End of namespace OBPortableInterceptor

//
// IDL:ooc.com/OBPortableInterceptor:1.0
//
namespace OBProxy_OBPortableInterceptor
{

} // End of namespace OBProxy_OBPortableInterceptor

//
// IDL:ooc.com/OBPortableInterceptor:1.0
//
namespace OBStubImpl_OBPortableInterceptor
{

} // End of namespace OBStubImpl_OBPortableInterceptor

//
// IDL:ooc.com/OBPortableInterceptor:1.0
//
namespace OBMarshalStubImpl_OBPortableInterceptor
{

} // End of namespace OBMarshalStubImpl_OBPortableInterceptor

//
// IDL:ooc.com/OBPortableInterceptor:1.0
//
namespace OBV_OBPortableInterceptor
{

//
// IDL:ooc.com/OBPortableInterceptor/IMRORT:1.0
//
class IMRORT : virtual public ::OBPortableInterceptor::IMRORT
{
    void operator=(const IMRORT&);

    OB::StrForStruct _obv_the_server_id_;
    ::PortableInterceptor::AdapterName _obv_the_adapter_name_;
    ::PortableInterceptor::ObjectReferenceTemplate_var _obv_the_real_template_;

protected:

    IMRORT();
    IMRORT(const char*,
           const ::PortableInterceptor::AdapterName&,
           ::PortableInterceptor::ObjectReferenceTemplate*);
    virtual ~IMRORT();

    //
    // IDL:ooc.com/OBPortableInterceptor/IMRORT/the_server_id:1.0
    //
    virtual void the_server_id(char*);
    virtual void the_server_id(const char*);
    virtual void the_server_id(const ::CORBA::String_var&);
    virtual const char* the_server_id() const;

    //
    // IDL:ooc.com/OBPortableInterceptor/IMRORT/the_adapter_name:1.0
    //
    virtual void the_adapter_name(const ::PortableInterceptor::AdapterName&);
    virtual const ::PortableInterceptor::AdapterName& the_adapter_name() const;
    virtual ::PortableInterceptor::AdapterName& the_adapter_name();

    //
    // IDL:ooc.com/OBPortableInterceptor/IMRORT/the_real_template:1.0
    //
    virtual void the_real_template(::PortableInterceptor::ObjectReferenceTemplate*);
    virtual ::PortableInterceptor::ObjectReferenceTemplate* the_real_template() const;
};

} // End of namespace OBV_OBPortableInterceptor

//
// IDL:ooc.com/OBPortableInterceptor/IMRORT:1.0
//
void operator<<=(::CORBA::Any&, OBPortableInterceptor::IMRORT**);
void operator<<=(::CORBA::Any&, OBPortableInterceptor::IMRORT*);
CORBA::Boolean operator>>=(const ::CORBA::Any&, OBPortableInterceptor::IMRORT*&);

inline void
operator<<=(::CORBA::Any_var& any, OBPortableInterceptor::IMRORT** val)
{
    any.inout() <<= val;
}

inline void
operator<<=(::CORBA::Any_var& any, OBPortableInterceptor::IMRORT* val)
{
    any.inout() <<= val;
}

inline ::CORBA::Boolean
operator>>=(const ::CORBA::Any_var& any, OBPortableInterceptor::IMRORT*& val)
{
    return any.in() >>= val;
}

#endif
