// **********************************************************************
//
// 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_UnknownException_h__
#define __OB_UnknownException_h__

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


#include <OB/OCI.h>
#include <OB/UnknownException_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_OB
{

} // End of namespace OBStubImpl_OB

namespace OBStubImpl_OB
{

} // End of namespace OBStubImpl_OB

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

//
// IDL:ooc.com/OB/UnknownExceptionInfo:1.0
//
class UnknownExceptionInfo : virtual public ::CORBA::Object
{
    UnknownExceptionInfo(const UnknownExceptionInfo&);
    void operator=(const UnknownExceptionInfo&);

protected:

    static OB_IMPORT const char* ids_[];

public:

    UnknownExceptionInfo() { }
    virtual ~UnknownExceptionInfo() { }

    typedef UnknownExceptionInfo_ptr _ptr_type;
    typedef UnknownExceptionInfo_var _var_type;

    static inline UnknownExceptionInfo_ptr
    _duplicate(UnknownExceptionInfo_ptr p)
    {
        if(p)
            p -> _add_ref();
        return p;
    }

    static inline UnknownExceptionInfo_ptr
    _nil()
    {
        return 0;
    }

    static UnknownExceptionInfo_ptr _narrow(::CORBA::Object_ptr);

    static UnknownExceptionInfo_ptr _narrow(::CORBA::AbstractBase_ptr);


    //
    // IDL:ooc.com/OB/UnknownExceptionInfo/operation:1.0
    //
    virtual char* operation() = 0;

    //
    // IDL:ooc.com/OB/UnknownExceptionInfo/response_expected:1.0
    //
    virtual ::CORBA::Boolean response_expected() = 0;

    //
    // IDL:ooc.com/OB/UnknownExceptionInfo/transport_info:1.0
    //
    virtual ::OCI::TransportInfo_ptr transport_info() = 0;

    //
    // IDL:ooc.com/OB/UnknownExceptionInfo/describe_exception:1.0
    //
    virtual char* describe_exception() = 0;

    //
    // IDL:ooc.com/OB/UnknownExceptionInfo/raise_exception:1.0
    //
    virtual void raise_exception() = 0;
};

//
// IDL:ooc.com/OB/UnknownExceptionStrategy:1.0
//
class UnknownExceptionStrategy : virtual public ::CORBA::Object
{
    UnknownExceptionStrategy(const UnknownExceptionStrategy&);
    void operator=(const UnknownExceptionStrategy&);

protected:

    static OB_IMPORT const char* ids_[];

public:

    UnknownExceptionStrategy() { }
    virtual ~UnknownExceptionStrategy() { }

    typedef UnknownExceptionStrategy_ptr _ptr_type;
    typedef UnknownExceptionStrategy_var _var_type;

    static inline UnknownExceptionStrategy_ptr
    _duplicate(UnknownExceptionStrategy_ptr p)
    {
        if(p)
            p -> _add_ref();
        return p;
    }

    static inline UnknownExceptionStrategy_ptr
    _nil()
    {
        return 0;
    }

    static UnknownExceptionStrategy_ptr _narrow(::CORBA::Object_ptr);

    static UnknownExceptionStrategy_ptr _narrow(::CORBA::AbstractBase_ptr);


    //
    // IDL:ooc.com/OB/UnknownExceptionStrategy/unknown_exception:1.0
    //
    virtual void unknown_exception(UnknownExceptionInfo_ptr info) = 0;

    //
    // IDL:ooc.com/OB/UnknownExceptionStrategy/destroy:1.0
    //
    virtual void destroy() = 0;
};

} // End of namespace OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBProxy_OB
{

} // End of namespace OBProxy_OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBStubImpl_OB
{

} // End of namespace OBStubImpl_OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBMarshalStubImpl_OB
{

} // End of namespace OBMarshalStubImpl_OB

//
// IDL:ooc.com/OB:1.0
//
namespace OBV_OB
{

} // End of namespace OBV_OB

//
// IDL:ooc.com/OB/UnknownExceptionInfo:1.0
//
namespace CORBA
{

inline void
release(::OB::UnknownExceptionInfo_ptr p)
{
    if(p)
        p -> _remove_ref();
}

inline Boolean
is_nil(::OB::UnknownExceptionInfo_ptr p)
{
    return p == 0;
}

} // End of namespace CORBA

//
// IDL:ooc.com/OB/UnknownExceptionStrategy:1.0
//
namespace CORBA
{

inline void
release(::OB::UnknownExceptionStrategy_ptr p)
{
    if(p)
        p -> _remove_ref();
}

inline Boolean
is_nil(::OB::UnknownExceptionStrategy_ptr p)
{
    return p == 0;
}

} // End of namespace CORBA

#endif
