// **********************************************************************
//
// Generated by the ORBacus IDL-to-C++ Translator
//
// Copyright (c) 1999
// Object Oriented Concepts, Inc.
// Billerica, MA, USA
//
// All Rights Reserved
//
// **********************************************************************

// Version: 3.2.1
// License: non-commercial

#ifndef __Dynamic_h__
#define __Dynamic_h__

#ifndef OB_INTEGER_VERSION
#   error No ORBacus version defined!
#endif

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

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

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

    virtual void _raise() const { throw *this; }

    static CORBA_WrongTransaction* _narrow(CORBA_Exception*);
#ifdef HAVE_NO_RTTI
    virtual void* _OB_narrowHelp(const char*) const;
#endif
    virtual const char* _OB_typeId() const;
    virtual CORBA_Exception* _OB_clone() const;
};

OB_IMPORT extern OBTypeCodeConst CORBA__tc_WrongTransaction;

//
// IDL:omg.org/CORBA/WrongTransaction:1.0
//
void OBMarshal(const CORBA_WrongTransaction&, CORBA_Octet*&);
void OBMarshalCount(const CORBA_WrongTransaction&, CORBA_ULong&);
void OBUnmarshal(CORBA_WrongTransaction&, const CORBA_Octet*&, bool);

void operator<<=(CORBA_Any&, CORBA_WrongTransaction*);
void operator<<=(CORBA_Any&, const CORBA_WrongTransaction&);
CORBA_Boolean operator>>=(const CORBA_Any&, 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, CORBA_WrongTransaction*& val)
{
    return any.in() >>= val;
}

#endif
