// **********************************************************************
//
// 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_WrongTransaction_h__
#define __OB_WrongTransaction_h__

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


#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 CORBA
{

} // End of namespace CORBA

namespace CORBA
{

} // End of namespace CORBA

namespace OBStubImpl_CORBA
{

} // End of namespace OBStubImpl_CORBA

namespace OBStubImpl_CORBA
{

} // End of namespace OBStubImpl_CORBA

//
// IDL:omg.org/CORBA:1.0
//
namespace CORBA
{

//
// IDL:omg.org/CORBA/WrongTransaction:1.0
//
struct WrongTransaction : public ::CORBA::UserException
{
    WrongTransaction() { }
    WrongTransaction(const WrongTransaction&);
    WrongTransaction& operator=(const WrongTransaction&);

    static WrongTransaction* _downcast(::CORBA::Exception*);
    static const WrongTransaction* _downcast(const ::CORBA::Exception*);
    virtual const char* _name() const;
    virtual void _raise() const { throw *this; }
    virtual const char* _rep_id() const;
    virtual char* _to_string() const;

    virtual ::CORBA::Exception* _OB_clone() const;
    virtual void _OB_insertInAny(::CORBA::Any&);

    static void _OB_unmarshal(WrongTransaction&, OB::InputStreamImpl*);
};

OB_IMPORT extern OB::TypeCodeConst _tc_WrongTransaction;

} // End of namespace CORBA

//
// IDL:omg.org/CORBA:1.0
//
namespace OBProxy_CORBA
{

} // End of namespace OBProxy_CORBA

//
// IDL:omg.org/CORBA:1.0
//
namespace OBStubImpl_CORBA
{

} // End of namespace OBStubImpl_CORBA

//
// IDL:omg.org/CORBA:1.0
//
namespace OBMarshalStubImpl_CORBA
{

} // End of namespace OBMarshalStubImpl_CORBA

//
// IDL:omg.org/CORBA:1.0
//
namespace OBV_CORBA
{

} // End of namespace OBV_CORBA

//
// IDL:omg.org/CORBA/WrongTransaction:1.0
//
void operator<<=(::CORBA::Any&, CORBA::WrongTransaction*);
void operator<<=(::CORBA::Any&, const CORBA::WrongTransaction&);
CORBA::Boolean operator>>=(const ::CORBA::Any&, const CORBA::WrongTransaction*&);

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

inline void
operator<<=(::CORBA::Any_var& any, const CORBA::WrongTransaction& val)
{
    any.inout() <<= val;
}

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

#endif
