2 // **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
3 // TAO and the TAO IDL Compiler have been developed by:
4 // Center for Distributed Object Computing
5 // Washington University
8 // http://www.cs.wustl.edu/~schmidt/doc-center.html
10 // Distributed Object Computing Laboratory
11 // University of California at Irvine
14 // http://doc.ece.uci.edu/
16 // Institute for Software Integrated Systems
17 // Vanderbilt University
20 // http://www.isis.vanderbilt.edu/
22 // Information about TAO is available at:
23 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
25 #include "tao/AnyTypeCode/WrongTransactionA.h"
26 #include "tao/AnyTypeCode/Null_RefCount_Policy.h"
27 #include "tao/AnyTypeCode/TypeCode_Constants.h"
28 #include "tao/AnyTypeCode/Alias_TypeCode_Static.h"
29 #include "tao/AnyTypeCode/Struct_TypeCode_Static.h"
30 #include "tao/AnyTypeCode/TypeCode_Struct_Field.h"
32 #include "tao/AnyTypeCode/Any.h"
33 #include "tao/AnyTypeCode/Any_Dual_Impl_T.h"
35 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
37 // TAO_IDL - Generated from
38 // be\be_visitor_typecode/struct_typecode.cpp:87
40 static TAO::TypeCode::Struct_Field
<char const *, CORBA::TypeCode_ptr
const *> const * const _tao_fields_CORBA_WrongTransaction
= 0;
41 static TAO::TypeCode::Struct
<char const *,
42 CORBA::TypeCode_ptr
const *,
43 TAO::TypeCode::Struct_Field
<char const *, CORBA::TypeCode_ptr
const *> const *,
44 TAO::Null_RefCount_Policy
>
45 _tao_tc_CORBA_WrongTransaction (
47 "IDL:omg.org/CORBA/WrongTransaction:1.0",
49 _tao_fields_CORBA_WrongTransaction
,
54 ::CORBA::TypeCode_ptr
const _tc_WrongTransaction
=
55 &_tao_tc_CORBA_WrongTransaction
;
59 // TAO_IDL - Generated from
60 // be\be_visitor_exception/any_op_cs.cpp:50
66 Any_Dual_Impl_T
<CORBA::WrongTransaction
>::demarshal_value (
71 if (!(cdr
>> id
.out ()))
78 this->value_
->_tao_decode (cdr
);
80 catch (const ::CORBA::Exception
&)
94 const CORBA::WrongTransaction
&_tao_elem
)
96 TAO::Any_Dual_Impl_T
<CORBA::WrongTransaction
>::insert_copy (
98 CORBA::WrongTransaction::_tao_any_destructor
,
99 CORBA::_tc_WrongTransaction
,
103 // Non-copying insertion.
105 CORBA::Any
&_tao_any
,
106 CORBA::WrongTransaction
*_tao_elem
109 TAO::Any_Dual_Impl_T
<CORBA::WrongTransaction
>::insert (
111 CORBA::WrongTransaction::_tao_any_destructor
,
112 CORBA::_tc_WrongTransaction
,
116 // Extraction to non-const pointer (deprecated).
117 CORBA::Boolean
operator>>= (
118 const CORBA::Any
&_tao_any
,
119 CORBA::WrongTransaction
*&_tao_elem
)
121 return _tao_any
>>= const_cast<
122 const CORBA::WrongTransaction
*&> (
127 // Extraction to const pointer.
128 CORBA::Boolean
operator>>= (
129 const CORBA::Any
&_tao_any
,
130 const CORBA::WrongTransaction
*&_tao_elem
)
133 TAO::Any_Dual_Impl_T
<CORBA::WrongTransaction
>::extract (
135 CORBA::WrongTransaction::_tao_any_destructor
,
136 CORBA::_tc_WrongTransaction
,
142 TAO_END_VERSIONED_NAMESPACE_DECL