diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-02-08 01:08:32 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-02-08 01:08:32 +0000 |
commit | 78ae675a995746ed9c06cebcb299c5ab24adc091 (patch) | |
tree | 7ab7c47d9e7d717d76039c027c28553562075526 /TAO/tao/WrongTransactionC.h | |
parent | 7df63542de3b2332e1bcbd60c16b0997ea5af417 (diff) | |
download | ATCD-78ae675a995746ed9c06cebcb299c5ab24adc091.tar.gz |
ChangeLogTag:Thu Feb 7 17:06:24 2002 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/WrongTransactionC.h')
-rw-r--r-- | TAO/tao/WrongTransactionC.h | 155 |
1 files changed, 101 insertions, 54 deletions
diff --git a/TAO/tao/WrongTransactionC.h b/TAO/tao/WrongTransactionC.h index 9dff05c5b16..a29869dc5f8 100644 --- a/TAO/tao/WrongTransactionC.h +++ b/TAO/tao/WrongTransactionC.h @@ -1,42 +1,53 @@ -/* -*- C++ -*- */ - -//============================================================================= -/** - * @file WrongTransactionC.h - * - * $Id$ - * - * ****** Code generated by the The ACE ORB (TAO) IDL Compiler ******* - * TAO and the TAO IDL Compiler have been developed by the Center for - * Distributed Object Computing at Washington University, St. Louis. - * - * Information about TAO is available at: - * http://www.cs.wustl.edu/~schmidt/TAO.html - * - */ -//============================================================================= - - -#ifndef TAO_IDL_WRONG_TRANSACTIONC_H -#define TAO_IDL_WRONG_TRANSACTIONC_H -#include "ace/pre.h" +// -*- C++ -*- +// +// $Id$ + +// **** Code generated by the The ACE ORB (TAO) IDL Compiler **** +// TAO and the TAO IDL Compiler have been developed by: +// Center for Distributed Object Computing +// Washington University +// St. Louis, MO +// USA +// http://www.cs.wustl.edu/~schmidt/doc-center.html +// and +// Distributed Object Computing Laboratory +// University of California at Irvine +// Irvine, CA +// USA +// http://doc.ece.uci.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#ifndef _TAO_IDL_ORIG_WRONGTRANSACTIONC_H_ +#define _TAO_IDL_ORIG_WRONGTRANSACTIONC_H_ -#include "tao/orbconf.h" +#include "ace/pre.h" +#include "tao/corbafwd.h" #if (TAO_HAS_MINIMUM_CORBA == 0) -#include "tao/corbafwd.h" #include "tao/Exception.h" +#include "tao/CDR.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "TAO_Export.h" #if defined (TAO_EXPORT_MACRO) #undef TAO_EXPORT_MACRO #endif -#define TAO_EXPORT_MACRO +#define TAO_EXPORT_MACRO TAO_Export + +#if defined (TAO_EXPORT_NESTED_CLASSES) +# if defined (TAO_EXPORT_NESTED_MACRO) +# undef TAO_EXPORT_NESTED_MACRO +# endif /* defined (TAO_EXPORT_NESTED_MACRO) */ +# define TAO_EXPORT_NESTED_MACRO TAO_Export +#endif /* TAO_EXPORT_NESTED_CLASSES */ + #if defined(_MSC_VER) #if (_MSC_VER >= 1200) #pragma warning(push) @@ -44,49 +55,85 @@ #pragma warning(disable:4250) #endif /* _MSC_VER */ -/** - * @class CORBA_WrongTransaction - * - * @brief Exception class generated by the TAO IDL compiler. - * - * This exception is thrown if a CORBA Request is implicitly - * associated with a transaction and is found to have an - * error in its parameters when checked at runtime (invocation). - */ -class TAO_Export CORBA_WrongTransaction : public CORBA::UserException +#if defined (__BORLANDC__) +#pragma option push -w-rvl -w-rch -w-ccc -w-inl +#endif /* __BORLANDC__ */ + +TAO_NAMESPACE CORBA { -public: - CORBA_WrongTransaction (void); // default ctor - CORBA_WrongTransaction (const CORBA_WrongTransaction &); // copy ctor - ~CORBA_WrongTransaction (void); // dtor - CORBA_WrongTransaction &operator= (const CORBA_WrongTransaction &); +#if !defined (_CORBA_WRONGTRANSACTION_CH_) +#define _CORBA_WRONGTRANSACTION_CH_ + + class TAO_Export WrongTransaction : public CORBA::UserException + { + public: + + WrongTransaction (void); + WrongTransaction (const WrongTransaction &); + ~WrongTransaction (void); + + WrongTransaction &operator= (const WrongTransaction &); + + static void _tao_any_destructor (void*); + + static WrongTransaction *_downcast (CORBA::Exception *); + static CORBA::Exception *_alloc (void); + virtual CORBA::Exception *_tao_duplicate (void) const; - virtual void _raise (void); + virtual void _raise (void); - virtual void _tao_encode (TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL_NOT_USED) const; - virtual void _tao_decode (TAO_InputCDR &cdr ACE_ENV_ARG_DECL_NOT_USED); + virtual void _tao_encode ( + TAO_OutputCDR & + ACE_ENV_ARG_DECL_NOT_USED + ) const; - static CORBA_WrongTransaction *_downcast (CORBA::Exception *); + virtual void _tao_decode ( + TAO_InputCDR & + ACE_ENV_ARG_DECL_NOT_USED + ); - // = TAO extension - static CORBA::Exception *_alloc (void); + virtual CORBA::TypeCode_ptr _type (void) const; + }; -}; // exception CORBA::WrongTransaction +TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_WrongTransaction; -TAO_Export CORBA::Boolean -operator<< (TAO_OutputCDR &, const CORBA_WrongTransaction &); -TAO_Export CORBA::Boolean -operator>> (TAO_InputCDR &, CORBA_WrongTransaction &); + +#endif /* end #if !defined */ + + +} +TAO_NAMESPACE_CLOSE // module CORBA + +TAO_Export void operator<<= (CORBA::Any &, const CORBA::WrongTransaction &); // copying version +TAO_Export void operator<<= (CORBA::Any &, CORBA::WrongTransaction*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::WrongTransaction *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::WrongTransaction *&); + +#ifndef __ACE_INLINE__ + +TAO_Export CORBA::Boolean operator<< (TAO_OutputCDR &, const CORBA::WrongTransaction &); +TAO_Export CORBA::Boolean operator>> (TAO_InputCDR &, CORBA::WrongTransaction &); + + +#endif /* __ACE_INLINE__ */ + + +#if defined (__ACE_INLINE__) +#include "WrongTransactionC.i" +#endif /* defined INLINE */ #if defined(_MSC_VER) && (_MSC_VER >= 1200) #pragma warning(pop) #endif /* _MSC_VER */ -#endif /* TAO_HAS_MINIMUM_CORBA */ +#if defined (__BORLANDC__) +#pragma option pop +#endif /* __BORLANDC__ */ + +#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ #include "ace/post.h" -#endif /* ifndef TAO_IDL_WRONG_TRANSACTIONC_H */ +#endif /* ifndef */ |