diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-11-10 01:17:57 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-11-10 01:17:57 +0000 |
commit | 27217683e38a97304979aae8dd1b18d2500010c1 (patch) | |
tree | 4c6e82fda9274bb87703364c243cf9e03530493c | |
parent | 21969fa6aff59433298acf22094a5a8adbf99dff (diff) | |
download | ATCD-27217683e38a97304979aae8dd1b18d2500010c1.tar.gz |
ChangeLogTag:Sun Nov 9 19:12:40 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 35 | ||||
-rw-r--r-- | TAO/tao/IOP_CodecA.cpp | 593 | ||||
-rw-r--r-- | TAO/tao/IOP_CodecA.h | 93 | ||||
-rw-r--r-- | TAO/tao/IOP_CodecC.cpp | 576 | ||||
-rw-r--r-- | TAO/tao/IOP_CodecC.i | 24 | ||||
-rw-r--r-- | TAO/tao/IOP_IOR.pidl | 4 | ||||
-rw-r--r-- | TAO/tao/IOP_IORA.cpp | 602 | ||||
-rw-r--r-- | TAO/tao/IOP_IORA.h | 103 | ||||
-rw-r--r-- | TAO/tao/IOP_IORC.cpp | 1522 | ||||
-rw-r--r-- | TAO/tao/IOP_IORC.i | 21 | ||||
-rw-r--r-- | TAO/tao/Makefile.tao | 4 | ||||
-rw-r--r-- | TAO/tao/Policy.pidl | 2 | ||||
-rw-r--r-- | TAO/tao/PolicyA.cpp | 452 | ||||
-rw-r--r-- | TAO/tao/PolicyA.h | 76 | ||||
-rw-r--r-- | TAO/tao/PolicyC.cpp | 906 | ||||
-rw-r--r-- | TAO/tao/PolicyC.i | 35 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptor.pidl | 3 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptorA.cpp | 1183 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptorA.h | 148 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptorC.cpp | 1847 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptorC.i | 88 |
21 files changed, 4694 insertions, 3623 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index e4ff3eb18ed..1e286e8a373 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,38 @@ +Sun Nov 9 19:12:40 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * tao/IOP_CodecA.cpp + * tao/IOP_CodecA.h: + * tao/IOP_IORA.cpp: + * tao/IOP_IORA.h: + * tao/PolicyA.cpp: + * tao/PolicyA.h: + * tao/PortableInterceptorA.cpp: + * tao/PortableInterceptorA.h: + + New files that were created using the new IDL compiler + options which puts the Any operators in a seperate file. This + is just a test. If this gives good wins, we can go ahead fix all + the generated code in $TAO_ROOT/tao to maintain the Any's in a + seperate file. This can be used by the application by just + including the header. + + * tao/IOP_CodecC.cpp: + * tao/IOP_CodecC.i: + * tao/IOP_IOR.pidl + * tao/IOP_IORC.cpp: + * tao/IOP_IORC.i: + * tao/Makefile.tao: + * tao/Policy.pidl: + * tao/PolicyC.cpp: + * tao/PolicyC.i: + * tao/PortableInterceptor.pidl: + * tao/PortableInterceptorC.cpp: + * tao/PortableInterceptorC.i: + + Regenretad the code to keep the Any operators away. We will + update the diffss and such if we are damn sure that this is + going to give us wins. + Sun Nov 9 18:09:07 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> * orbsvcs/orbsvcs/Makefile.RTCosScheduling: diff --git a/TAO/tao/IOP_CodecA.cpp b/TAO/tao/IOP_CodecA.cpp new file mode 100644 index 00000000000..ed078f03fb6 --- /dev/null +++ b/TAO/tao/IOP_CodecA.cpp @@ -0,0 +1,593 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#include "IOP_CodecC.h" +#include "IOP_CodecA.h" +#include "tao/Typecode.h" +#include "tao/Any_Impl_T.h" +#include "tao/Any_Dual_Impl_T.h" + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<IOP::Codec>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<IOP::Codec>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<IOP::Codec>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + IOP::Codec_ptr _tao_elem + ) +{ + IOP::Codec_ptr _tao_objptr = + IOP::Codec::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + IOP::Codec_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<IOP::Codec>::insert ( + _tao_any, + IOP::Codec::_tao_any_destructor, + IOP::_tc_Codec, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + IOP::Codec_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<IOP::Codec>::extract ( + _tao_any, + IOP::Codec::_tao_any_destructor, + IOP::_tc_Codec, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::Codec::InvalidTypeForEncoding>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::Codec::InvalidTypeForEncoding>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::Codec::InvalidTypeForEncoding &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Codec::InvalidTypeForEncoding>::insert_copy ( + _tao_any, + IOP::Codec::InvalidTypeForEncoding::_tao_any_destructor, + IOP::Codec::_tc_InvalidTypeForEncoding, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::Codec::InvalidTypeForEncoding *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Codec::InvalidTypeForEncoding>::insert ( + _tao_any, + IOP::Codec::InvalidTypeForEncoding::_tao_any_destructor, + IOP::Codec::_tc_InvalidTypeForEncoding, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::Codec::InvalidTypeForEncoding *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::Codec::InvalidTypeForEncoding *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::Codec::InvalidTypeForEncoding *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::Codec::InvalidTypeForEncoding>::extract ( + _tao_any, + IOP::Codec::InvalidTypeForEncoding::_tao_any_destructor, + IOP::Codec::_tc_InvalidTypeForEncoding, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::Codec::FormatMismatch>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::Codec::FormatMismatch>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::Codec::FormatMismatch &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Codec::FormatMismatch>::insert_copy ( + _tao_any, + IOP::Codec::FormatMismatch::_tao_any_destructor, + IOP::Codec::_tc_FormatMismatch, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::Codec::FormatMismatch *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Codec::FormatMismatch>::insert ( + _tao_any, + IOP::Codec::FormatMismatch::_tao_any_destructor, + IOP::Codec::_tc_FormatMismatch, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::Codec::FormatMismatch *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::Codec::FormatMismatch *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::Codec::FormatMismatch *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::Codec::FormatMismatch>::extract ( + _tao_any, + IOP::Codec::FormatMismatch::_tao_any_destructor, + IOP::Codec::_tc_FormatMismatch, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::Codec::TypeMismatch>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::Codec::TypeMismatch>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::Codec::TypeMismatch &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Codec::TypeMismatch>::insert_copy ( + _tao_any, + IOP::Codec::TypeMismatch::_tao_any_destructor, + IOP::Codec::_tc_TypeMismatch, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::Codec::TypeMismatch *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Codec::TypeMismatch>::insert ( + _tao_any, + IOP::Codec::TypeMismatch::_tao_any_destructor, + IOP::Codec::_tc_TypeMismatch, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::Codec::TypeMismatch *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::Codec::TypeMismatch *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::Codec::TypeMismatch *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::Codec::TypeMismatch>::extract ( + _tao_any, + IOP::Codec::TypeMismatch::_tao_any_destructor, + IOP::Codec::_tc_TypeMismatch, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::Encoding &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Encoding>::insert_copy ( + _tao_any, + IOP::Encoding::_tao_any_destructor, + IOP::_tc_Encoding, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::Encoding *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::Encoding>::insert ( + _tao_any, + IOP::Encoding::_tao_any_destructor, + IOP::_tc_Encoding, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::Encoding *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::Encoding *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::Encoding *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::Encoding>::extract ( + _tao_any, + IOP::Encoding::_tao_any_destructor, + IOP::_tc_Encoding, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<IOP::CodecFactory>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<IOP::CodecFactory>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<IOP::CodecFactory>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + IOP::CodecFactory_ptr _tao_elem + ) +{ + IOP::CodecFactory_ptr _tao_objptr = + IOP::CodecFactory::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + IOP::CodecFactory_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<IOP::CodecFactory>::insert ( + _tao_any, + IOP::CodecFactory::_tao_any_destructor, + IOP::_tc_CodecFactory, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + IOP::CodecFactory_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<IOP::CodecFactory>::extract ( + _tao_any, + IOP::CodecFactory::_tao_any_destructor, + IOP::_tc_CodecFactory, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::CodecFactory::UnknownEncoding>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<IOP::CodecFactory::UnknownEncoding>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::CodecFactory::UnknownEncoding &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::CodecFactory::UnknownEncoding>::insert_copy ( + _tao_any, + IOP::CodecFactory::UnknownEncoding::_tao_any_destructor, + IOP::CodecFactory::_tc_UnknownEncoding, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::CodecFactory::UnknownEncoding *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::CodecFactory::UnknownEncoding>::insert ( + _tao_any, + IOP::CodecFactory::UnknownEncoding::_tao_any_destructor, + IOP::CodecFactory::_tc_UnknownEncoding, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::CodecFactory::UnknownEncoding *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::CodecFactory::UnknownEncoding *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::CodecFactory::UnknownEncoding *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::CodecFactory::UnknownEncoding>::extract ( + _tao_any, + IOP::CodecFactory::UnknownEncoding::_tao_any_destructor, + IOP::CodecFactory::_tc_UnknownEncoding, + _tao_elem + ); +} + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + + template class + TAO::Any_Dual_Impl_T< + IOP::Codec::InvalidTypeForEncoding + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::Codec::FormatMismatch + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::Codec::TypeMismatch + >; + + template class + TAO::Any_Impl_T< + IOP::Codec + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::Encoding + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::CodecFactory::UnknownEncoding + >; + + template class + TAO::Any_Impl_T< + IOP::CodecFactory + >; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::Codec::InvalidTypeForEncoding \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::Codec::FormatMismatch \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::Codec::TypeMismatch \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + IOP::Codec \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::Encoding \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::CodecFactory::UnknownEncoding \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + IOP::CodecFactory \ + > + +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + diff --git a/TAO/tao/IOP_CodecA.h b/TAO/tao/IOP_CodecA.h new file mode 100644 index 00000000000..9d27ae4ceed --- /dev/null +++ b/TAO/tao/IOP_CodecA.h @@ -0,0 +1,93 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +// TAO_IDL - Generated from +// be/be_codegen.cpp:848 + +#ifndef _TAO_IDL_ORIG_IOP_CODECA_ANYOP_H_ +#define _TAO_IDL_ORIG_IOP_CODECA_ANYOP_H_ + +#include /**/ "ace/pre.h" + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, IOP::Codec_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::InvalidTypeForEncoding*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::InvalidTypeForEncoding *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::InvalidTypeForEncoding *&); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::FormatMismatch &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::FormatMismatch*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::FormatMismatch *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::FormatMismatch *&); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::Codec::TypeMismatch &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::Codec::TypeMismatch*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Codec::TypeMismatch *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Codec::TypeMismatch *&); + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::Encoding &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::Encoding*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::Encoding *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::Encoding *&); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::CodecFactory::UnknownEncoding &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::CodecFactory::UnknownEncoding*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::CodecFactory::UnknownEncoding *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::CodecFactory::UnknownEncoding *&); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ + diff --git a/TAO/tao/IOP_CodecC.cpp b/TAO/tao/IOP_CodecC.cpp index a5d5f72bc73..5a7e03aa779 100644 --- a/TAO/tao/IOP_CodecC.cpp +++ b/TAO/tao/IOP_CodecC.cpp @@ -26,16 +26,11 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be/be_codegen.cpp:301 +// be/be_codegen.cpp:338 #include "IOP_CodecC.h" -#include "tao/Object_T.h" -#include "tao/Any_Impl_T.h" -#include "tao/Any_Dual_Impl_T.h" -#include "tao/Fixed_Size_Argument_T.h" -#include "tao/Var_Size_Argument_T.h" -#include "tao/Typecode.h" +#include "Typecode.h" #include "ace/OS_NS_string.h" #if defined (__BORLANDC__) @@ -47,64 +42,11 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// be/be_visitor_arg_traits.cpp:59 +// be/be_visitor_arg_traits.cpp:62 // Arg traits specializations. namespace TAO { - - // TAO_IDL - Generated from - // be/be_visitor_arg_traits.cpp:262 - -#if !defined (__TAO_SEQ_CORBA_OCTET___ARG_TRAITS_CS_) -#define __TAO_SEQ_CORBA_OCTET___ARG_TRAITS_CS_ - - ACE_TEMPLATE_SPECIALIZATION - class TAO_Export Arg_Traits<CORBA::OctetSeq> - : public - Var_Size_Arg_Traits_T< - CORBA::OctetSeq, - CORBA::OctetSeq_var, - CORBA::OctetSeq_out - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_IOP_CODEC__ARG_TRAITS_CS_) -#define _IOP_CODEC__ARG_TRAITS_CS_ - - ACE_TEMPLATE_SPECIALIZATION - class TAO_Export Arg_Traits<IOP::Codec> - : public - Object_Arg_Traits_T< - IOP::Codec_ptr, - IOP::Codec_var, - IOP::Codec_out, - TAO::Objref_Traits<IOP::Codec> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // be/be_visitor_arg_traits.cpp:428 - -#if !defined (_IOP_ENCODING__ARG_TRAITS_CS_) -#define _IOP_ENCODING__ARG_TRAITS_CS_ - - ACE_TEMPLATE_SPECIALIZATION - class TAO_Export Arg_Traits<IOP::Encoding> - : public - Fixed_Size_Arg_Traits_T< - IOP::Encoding - > - { - }; - -#endif /* end #if !defined */ }; // TAO_IDL - Generated from @@ -112,6 +54,7 @@ namespace TAO // Traits specializations for IOP::Codec. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IOP::Codec_ptr TAO::Objref_Traits<IOP::Codec>::tao_duplicate ( IOP::Codec_ptr p @@ -120,6 +63,7 @@ TAO::Objref_Traits<IOP::Codec>::tao_duplicate ( return IOP::Codec::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<IOP::Codec>::tao_release ( IOP::Codec_ptr p @@ -128,12 +72,14 @@ TAO::Objref_Traits<IOP::Codec>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IOP::Codec_ptr TAO::Objref_Traits<IOP::Codec>::tao_nil (void) { return IOP::Codec::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<IOP::Codec>::tao_marshal ( IOP::Codec_ptr p, @@ -144,12 +90,12 @@ TAO::Objref_Traits<IOP::Codec>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*IOP__TAO_Codec_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_exception/exception_cs.cpp:63 IOP::Codec::InvalidTypeForEncoding::InvalidTypeForEncoding (void) @@ -252,25 +198,25 @@ static const CORBA::Long _oc_IOP_Codec_InvalidTypeForEncoding[] = { TAO_ENCAP_BYTE_ORDER, // byte order 49, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6465), - ACE_NTOHL (0x632f496e), - ACE_NTOHL (0x76616c69), - ACE_NTOHL (0x64547970), - ACE_NTOHL (0x65466f72), - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x632f496e), + ACE_NTOHL (0x76616c69), + ACE_NTOHL (0x64547970), + ACE_NTOHL (0x65466f72), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0 23, - ACE_NTOHL (0x496e7661), - ACE_NTOHL (0x6c696454), - ACE_NTOHL (0x79706546), - ACE_NTOHL (0x6f72456e), - ACE_NTOHL (0x636f6469), + ACE_NTOHL (0x496e7661), + ACE_NTOHL (0x6c696454), + ACE_NTOHL (0x79706546), + ACE_NTOHL (0x6f72456e), + ACE_NTOHL (0x636f6469), ACE_NTOHL (0x6e670000), // name = InvalidTypeForEncoding 0, // member count }; @@ -286,7 +232,7 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding ( ::CORBA::TypeCode_ptr IOP::Codec::_tc_InvalidTypeForEncoding = &_tc_TAO_tc_IOP_Codec_InvalidTypeForEncoding; -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_exception/exception_cs.cpp:63 IOP::Codec::FormatMismatch::FormatMismatch (void) @@ -389,21 +335,21 @@ static const CORBA::Long _oc_IOP_Codec_FormatMismatch[] = { TAO_ENCAP_BYTE_ORDER, // byte order 41, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6465), - ACE_NTOHL (0x632f466f), - ACE_NTOHL (0x726d6174), - ACE_NTOHL (0x4d69736d), - ACE_NTOHL (0x61746368), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x632f466f), + ACE_NTOHL (0x726d6174), + ACE_NTOHL (0x4d69736d), + ACE_NTOHL (0x61746368), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Codec/FormatMismatch:1.0 15, - ACE_NTOHL (0x466f726d), - ACE_NTOHL (0x61744d69), - ACE_NTOHL (0x736d6174), + ACE_NTOHL (0x466f726d), + ACE_NTOHL (0x61744d69), + ACE_NTOHL (0x736d6174), ACE_NTOHL (0x63680000), // name = FormatMismatch 0, // member count }; @@ -419,7 +365,7 @@ static CORBA::TypeCode _tc_TAO_tc_IOP_Codec_FormatMismatch ( ::CORBA::TypeCode_ptr IOP::Codec::_tc_FormatMismatch = &_tc_TAO_tc_IOP_Codec_FormatMismatch; -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_exception/exception_cs.cpp:63 IOP::Codec::TypeMismatch::TypeMismatch (void) @@ -522,20 +468,20 @@ static const CORBA::Long _oc_IOP_Codec_TypeMismatch[] = { TAO_ENCAP_BYTE_ORDER, // byte order 39, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6465), - ACE_NTOHL (0x632f5479), - ACE_NTOHL (0x70654d69), - ACE_NTOHL (0x736d6174), - ACE_NTOHL (0x63683a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x632f5479), + ACE_NTOHL (0x70654d69), + ACE_NTOHL (0x736d6174), + ACE_NTOHL (0x63683a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/Codec/TypeMismatch:1.0 13, - ACE_NTOHL (0x54797065), - ACE_NTOHL (0x4d69736d), - ACE_NTOHL (0x61746368), + ACE_NTOHL (0x54797065), + ACE_NTOHL (0x4d69736d), + ACE_NTOHL (0x61746368), ACE_NTOHL (0x0), // name = TypeMismatch 0, // member count }; @@ -557,7 +503,7 @@ IOP::Codec::Codec (void) IOP::Codec::~Codec (void) {} -void +void IOP::Codec::_tao_any_destructor (void *_tao_void_pointer) { Codec *_tao_tmp_pointer = @@ -575,10 +521,10 @@ IOP::Codec::_narrow ( { return Codec::_nil (); } - + Codec_ptr proxy = dynamic_cast<Codec_ptr> (_tao_objref); - + return Codec::_duplicate (proxy); } @@ -589,7 +535,7 @@ IOP::Codec::_duplicate (Codec_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -640,15 +586,15 @@ static const CORBA::Long _oc_IOP_Codec[] = { TAO_ENCAP_BYTE_ORDER, // byte order 26, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6465), - ACE_NTOHL (0x633a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x633a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/Codec:1.0 6, - ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x436f6465), ACE_NTOHL (0x63000000), // name = Codec }; @@ -673,19 +619,19 @@ static const CORBA::Long _oc_IOP_EncodingFormat[] = { TAO_ENCAP_BYTE_ORDER, // byte order 35, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), - ACE_NTOHL (0x466f726d), - ACE_NTOHL (0x61743a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x466f726d), + ACE_NTOHL (0x61743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0 15, - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), - ACE_NTOHL (0x466f726d), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x466f726d), ACE_NTOHL (0x61740000), // name = EncodingFormat CORBA::tk_short, @@ -712,54 +658,54 @@ static const CORBA::Long _oc_IOP_Encoding[] = { TAO_ENCAP_BYTE_ORDER, // byte order 29, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/Encoding:1.0 9, - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), ACE_NTOHL (0x0), // name = Encoding 3, // member count 7, - ACE_NTOHL (0x666f726d), + ACE_NTOHL (0x666f726d), ACE_NTOHL (0x61740000), // name = format CORBA::tk_alias, // typecode kind for typedefs 68, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 35, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), - ACE_NTOHL (0x466f726d), - ACE_NTOHL (0x61743a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x466f726d), + ACE_NTOHL (0x61743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/EncodingFormat:1.0 15, - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), - ACE_NTOHL (0x466f726d), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x466f726d), ACE_NTOHL (0x61740000), // name = EncodingFormat CORBA::tk_short, 14, - ACE_NTOHL (0x6d616a6f), - ACE_NTOHL (0x725f7665), - ACE_NTOHL (0x7273696f), + ACE_NTOHL (0x6d616a6f), + ACE_NTOHL (0x725f7665), + ACE_NTOHL (0x7273696f), ACE_NTOHL (0x6e000000), // name = major_version CORBA::tk_octet, 14, - ACE_NTOHL (0x6d696e6f), - ACE_NTOHL (0x725f7665), - ACE_NTOHL (0x7273696f), + ACE_NTOHL (0x6d696e6f), + ACE_NTOHL (0x725f7665), + ACE_NTOHL (0x7273696f), ACE_NTOHL (0x6e000000), // name = minor_version CORBA::tk_octet, @@ -779,10 +725,10 @@ namespace IOP &_tc_TAO_tc_IOP_Encoding; } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_structure/structure_cs.cpp:66 -void +void IOP::Encoding::_tao_any_destructor ( void *_tao_void_pointer ) @@ -797,6 +743,7 @@ IOP::Encoding::_tao_any_destructor ( // Traits specializations for IOP::CodecFactory. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IOP::CodecFactory_ptr TAO::Objref_Traits<IOP::CodecFactory>::tao_duplicate ( IOP::CodecFactory_ptr p @@ -805,6 +752,7 @@ TAO::Objref_Traits<IOP::CodecFactory>::tao_duplicate ( return IOP::CodecFactory::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<IOP::CodecFactory>::tao_release ( IOP::CodecFactory_ptr p @@ -813,12 +761,14 @@ TAO::Objref_Traits<IOP::CodecFactory>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IOP::CodecFactory_ptr TAO::Objref_Traits<IOP::CodecFactory>::tao_nil (void) { return IOP::CodecFactory::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<IOP::CodecFactory>::tao_marshal ( IOP::CodecFactory_ptr p, @@ -829,12 +779,12 @@ TAO::Objref_Traits<IOP::CodecFactory>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*IOP__TAO_CodecFactory_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_exception/exception_cs.cpp:63 IOP::CodecFactory::UnknownEncoding::UnknownEncoding (void) @@ -937,23 +887,23 @@ static const CORBA::Long _oc_IOP_CodecFactory_UnknownEncoding[] = { TAO_ENCAP_BYTE_ORDER, // byte order 49, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6465), - ACE_NTOHL (0x63466163), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x2f556e6b), - ACE_NTOHL (0x6e6f776e), - ACE_NTOHL (0x456e636f), - ACE_NTOHL (0x64696e67), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x63466163), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x2f556e6b), + ACE_NTOHL (0x6e6f776e), + ACE_NTOHL (0x456e636f), + ACE_NTOHL (0x64696e67), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory/UnknownEncoding:1.0 16, - ACE_NTOHL (0x556e6b6e), - ACE_NTOHL (0x6f776e45), - ACE_NTOHL (0x6e636f64), + ACE_NTOHL (0x556e6b6e), + ACE_NTOHL (0x6f776e45), + ACE_NTOHL (0x6e636f64), ACE_NTOHL (0x696e6700), // name = UnknownEncoding 0, // member count }; @@ -975,7 +925,7 @@ IOP::CodecFactory::CodecFactory (void) IOP::CodecFactory::~CodecFactory (void) {} -void +void IOP::CodecFactory::_tao_any_destructor (void *_tao_void_pointer) { CodecFactory *_tao_tmp_pointer = @@ -993,10 +943,10 @@ IOP::CodecFactory::_narrow ( { return CodecFactory::_nil (); } - + CodecFactory_ptr proxy = dynamic_cast<CodecFactory_ptr> (_tao_objref); - + return CodecFactory::_duplicate (proxy); } @@ -1007,7 +957,7 @@ IOP::CodecFactory::_duplicate (CodecFactory_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -1058,19 +1008,19 @@ static const CORBA::Long _oc_IOP_CodecFactory[] = { TAO_ENCAP_BYTE_ORDER, // byte order 33, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6465), - ACE_NTOHL (0x63466163), - ACE_NTOHL (0x746f7279), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x63466163), + ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/CodecFactory:1.0 13, - ACE_NTOHL (0x436f6465), - ACE_NTOHL (0x63466163), - ACE_NTOHL (0x746f7279), + ACE_NTOHL (0x436f6465), + ACE_NTOHL (0x63466163), + ACE_NTOHL (0x746f7279), ACE_NTOHL (0x0), // name = CodecFactory }; @@ -1089,219 +1039,22 @@ namespace IOP } // TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<IOP::Codec>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} +// be/be_visitor_root/root.cpp:1725 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<IOP::Codec>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<IOP::Codec>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - IOP::Codec_ptr _tao_elem - ) -{ - IOP::Codec_ptr _tao_objptr = - IOP::Codec::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - IOP::Codec_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<IOP::Codec>::insert ( - _tao_any, - IOP::Codec::_tao_any_destructor, - IOP::_tc_Codec, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - IOP::Codec_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<IOP::Codec>::extract ( - _tao_any, - IOP::Codec::_tao_any_destructor, - IOP::_tc_Codec, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_structure/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::Encoding &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::Encoding>::insert_copy ( - _tao_any, - IOP::Encoding::_tao_any_destructor, - IOP::_tc_Encoding, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::Encoding *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::Encoding>::insert ( - _tao_any, - IOP::Encoding::_tao_any_destructor, - IOP::_tc_Encoding, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::Encoding *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::Encoding *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::Encoding *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::Encoding>::extract ( - _tao_any, - IOP::Encoding::_tao_any_destructor, - IOP::_tc_Encoding, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// be/be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<IOP::CodecFactory>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<IOP::CodecFactory>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<IOP::CodecFactory>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - IOP::CodecFactory_ptr _tao_elem - ) -{ - IOP::CodecFactory_ptr _tao_objptr = - IOP::CodecFactory::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - IOP::CodecFactory_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<IOP::CodecFactory>::insert ( - _tao_any, - IOP::CodecFactory::_tao_any_destructor, - IOP::_tc_CodecFactory, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - IOP::CodecFactory_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<IOP::CodecFactory>::extract ( - _tao_any, - IOP::CodecFactory::_tao_any_destructor, - IOP::_tc_CodecFactory, - _tao_elem - ); -} - - -// TAO_IDL - Generated from -// be/be_visitor_root/root.cpp:1703 #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class TAO::Objref_Traits<IOP::Codec>; - template class - TAO_Objref_Var_T< + TAO::Objref_Traits< IOP::Codec >; template class - TAO_Objref_Out_T< + TAO_Objref_Var_T< IOP::Codec >; - + template class - TAO::Any_Impl_T< + TAO_Objref_Out_T< IOP::Codec >; @@ -1316,47 +1069,38 @@ operator>>= ( >; template class - TAO::Any_Dual_Impl_T< - IOP::Encoding + TAO::Objref_Traits< + IOP::CodecFactory >; - template class TAO::Objref_Traits<IOP::CodecFactory>; - template class TAO_Objref_Var_T< IOP::CodecFactory >; - + template class TAO_Objref_Out_T< IOP::CodecFactory >; - template class - TAO::Any_Impl_T< - IOP::CodecFactory - >; - #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO::Objref_Traits<IOP::Codec> +# pragma instantiate \ + TAO::Objref_Traits< \ + IOP::Codec \ + > # pragma instantiate \ TAO_Objref_Var_T< \ IOP::Codec > - + # pragma instantiate \ TAO_Objref_Out_T< \ IOP::Codec > # pragma instantiate \ - TAO::Any_Impl_T< \ - IOP::Codec \ - > - -# pragma instantiate \ TAO_Fixed_Var_T< \ IOP::Encoding \ > @@ -1367,25 +1111,19 @@ operator>>= ( > # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::Encoding \ + TAO::Objref_Traits< \ + IOP::CodecFactory \ > -# pragma instantiate TAO::Objref_Traits<IOP::CodecFactory> - # pragma instantiate \ TAO_Objref_Var_T< \ IOP::CodecFactory > - + # pragma instantiate \ TAO_Objref_Out_T< \ IOP::CodecFactory > -# pragma instantiate \ - TAO::Any_Impl_T< \ - IOP::CodecFactory \ - > +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/tao/IOP_CodecC.i b/TAO/tao/IOP_CodecC.i index 6dc6b51a7a2..fcb70398794 100644 --- a/TAO/tao/IOP_CodecC.i +++ b/TAO/tao/IOP_CodecC.i @@ -27,22 +27,6 @@ // TAO_IDL - Generated from -// be/be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_IOP_CODEC___CI_) -#define _IOP_CODEC___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// be/be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_IOP_CODECFACTORY___CI_) -#define _IOP_CODECFACTORY___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from // be/be_visitor_structure/cdr_op_ci.cpp:70 ACE_INLINE @@ -53,8 +37,8 @@ CORBA::Boolean operator<< ( { return (strm << _tao_aggregate.format) && - (strm << ACE_OutputCDR::from_octet (_tao_aggregate.major_version)) && - (strm << ACE_OutputCDR::from_octet (_tao_aggregate.minor_version)); + (strm << CORBA::Any::from_octet (_tao_aggregate.major_version)) && + (strm << CORBA::Any::from_octet (_tao_aggregate.minor_version)); } ACE_INLINE @@ -65,7 +49,7 @@ CORBA::Boolean operator>> ( { return (strm >> _tao_aggregate.format) && - (strm >> ACE_InputCDR::to_octet (_tao_aggregate.major_version)) && - (strm >> ACE_InputCDR::to_octet (_tao_aggregate.minor_version)); + (strm >> CORBA::Any::to_octet (_tao_aggregate.major_version)) && + (strm >> CORBA::Any::to_octet (_tao_aggregate.minor_version)); } diff --git a/TAO/tao/IOP_IOR.pidl b/TAO/tao/IOP_IOR.pidl index 315400f5b01..7d327313c27 100644 --- a/TAO/tao/IOP_IOR.pidl +++ b/TAO/tao/IOP_IOR.pidl @@ -10,12 +10,12 @@ * command: * * tao_idl.exe - * -o orig -Gp -Gd -Ge 1 -GT + * -o orig -Gp -Gd -Ge 1 -GT -GA * -Wb,export_macro=TAO_Export * -Wb,export_include=TAO_Export.h * -Wb,pre_include="ace/pre.h" * -Wb,post_include="ace/post.h" - * IOP.pidl + * IOP_IOR.pidl * * and then: * diff --git a/TAO/tao/IOP_IORA.cpp b/TAO/tao/IOP_IORA.cpp new file mode 100644 index 00000000000..1eb0dcd3bf7 --- /dev/null +++ b/TAO/tao/IOP_IORA.cpp @@ -0,0 +1,602 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#include "IOP_IORC.h" +#include "IOP_IORA.h" +#include "tao/Typecode.h" +#include "tao/Any_Dual_Impl_T.h" + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::TaggedProfile &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert_copy ( + _tao_any, + IOP::TaggedProfile::_tao_any_destructor, + IOP::_tc_TaggedProfile, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::TaggedProfile *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert ( + _tao_any, + IOP::TaggedProfile::_tao_any_destructor, + IOP::_tc_TaggedProfile, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::TaggedProfile *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::TaggedProfile *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::TaggedProfile *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::extract ( + _tao_any, + IOP::TaggedProfile::_tao_any_destructor, + IOP::_tc_TaggedProfile, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::IOR &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::IOR>::insert_copy ( + _tao_any, + IOP::IOR::_tao_any_destructor, + IOP::_tc_IOR, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::IOR *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::IOR>::insert ( + _tao_any, + IOP::IOR::_tao_any_destructor, + IOP::_tc_IOR, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::IOR *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::IOR *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::IOR *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::IOR>::extract ( + _tao_any, + IOP::IOR::_tao_any_destructor, + IOP::_tc_IOR, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::TaggedComponent &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert_copy ( + _tao_any, + IOP::TaggedComponent::_tao_any_destructor, + IOP::_tc_TaggedComponent, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::TaggedComponent *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert ( + _tao_any, + IOP::TaggedComponent::_tao_any_destructor, + IOP::_tc_TaggedComponent, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::TaggedComponent *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::TaggedComponent *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::TaggedComponent *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::extract ( + _tao_any, + IOP::TaggedComponent::_tao_any_destructor, + IOP::_tc_TaggedComponent, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::MultipleComponentProfile &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert_copy ( + _tao_any, + IOP::MultipleComponentProfile::_tao_any_destructor, + IOP::_tc_MultipleComponentProfile, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::MultipleComponentProfile *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert ( + _tao_any, + IOP::MultipleComponentProfile::_tao_any_destructor, + IOP::_tc_MultipleComponentProfile, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::MultipleComponentProfile *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::MultipleComponentProfile *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::MultipleComponentProfile *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::extract ( + _tao_any, + IOP::MultipleComponentProfile::_tao_any_destructor, + IOP::_tc_MultipleComponentProfile, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::TaggedComponentList &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert_copy ( + _tao_any, + IOP::TaggedComponentList::_tao_any_destructor, + IOP::_tc_TaggedComponentList, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::TaggedComponentList *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert ( + _tao_any, + IOP::TaggedComponentList::_tao_any_destructor, + IOP::_tc_TaggedComponentList, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::TaggedComponentList *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::TaggedComponentList *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::TaggedComponentList *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::extract ( + _tao_any, + IOP::TaggedComponentList::_tao_any_destructor, + IOP::_tc_TaggedComponentList, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::TaggedComponentSeq &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert_copy ( + _tao_any, + IOP::TaggedComponentSeq::_tao_any_destructor, + IOP::_tc_TaggedComponentSeq, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::TaggedComponentSeq *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert ( + _tao_any, + IOP::TaggedComponentSeq::_tao_any_destructor, + IOP::_tc_TaggedComponentSeq, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::TaggedComponentSeq *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::TaggedComponentSeq *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::TaggedComponentSeq *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::extract ( + _tao_any, + IOP::TaggedComponentSeq::_tao_any_destructor, + IOP::_tc_TaggedComponentSeq, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::ServiceContext &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert_copy ( + _tao_any, + IOP::ServiceContext::_tao_any_destructor, + IOP::_tc_ServiceContext, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::ServiceContext *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert ( + _tao_any, + IOP::ServiceContext::_tao_any_destructor, + IOP::_tc_ServiceContext, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::ServiceContext *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::ServiceContext *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::ServiceContext *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::ServiceContext>::extract ( + _tao_any, + IOP::ServiceContext::_tao_any_destructor, + IOP::_tc_ServiceContext, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_cs.cpp:54 + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const IOP::ServiceContextList &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert_copy ( + _tao_any, + IOP::ServiceContextList::_tao_any_destructor, + IOP::_tc_ServiceContextList, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + IOP::ServiceContextList *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert ( + _tao_any, + IOP::ServiceContextList::_tao_any_destructor, + IOP::_tc_ServiceContextList, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + IOP::ServiceContextList *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const IOP::ServiceContextList *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const IOP::ServiceContextList *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::extract ( + _tao_any, + IOP::ServiceContextList::_tao_any_destructor, + IOP::_tc_ServiceContextList, + _tao_elem + ); +} + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + + template class + TAO::Any_Dual_Impl_T< + IOP::TaggedProfile + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::IOR::_tao_seq_IOP_TaggedProfile_ + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::IOR + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::TaggedComponent + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::MultipleComponentProfile + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::TaggedComponentList + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::TaggedComponentSeq + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::ServiceContext::_tao_seq_CORBA_Octet_ + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::ServiceContext + >; + + template class + TAO::Any_Dual_Impl_T< + IOP::ServiceContextList + >; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::TaggedProfile \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::IOR::_tao_seq_IOP_TaggedProfile_ \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::IOR \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::TaggedComponent \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::MultipleComponentProfile \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::TaggedComponentList \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::TaggedComponentSeq \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::ServiceContext::_tao_seq_CORBA_Octet_ \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::ServiceContext \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + IOP::ServiceContextList \ + > + +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + diff --git a/TAO/tao/IOP_IORA.h b/TAO/tao/IOP_IORA.h new file mode 100644 index 00000000000..88f2402f3ed --- /dev/null +++ b/TAO/tao/IOP_IORA.h @@ -0,0 +1,103 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +// TAO_IDL - Generated from +// be/be_codegen.cpp:848 + +#ifndef _TAO_IDL_ORIG_IOP_IORA_ANYOP_H_ +#define _TAO_IDL_ORIG_IOP_IORA_ANYOP_H_ + +#include /**/ "ace/pre.h" + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedProfile &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedProfile*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedProfile *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedProfile *&); + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::IOR &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::IOR*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::IOR *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::IOR *&); + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponent &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponent*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponent *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponent *&); + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::MultipleComponentProfile &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::MultipleComponentProfile*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::MultipleComponentProfile *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::MultipleComponentProfile *&); + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentList &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentList*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentList *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentList *&); + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::TaggedComponentSeq &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::TaggedComponentSeq*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::TaggedComponentSeq *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::TaggedComponentSeq *&); + +// TAO_IDL - Generated from +// be/be_visitor_structure/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContext &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContext*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContext *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContext *&); + +// TAO_IDL - Generated from +// be/be_visitor_sequence/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const IOP::ServiceContextList &); // copying version +TAO_Export void operator<<= (CORBA::Any &, IOP::ServiceContextList*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, IOP::ServiceContextList *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const IOP::ServiceContextList *&); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ + diff --git a/TAO/tao/IOP_IORC.cpp b/TAO/tao/IOP_IORC.cpp index 79cba5e8a19..33914d67ef5 100644 --- a/TAO/tao/IOP_IORC.cpp +++ b/TAO/tao/IOP_IORC.cpp @@ -26,13 +26,12 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:301 +// be/be_codegen.cpp:338 #include "IOP_IORC.h" -#include "ORB_Core.h" -#include "Any_Dual_Impl_T.h" -#include "Typecode.h" +#include "tao/ORB_Core.h" +#include "tao/Typecode.h" #if defined (__BORLANDC__) #pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig @@ -43,7 +42,7 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:59 +// be/be_visitor_arg_traits.cpp:62 // Arg traits specializations. namespace TAO @@ -51,23 +50,23 @@ namespace TAO }; // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ProfileId[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x50726f66), - ACE_NTOHL (0x696c6549), - ACE_NTOHL (0x643a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x50726f66), + ACE_NTOHL (0x696c6549), + ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0 10, - ACE_NTOHL (0x50726f66), - ACE_NTOHL (0x696c6549), + ACE_NTOHL (0x50726f66), + ACE_NTOHL (0x696c6549), ACE_NTOHL (0x64000000), // name = ProfileId CORBA::tk_ulong, @@ -88,25 +87,25 @@ namespace IOP } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedProfile[] = { TAO_ENCAP_BYTE_ORDER, // byte order 34, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x65645072), - ACE_NTOHL (0x6f66696c), - ACE_NTOHL (0x653a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x65645072), + ACE_NTOHL (0x6f66696c), + ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0 14, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x65645072), - ACE_NTOHL (0x6f66696c), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x65645072), + ACE_NTOHL (0x6f66696c), ACE_NTOHL (0x65000000), // name = TaggedProfile 2, // member count 4, @@ -115,41 +114,41 @@ static const CORBA::Long _oc_IOP_TaggedProfile[] = 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x50726f66), - ACE_NTOHL (0x696c6549), - ACE_NTOHL (0x643a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x50726f66), + ACE_NTOHL (0x696c6549), + ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0 10, - ACE_NTOHL (0x50726f66), - ACE_NTOHL (0x696c6549), + ACE_NTOHL (0x50726f66), + ACE_NTOHL (0x696c6549), ACE_NTOHL (0x64000000), // name = ProfileId CORBA::tk_ulong, 13, - ACE_NTOHL (0x70726f66), - ACE_NTOHL (0x696c655f), - ACE_NTOHL (0x64617461), + ACE_NTOHL (0x70726f66), + ACE_NTOHL (0x696c655f), + ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = profile_data CORBA::tk_alias, // typecode kind for typedefs 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f4f63), - ACE_NTOHL (0x74657453), - ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 9, - ACE_NTOHL (0x4f637465), - ACE_NTOHL (0x74536571), + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), ACE_NTOHL (0x0), // name = OctetSeq CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -175,10 +174,10 @@ namespace IOP &_tc_TAO_tc_IOP_TaggedProfile; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_structure/structure_cs.cpp:66 -void +void IOP::TaggedProfile::_tao_any_destructor ( void *_tao_void_pointer ) @@ -189,29 +188,29 @@ IOP::TaggedProfile::_tao_any_destructor ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_IOR[] = { TAO_ENCAP_BYTE_ORDER, // byte order 24, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x494f523a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x494f523a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/IOR:1.0 4, ACE_NTOHL (0x494f5200), // name = IOR 2, // member count 8, - ACE_NTOHL (0x74797065), + ACE_NTOHL (0x74797065), ACE_NTOHL (0x5f696400), // name = type_id - CORBA::tk_string, + CORBA::tk_string, 0U, // string length 9, - ACE_NTOHL (0x70726f66), - ACE_NTOHL (0x696c6573), + ACE_NTOHL (0x70726f66), + ACE_NTOHL (0x696c6573), ACE_NTOHL (0x0), // name = profiles CORBA::tk_sequence, // typecode kind 264, // encapsulation length @@ -220,19 +219,19 @@ static const CORBA::Long _oc_IOP_IOR[] = 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 34, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x65645072), - ACE_NTOHL (0x6f66696c), - ACE_NTOHL (0x653a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x65645072), + ACE_NTOHL (0x6f66696c), + ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/TaggedProfile:1.0 14, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x65645072), - ACE_NTOHL (0x6f66696c), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x65645072), + ACE_NTOHL (0x6f66696c), ACE_NTOHL (0x65000000), // name = TaggedProfile 2, // member count 4, @@ -241,41 +240,41 @@ static const CORBA::Long _oc_IOP_IOR[] = 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x50726f66), - ACE_NTOHL (0x696c6549), - ACE_NTOHL (0x643a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x50726f66), + ACE_NTOHL (0x696c6549), + ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ProfileId:1.0 10, - ACE_NTOHL (0x50726f66), - ACE_NTOHL (0x696c6549), + ACE_NTOHL (0x50726f66), + ACE_NTOHL (0x696c6549), ACE_NTOHL (0x64000000), // name = ProfileId CORBA::tk_ulong, 13, - ACE_NTOHL (0x70726f66), - ACE_NTOHL (0x696c655f), - ACE_NTOHL (0x64617461), + ACE_NTOHL (0x70726f66), + ACE_NTOHL (0x696c655f), + ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = profile_data CORBA::tk_alias, // typecode kind for typedefs 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f4f63), - ACE_NTOHL (0x74657453), - ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 9, - ACE_NTOHL (0x4f637465), - ACE_NTOHL (0x74536571), + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), ACE_NTOHL (0x0), // name = OctetSeq CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -304,10 +303,10 @@ namespace IOP &_tc_TAO_tc_IOP_IOR; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_structure/structure_cs.cpp:66 -void +void IOP::IOR::_tao_any_destructor ( void *_tao_void_pointer ) @@ -317,8 +316,8 @@ IOP::IOR::_tao_any_destructor ( delete _tao_tmp_pointer; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_IOP_IOR__TAO_SEQ_IOP_TAGGEDPROFILE__CS_) #define _IOP_IOR__TAO_SEQ_IOP_TAGGEDPROFILE__CS_ @@ -371,23 +370,23 @@ void IOP::IOR::_tao_seq_IOP_TaggedProfile_::_tao_any_destructor ( #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ComponentId[] = { TAO_ENCAP_BYTE_ORDER, // byte order 32, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x7449643a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 12, - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId CORBA::tk_ulong, @@ -408,25 +407,25 @@ namespace IOP } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedComponent[] = { TAO_ENCAP_BYTE_ORDER, // byte order 36, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 16, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count 4, @@ -435,41 +434,41 @@ static const CORBA::Long _oc_IOP_TaggedComponent[] = 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x7449643a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 12, - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId CORBA::tk_ulong, 15, - ACE_NTOHL (0x636f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x745f6461), + ACE_NTOHL (0x636f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data CORBA::tk_alias, // typecode kind for typedefs 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f4f63), - ACE_NTOHL (0x74657453), - ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 9, - ACE_NTOHL (0x4f637465), - ACE_NTOHL (0x74536571), + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), ACE_NTOHL (0x0), // name = OctetSeq CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -495,10 +494,10 @@ namespace IOP &_tc_TAO_tc_IOP_TaggedComponent; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_structure/structure_cs.cpp:66 -void +void IOP::TaggedComponent::_tao_any_destructor ( void *_tao_void_pointer ) @@ -508,8 +507,8 @@ IOP::TaggedComponent::_tao_any_destructor ( delete _tao_tmp_pointer; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_IOP_MULTIPLECOMPONENTPROFILE_CS_) #define _IOP_MULTIPLECOMPONENTPROFILE_CS_ @@ -562,31 +561,31 @@ void IOP::MultipleComponentProfile::_tao_any_destructor ( #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = { TAO_ENCAP_BYTE_ORDER, // byte order 45, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x4d756c74), - ACE_NTOHL (0x69706c65), - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x7450726f), - ACE_NTOHL (0x66696c65), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x4d756c74), + ACE_NTOHL (0x69706c65), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x7450726f), + ACE_NTOHL (0x66696c65), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/IOP/MultipleComponentProfile:1.0 25, - ACE_NTOHL (0x4d756c74), - ACE_NTOHL (0x69706c65), - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x7450726f), - ACE_NTOHL (0x66696c65), + ACE_NTOHL (0x4d756c74), + ACE_NTOHL (0x69706c65), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x7450726f), + ACE_NTOHL (0x66696c65), ACE_NTOHL (0x0), // name = MultipleComponentProfile CORBA::tk_sequence, // typecode kind 264, // encapsulation length @@ -595,19 +594,19 @@ static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 36, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 16, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count 4, @@ -616,41 +615,41 @@ static const CORBA::Long _oc_IOP_MultipleComponentProfile[] = 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x7449643a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 12, - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId CORBA::tk_ulong, 15, - ACE_NTOHL (0x636f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x745f6461), + ACE_NTOHL (0x636f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data CORBA::tk_alias, // typecode kind for typedefs 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f4f63), - ACE_NTOHL (0x74657453), - ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 9, - ACE_NTOHL (0x4f637465), - ACE_NTOHL (0x74536571), + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), ACE_NTOHL (0x0), // name = OctetSeq CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -679,8 +678,8 @@ namespace IOP &_tc_TAO_tc_IOP_MultipleComponentProfile; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_IOP_TAGGEDCOMPONENTLIST_CS_) #define _IOP_TAGGEDCOMPONENTLIST_CS_ @@ -733,27 +732,27 @@ void IOP::TaggedComponentList::_tao_any_destructor ( #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedComponentList[] = { TAO_ENCAP_BYTE_ORDER, // byte order 40, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e744c), - ACE_NTOHL (0x6973743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e744c), + ACE_NTOHL (0x6973743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponentList:1.0 20, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e744c), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e744c), ACE_NTOHL (0x69737400), // name = TaggedComponentList CORBA::tk_sequence, // typecode kind 264, // encapsulation length @@ -762,19 +761,19 @@ static const CORBA::Long _oc_IOP_TaggedComponentList[] = 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 36, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 16, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count 4, @@ -783,41 +782,41 @@ static const CORBA::Long _oc_IOP_TaggedComponentList[] = 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x7449643a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 12, - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId CORBA::tk_ulong, 15, - ACE_NTOHL (0x636f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x745f6461), + ACE_NTOHL (0x636f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data CORBA::tk_alias, // typecode kind for typedefs 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f4f63), - ACE_NTOHL (0x74657453), - ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 9, - ACE_NTOHL (0x4f637465), - ACE_NTOHL (0x74536571), + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), ACE_NTOHL (0x0), // name = OctetSeq CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -846,8 +845,8 @@ namespace IOP &_tc_TAO_tc_IOP_TaggedComponentList; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_IOP_TAGGEDCOMPONENTSEQ_CS_) #define _IOP_TAGGEDCOMPONENTSEQ_CS_ @@ -900,27 +899,27 @@ void IOP::TaggedComponentSeq::_tao_any_destructor ( #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = { TAO_ENCAP_BYTE_ORDER, // byte order 39, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e7453), - ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e7453), + ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/TaggedComponentSeq:1.0 19, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e7453), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e7453), ACE_NTOHL (0x65710000), // name = TaggedComponentSeq CORBA::tk_sequence, // typecode kind 264, // encapsulation length @@ -929,19 +928,19 @@ static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = 248, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 36, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), - ACE_NTOHL (0x656e743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/TaggedComponent:1.0 16, - ACE_NTOHL (0x54616767), - ACE_NTOHL (0x6564436f), - ACE_NTOHL (0x6d706f6e), + ACE_NTOHL (0x54616767), + ACE_NTOHL (0x6564436f), + ACE_NTOHL (0x6d706f6e), ACE_NTOHL (0x656e7400), // name = TaggedComponent 2, // member count 4, @@ -950,41 +949,41 @@ static const CORBA::Long _oc_IOP_TaggedComponentSeq[] = 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 32, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x7449643a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x7449643a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/IOP/ComponentId:1.0 12, - ACE_NTOHL (0x436f6d70), - ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x436f6d70), + ACE_NTOHL (0x6f6e656e), ACE_NTOHL (0x74496400), // name = ComponentId CORBA::tk_ulong, 15, - ACE_NTOHL (0x636f6d70), - ACE_NTOHL (0x6f6e656e), - ACE_NTOHL (0x745f6461), + ACE_NTOHL (0x636f6d70), + ACE_NTOHL (0x6f6e656e), + ACE_NTOHL (0x745f6461), ACE_NTOHL (0x74610000), // name = component_data CORBA::tk_alias, // typecode kind for typedefs 76, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 31, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f4f63), - ACE_NTOHL (0x74657453), - ACE_NTOHL (0x65713a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f63), + ACE_NTOHL (0x74657453), + ACE_NTOHL (0x65713a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/CORBA/OctetSeq:1.0 9, - ACE_NTOHL (0x4f637465), - ACE_NTOHL (0x74536571), + ACE_NTOHL (0x4f637465), + ACE_NTOHL (0x74536571), ACE_NTOHL (0x0), // name = OctetSeq CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -1014,23 +1013,23 @@ namespace IOP } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ServiceId[] = { TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636549), - ACE_NTOHL (0x643a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636549), + ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0 10, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636549), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636549), ACE_NTOHL (0x64000000), // name = ServiceId CORBA::tk_ulong, @@ -1051,54 +1050,54 @@ namespace IOP } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ServiceContext[] = { TAO_ENCAP_BYTE_ORDER, // byte order 35, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636543), - ACE_NTOHL (0x6f6e7465), - ACE_NTOHL (0x78743a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636543), + ACE_NTOHL (0x6f6e7465), + ACE_NTOHL (0x78743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0 15, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636543), - ACE_NTOHL (0x6f6e7465), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636543), + ACE_NTOHL (0x6f6e7465), ACE_NTOHL (0x78740000), // name = ServiceContext 2, // member count 11, - ACE_NTOHL (0x636f6e74), - ACE_NTOHL (0x6578745f), + ACE_NTOHL (0x636f6e74), + ACE_NTOHL (0x6578745f), ACE_NTOHL (0x69640000), // name = context_id CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636549), - ACE_NTOHL (0x643a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636549), + ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0 10, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636549), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636549), ACE_NTOHL (0x64000000), // name = ServiceId CORBA::tk_ulong, 13, - ACE_NTOHL (0x636f6e74), - ACE_NTOHL (0x6578745f), - ACE_NTOHL (0x64617461), + ACE_NTOHL (0x636f6e74), + ACE_NTOHL (0x6578745f), + ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = context_data CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -1123,10 +1122,10 @@ namespace IOP &_tc_TAO_tc_IOP_ServiceContext; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/structure_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_structure/structure_cs.cpp:66 -void +void IOP::ServiceContext::_tao_any_destructor ( void *_tao_void_pointer ) @@ -1136,8 +1135,8 @@ IOP::ServiceContext::_tao_any_destructor ( delete _tao_tmp_pointer; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_IOP_SERVICECONTEXT__TAO_SEQ_CORBA_OCTET__CS_) #define _IOP_SERVICECONTEXT__TAO_SEQ_CORBA_OCTET__CS_ @@ -1189,8 +1188,8 @@ void IOP::ServiceContext::_tao_seq_CORBA_Octet_::_tao_any_destructor ( #endif /* end #if !defined */ -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_IOP_SERVICECONTEXTLIST_CS_) #define _IOP_SERVICECONTEXTLIST_CS_ @@ -1243,27 +1242,27 @@ void IOP::ServiceContextList::_tao_any_destructor ( #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_IOP_ServiceContextList[] = { TAO_ENCAP_BYTE_ORDER, // byte order 39, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636543), - ACE_NTOHL (0x6f6e7465), - ACE_NTOHL (0x78744c69), - ACE_NTOHL (0x73743a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636543), + ACE_NTOHL (0x6f6e7465), + ACE_NTOHL (0x78744c69), + ACE_NTOHL (0x73743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContextList:1.0 19, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636543), - ACE_NTOHL (0x6f6e7465), - ACE_NTOHL (0x78744c69), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636543), + ACE_NTOHL (0x6f6e7465), + ACE_NTOHL (0x78744c69), ACE_NTOHL (0x73740000), // name = ServiceContextList CORBA::tk_sequence, // typecode kind 208, // encapsulation length @@ -1272,48 +1271,48 @@ static const CORBA::Long _oc_IOP_ServiceContextList[] = 192, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 35, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636543), - ACE_NTOHL (0x6f6e7465), - ACE_NTOHL (0x78743a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636543), + ACE_NTOHL (0x6f6e7465), + ACE_NTOHL (0x78743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/IOP/ServiceContext:1.0 15, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636543), - ACE_NTOHL (0x6f6e7465), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636543), + ACE_NTOHL (0x6f6e7465), ACE_NTOHL (0x78740000), // name = ServiceContext 2, // member count 11, - ACE_NTOHL (0x636f6e74), - ACE_NTOHL (0x6578745f), + ACE_NTOHL (0x636f6e74), + ACE_NTOHL (0x6578745f), ACE_NTOHL (0x69640000), // name = context_id CORBA::tk_alias, // typecode kind for typedefs 60, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 30, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x494f502f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636549), - ACE_NTOHL (0x643a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x494f502f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636549), + ACE_NTOHL (0x643a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/IOP/ServiceId:1.0 10, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x69636549), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x69636549), ACE_NTOHL (0x64000000), // name = ServiceId CORBA::tk_ulong, 13, - ACE_NTOHL (0x636f6e74), - ACE_NTOHL (0x6578745f), - ACE_NTOHL (0x64617461), + ACE_NTOHL (0x636f6e74), + ACE_NTOHL (0x6578745f), + ACE_NTOHL (0x64617461), ACE_NTOHL (0x0), // name = context_data CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -1342,471 +1341,7 @@ namespace IOP } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::TaggedProfile &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert_copy ( - _tao_any, - IOP::TaggedProfile::_tao_any_destructor, - IOP::_tc_TaggedProfile, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::TaggedProfile *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::insert ( - _tao_any, - IOP::TaggedProfile::_tao_any_destructor, - IOP::_tc_TaggedProfile, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::TaggedProfile *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::TaggedProfile *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::TaggedProfile *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::TaggedProfile>::extract ( - _tao_any, - IOP::TaggedProfile::_tao_any_destructor, - IOP::_tc_TaggedProfile, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::IOR &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::IOR>::insert_copy ( - _tao_any, - IOP::IOR::_tao_any_destructor, - IOP::_tc_IOR, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::IOR *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::IOR>::insert ( - _tao_any, - IOP::IOR::_tao_any_destructor, - IOP::_tc_IOR, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::IOR *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::IOR *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::IOR *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::IOR>::extract ( - _tao_any, - IOP::IOR::_tao_any_destructor, - IOP::_tc_IOR, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::TaggedComponent &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert_copy ( - _tao_any, - IOP::TaggedComponent::_tao_any_destructor, - IOP::_tc_TaggedComponent, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::TaggedComponent *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::insert ( - _tao_any, - IOP::TaggedComponent::_tao_any_destructor, - IOP::_tc_TaggedComponent, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::TaggedComponent *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::TaggedComponent *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::TaggedComponent *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::TaggedComponent>::extract ( - _tao_any, - IOP::TaggedComponent::_tao_any_destructor, - IOP::_tc_TaggedComponent, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::MultipleComponentProfile &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert_copy ( - _tao_any, - IOP::MultipleComponentProfile::_tao_any_destructor, - IOP::_tc_MultipleComponentProfile, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::MultipleComponentProfile *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::insert ( - _tao_any, - IOP::MultipleComponentProfile::_tao_any_destructor, - IOP::_tc_MultipleComponentProfile, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::MultipleComponentProfile *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::MultipleComponentProfile *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::MultipleComponentProfile *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::MultipleComponentProfile>::extract ( - _tao_any, - IOP::MultipleComponentProfile::_tao_any_destructor, - IOP::_tc_MultipleComponentProfile, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::TaggedComponentList &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert_copy ( - _tao_any, - IOP::TaggedComponentList::_tao_any_destructor, - IOP::_tc_TaggedComponentList, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::TaggedComponentList *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::insert ( - _tao_any, - IOP::TaggedComponentList::_tao_any_destructor, - IOP::_tc_TaggedComponentList, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::TaggedComponentList *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::TaggedComponentList *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::TaggedComponentList *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::TaggedComponentList>::extract ( - _tao_any, - IOP::TaggedComponentList::_tao_any_destructor, - IOP::_tc_TaggedComponentList, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::TaggedComponentSeq &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert_copy ( - _tao_any, - IOP::TaggedComponentSeq::_tao_any_destructor, - IOP::_tc_TaggedComponentSeq, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::TaggedComponentSeq *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::insert ( - _tao_any, - IOP::TaggedComponentSeq::_tao_any_destructor, - IOP::_tc_TaggedComponentSeq, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::TaggedComponentSeq *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::TaggedComponentSeq *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::TaggedComponentSeq *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::TaggedComponentSeq>::extract ( - _tao_any, - IOP::TaggedComponentSeq::_tao_any_destructor, - IOP::_tc_TaggedComponentSeq, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::ServiceContext &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert_copy ( - _tao_any, - IOP::ServiceContext::_tao_any_destructor, - IOP::_tc_ServiceContext, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::ServiceContext *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::ServiceContext>::insert ( - _tao_any, - IOP::ServiceContext::_tao_any_destructor, - IOP::_tc_ServiceContext, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::ServiceContext *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::ServiceContext *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::ServiceContext *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::ServiceContext>::extract ( - _tao_any, - IOP::ServiceContext::_tao_any_destructor, - IOP::_tc_ServiceContext, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/any_op_cs.cpp:54 - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const IOP::ServiceContextList &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert_copy ( - _tao_any, - IOP::ServiceContextList::_tao_any_destructor, - IOP::_tc_ServiceContextList, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - IOP::ServiceContextList *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::insert ( - _tao_any, - IOP::ServiceContextList::_tao_any_destructor, - IOP::_tc_ServiceContextList, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - IOP::ServiceContextList *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const IOP::ServiceContextList *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const IOP::ServiceContextList *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<IOP::ServiceContextList>::extract ( - _tao_any, - IOP::ServiceContextList::_tao_any_destructor, - IOP::_tc_ServiceContextList, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:95 +// be/be_visitor_sequence/cdr_op_cs.cpp:95 #if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_IOP_TaggedProfile__CPP_ #define _TAO_CDR_OP_IOP_IOR__tao_seq_IOP_TaggedProfile__CPP_ @@ -1817,20 +1352,20 @@ CORBA::Boolean operator<< ( ) { CORBA::ULong _tao_seq_len = _tao_sequence.length (); - + if (strm << _tao_seq_len) { // Encode all elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm << _tao_sequence[i]); } - + return _tao_marshal_flag; } - + return 0; } @@ -1840,7 +1375,7 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; - + if (strm >> _tao_seq_len) { // Add a check to the length of the sequence @@ -1850,35 +1385,35 @@ CORBA::Boolean operator>> ( { return 0; } - + // Set the length of the sequence. _tao_sequence.length (_tao_seq_len); - + // If length is 0 we return true. - if (0 >= _tao_seq_len) + if (0 >= _tao_seq_len) { return 1; } - + // Retrieve all the elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm >> _tao_sequence[i]); } - + return _tao_marshal_flag; - + } - + return 0; } #endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_IOP_TaggedProfile__CPP_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:95 +// be/be_visitor_sequence/cdr_op_cs.cpp:95 #if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_CPP_ #define _TAO_CDR_OP_IOP_MultipleComponentProfile_CPP_ @@ -1889,20 +1424,20 @@ CORBA::Boolean operator<< ( ) { CORBA::ULong _tao_seq_len = _tao_sequence.length (); - + if (strm << _tao_seq_len) { // Encode all elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm << _tao_sequence[i]); } - + return _tao_marshal_flag; } - + return 0; } @@ -1912,7 +1447,7 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; - + if (strm >> _tao_seq_len) { // Add a check to the length of the sequence @@ -1922,35 +1457,35 @@ CORBA::Boolean operator>> ( { return 0; } - + // Set the length of the sequence. _tao_sequence.length (_tao_seq_len); - + // If length is 0 we return true. - if (0 >= _tao_seq_len) + if (0 >= _tao_seq_len) { return 1; } - + // Retrieve all the elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm >> _tao_sequence[i]); } - + return _tao_marshal_flag; - + } - + return 0; } #endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_CPP_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:95 +// be/be_visitor_sequence/cdr_op_cs.cpp:95 #if !defined _TAO_CDR_OP_IOP_TaggedComponentList_CPP_ #define _TAO_CDR_OP_IOP_TaggedComponentList_CPP_ @@ -1961,20 +1496,20 @@ CORBA::Boolean operator<< ( ) { CORBA::ULong _tao_seq_len = _tao_sequence.length (); - + if (strm << _tao_seq_len) { // Encode all elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm << _tao_sequence[i]); } - + return _tao_marshal_flag; } - + return 0; } @@ -1984,7 +1519,7 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; - + if (strm >> _tao_seq_len) { // Add a check to the length of the sequence @@ -1994,35 +1529,35 @@ CORBA::Boolean operator>> ( { return 0; } - + // Set the length of the sequence. _tao_sequence.length (_tao_seq_len); - + // If length is 0 we return true. - if (0 >= _tao_seq_len) + if (0 >= _tao_seq_len) { return 1; } - + // Retrieve all the elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm >> _tao_sequence[i]); } - + return _tao_marshal_flag; - + } - + return 0; } #endif /* _TAO_CDR_OP_IOP_TaggedComponentList_CPP_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:95 +// be/be_visitor_sequence/cdr_op_cs.cpp:95 #if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_CPP_ #define _TAO_CDR_OP_IOP_TaggedComponentSeq_CPP_ @@ -2033,20 +1568,20 @@ CORBA::Boolean operator<< ( ) { CORBA::ULong _tao_seq_len = _tao_sequence.length (); - + if (strm << _tao_seq_len) { // Encode all elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm << _tao_sequence[i]); } - + return _tao_marshal_flag; } - + return 0; } @@ -2056,7 +1591,7 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; - + if (strm >> _tao_seq_len) { // Add a check to the length of the sequence @@ -2066,35 +1601,35 @@ CORBA::Boolean operator>> ( { return 0; } - + // Set the length of the sequence. _tao_sequence.length (_tao_seq_len); - + // If length is 0 we return true. - if (0 >= _tao_seq_len) + if (0 >= _tao_seq_len) { return 1; } - + // Retrieve all the elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm >> _tao_sequence[i]); } - + return _tao_marshal_flag; - + } - + return 0; } #endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_CPP_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:95 +// be/be_visitor_sequence/cdr_op_cs.cpp:95 #if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_CORBA_Octet__CPP_ #define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_CORBA_Octet__CPP_ @@ -2105,27 +1640,27 @@ CORBA::Boolean operator<< ( ) { CORBA::ULong _tao_seq_len = _tao_sequence.length (); - + if (strm << _tao_seq_len) { // Encode all elements. - + #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) { - TAO_Unbounded_Sequence<CORBA::Octet> *oseq = + TAO_Unbounded_Sequence<CORBA::Octet> *oseq = ACE_static_cast (TAO_Unbounded_Sequence<CORBA::Octet>*, (IOP::ServiceContext::_tao_seq_CORBA_Octet_ *)&_tao_sequence); if (oseq->mb ()) return strm.write_octet_array_mb (oseq->mb ()); else return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); } - + #else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ return strm.write_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - + #endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ } - + return 0; } @@ -2135,7 +1670,7 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; - + if (strm >> _tao_seq_len) { // Add a check to the length of the sequence @@ -2145,18 +1680,18 @@ CORBA::Boolean operator>> ( { return 0; } - + // Set the length of the sequence. _tao_sequence.length (_tao_seq_len); - + // If length is 0 we return true. - if (0 >= _tao_seq_len) + if (0 >= _tao_seq_len) { return 1; } - + // Retrieve all the elements. - + #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) if (ACE_BIT_DISABLED (strm.start ()->flags (), ACE_Message_Block::DONT_DELETE)) @@ -2166,7 +1701,7 @@ CORBA::Boolean operator>> ( strm.orb_core ()->resource_factory ()-> input_cdr_allocator_type_locked () == 1) { - TAO_Unbounded_Sequence<CORBA::Octet> *oseq = + TAO_Unbounded_Sequence<CORBA::Octet> *oseq = ACE_static_cast(TAO_Unbounded_Sequence<CORBA::Octet>*, &_tao_sequence); oseq->replace (_tao_seq_len, strm.start ()); oseq->mb ()->wr_ptr (oseq->mb()->rd_ptr () + _tao_seq_len); @@ -2177,18 +1712,18 @@ CORBA::Boolean operator>> ( return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_seq_len); #else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - + #endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ - + } - + return 0; } #endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_CORBA_Octet__CPP_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:95 +// be/be_visitor_sequence/cdr_op_cs.cpp:95 #if !defined _TAO_CDR_OP_IOP_ServiceContextList_CPP_ #define _TAO_CDR_OP_IOP_ServiceContextList_CPP_ @@ -2199,20 +1734,20 @@ CORBA::Boolean operator<< ( ) { CORBA::ULong _tao_seq_len = _tao_sequence.length (); - + if (strm << _tao_seq_len) { // Encode all elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm << _tao_sequence[i]); } - + return _tao_marshal_flag; } - + return 0; } @@ -2222,7 +1757,7 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; - + if (strm >> _tao_seq_len) { // Add a check to the length of the sequence @@ -2232,35 +1767,35 @@ CORBA::Boolean operator>> ( { return 0; } - + // Set the length of the sequence. _tao_sequence.length (_tao_seq_len); - + // If length is 0 we return true. - if (0 >= _tao_seq_len) + if (0 >= _tao_seq_len) { return 1; } - + // Retrieve all the elements. CORBA::Boolean _tao_marshal_flag = 1; - + for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i) { _tao_marshal_flag = (strm >> _tao_sequence[i]); } - + return _tao_marshal_flag; - + } - + return 0; } #endif /* _TAO_CDR_OP_IOP_ServiceContextList_CPP_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:1703 +// be/be_visitor_root/root.cpp:1725 #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) @@ -2280,15 +1815,15 @@ CORBA::Boolean operator>> ( IOP::TaggedProfile_var >; +#if !defined (_IOP_TAGGEDPROFILE__EXPLICIT_CS_) +#define _IOP_TAGGEDPROFILE__EXPLICIT_CS_ + template class - TAO::Any_Dual_Impl_T< + TAO_Unbounded_Sequence< IOP::TaggedProfile >; - template class - TAO::Any_Dual_Impl_T< - IOP::IOR::_tao_seq_IOP_TaggedProfile_ - >; +#endif /* end #if !defined */ template class TAO_Var_Var_T< @@ -2307,11 +1842,6 @@ CORBA::Boolean operator>> ( >; template class - TAO::Any_Dual_Impl_T< - IOP::IOR - >; - - template class TAO_Var_Var_T< IOP::TaggedComponent >; @@ -2328,11 +1858,6 @@ CORBA::Boolean operator>> ( >; template class - TAO::Any_Dual_Impl_T< - IOP::TaggedComponent - >; - - template class TAO_VarSeq_Var_T< IOP::MultipleComponentProfile, IOP::TaggedComponent @@ -2351,8 +1876,8 @@ CORBA::Boolean operator>> ( IOP::TaggedComponent >; -#if !defined (_IOP_MULTIPLECOMPONENTPROFILE__EXPLICIT_CS_) -#define _IOP_MULTIPLECOMPONENTPROFILE__EXPLICIT_CS_ +#if !defined (_IOP_TAGGEDCOMPONENT__EXPLICIT_CS_) +#define _IOP_TAGGEDCOMPONENT__EXPLICIT_CS_ template class TAO_Unbounded_Sequence< @@ -2362,11 +1887,6 @@ CORBA::Boolean operator>> ( #endif /* end #if !defined */ template class - TAO::Any_Dual_Impl_T< - IOP::MultipleComponentProfile - >; - - template class TAO_VarSeq_Var_T< IOP::TaggedComponentList, IOP::TaggedComponent @@ -2385,11 +1905,16 @@ CORBA::Boolean operator>> ( IOP::TaggedComponent >; +#if !defined (_IOP_TAGGEDCOMPONENT__EXPLICIT_CS_) +#define _IOP_TAGGEDCOMPONENT__EXPLICIT_CS_ + template class - TAO::Any_Dual_Impl_T< - IOP::TaggedComponentList + TAO_Unbounded_Sequence< + IOP::TaggedComponent >; +#endif /* end #if !defined */ + template class TAO_VarSeq_Var_T< IOP::TaggedComponentSeq, @@ -2409,16 +1934,16 @@ CORBA::Boolean operator>> ( IOP::TaggedComponent >; - template class - TAO::Any_Dual_Impl_T< - IOP::TaggedComponentSeq - >; +#if !defined (_IOP_TAGGEDCOMPONENT__EXPLICIT_CS_) +#define _IOP_TAGGEDCOMPONENT__EXPLICIT_CS_ template class - TAO::Any_Dual_Impl_T< - IOP::ServiceContext::_tao_seq_CORBA_Octet_ + TAO_Unbounded_Sequence< + IOP::TaggedComponent >; +#endif /* end #if !defined */ + template class TAO_Var_Var_T< IOP::ServiceContext @@ -2436,11 +1961,6 @@ CORBA::Boolean operator>> ( >; template class - TAO::Any_Dual_Impl_T< - IOP::ServiceContext - >; - - template class TAO_VarSeq_Var_T< IOP::ServiceContextList, IOP::ServiceContext @@ -2459,8 +1979,8 @@ CORBA::Boolean operator>> ( IOP::ServiceContext >; -#if !defined (_IOP_SERVICECONTEXTLIST__EXPLICIT_CS_) -#define _IOP_SERVICECONTEXTLIST__EXPLICIT_CS_ +#if !defined (_IOP_SERVICECONTEXT__EXPLICIT_CS_) +#define _IOP_SERVICECONTEXT__EXPLICIT_CS_ template class TAO_Unbounded_Sequence< @@ -2469,11 +1989,6 @@ CORBA::Boolean operator>> ( #endif /* end #if !defined */ - template class - TAO::Any_Dual_Impl_T< - IOP::ServiceContextList - >; - #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) # pragma instantiate \ @@ -2492,13 +2007,8 @@ CORBA::Boolean operator>> ( IOP::TaggedProfile_var \ > -# pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::TaggedProfile \ - > - -#if !defined (_IOP_IOR__TAO_SEQ_IOP_TAGGEDPROFILE___EXPLICIT_CS_) -#define _IOP_IOR__TAO_SEQ_IOP_TAGGEDPROFILE___EXPLICIT_CS_ +#if !defined (_IOP_TAGGEDPROFILE__EXPLICIT_CS_) +#define _IOP_TAGGEDPROFILE__EXPLICIT_CS_ # pragma instantiate \ TAO_Unbounded_Sequence< \ @@ -2508,11 +2018,6 @@ CORBA::Boolean operator>> ( #endif /* end #if !defined */ # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::IOR::_tao_seq_IOP_TaggedProfile_ \ - > - -# pragma instantiate \ TAO_Var_Var_T< \ IOP::IOR \ > @@ -2529,11 +2034,6 @@ CORBA::Boolean operator>> ( > # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::IOR \ - > - -# pragma instantiate \ TAO_Var_Var_T< \ IOP::TaggedComponent \ > @@ -2550,11 +2050,6 @@ CORBA::Boolean operator>> ( > # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::TaggedComponent \ - > - -# pragma instantiate \ TAO_VarSeq_Var_T< \ IOP::MultipleComponentProfile, \ IOP::TaggedComponent \ @@ -2573,8 +2068,8 @@ CORBA::Boolean operator>> ( IOP::TaggedComponent \ > -#if !defined (_IOP_MULTIPLECOMPONENTPROFILE__EXPLICIT_CS_) -#define _IOP_MULTIPLECOMPONENTPROFILE__EXPLICIT_CS_ +#if !defined (_IOP_TAGGEDCOMPONENT__EXPLICIT_CS_) +#define _IOP_TAGGEDCOMPONENT__EXPLICIT_CS_ # pragma instantiate \ TAO_Unbounded_Sequence< \ @@ -2584,11 +2079,6 @@ CORBA::Boolean operator>> ( #endif /* end #if !defined */ # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::MultipleComponentProfile \ - > - -# pragma instantiate \ TAO_VarSeq_Var_T< \ IOP::TaggedComponentList, \ IOP::TaggedComponent \ @@ -2607,8 +2097,8 @@ CORBA::Boolean operator>> ( IOP::TaggedComponent \ > -#if !defined (_IOP_TAGGEDCOMPONENTLIST__EXPLICIT_CS_) -#define _IOP_TAGGEDCOMPONENTLIST__EXPLICIT_CS_ +#if !defined (_IOP_TAGGEDCOMPONENT__EXPLICIT_CS_) +#define _IOP_TAGGEDCOMPONENT__EXPLICIT_CS_ # pragma instantiate \ TAO_Unbounded_Sequence< \ @@ -2618,11 +2108,6 @@ CORBA::Boolean operator>> ( #endif /* end #if !defined */ # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::TaggedComponentList \ - > - -# pragma instantiate \ TAO_VarSeq_Var_T< \ IOP::TaggedComponentSeq, \ IOP::TaggedComponent \ @@ -2641,8 +2126,8 @@ CORBA::Boolean operator>> ( IOP::TaggedComponent \ > -#if !defined (_IOP_TAGGEDCOMPONENTSEQ__EXPLICIT_CS_) -#define _IOP_TAGGEDCOMPONENTSEQ__EXPLICIT_CS_ +#if !defined (_IOP_TAGGEDCOMPONENT__EXPLICIT_CS_) +#define _IOP_TAGGEDCOMPONENT__EXPLICIT_CS_ # pragma instantiate \ TAO_Unbounded_Sequence< \ @@ -2652,16 +2137,6 @@ CORBA::Boolean operator>> ( #endif /* end #if !defined */ # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::TaggedComponentSeq \ - > - -# pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::ServiceContext::_tao_seq_CORBA_Octet_ \ - > - -# pragma instantiate \ TAO_Var_Var_T< \ IOP::ServiceContext \ > @@ -2678,11 +2153,6 @@ CORBA::Boolean operator>> ( > # pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::ServiceContext \ - > - -# pragma instantiate \ TAO_VarSeq_Var_T< \ IOP::ServiceContextList, \ IOP::ServiceContext \ @@ -2701,8 +2171,8 @@ CORBA::Boolean operator>> ( IOP::ServiceContext \ > -#if !defined (_IOP_SERVICECONTEXTLIST__EXPLICIT_CS_) -#define _IOP_SERVICECONTEXTLIST__EXPLICIT_CS_ +#if !defined (_IOP_SERVICECONTEXT__EXPLICIT_CS_) +#define _IOP_SERVICECONTEXT__EXPLICIT_CS_ # pragma instantiate \ TAO_Unbounded_Sequence< \ @@ -2711,9 +2181,5 @@ CORBA::Boolean operator>> ( #endif /* end #if !defined */ -# pragma instantiate \ - TAO::Any_Dual_Impl_T< \ - IOP::ServiceContextList \ - > +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/tao/IOP_IORC.i b/TAO/tao/IOP_IORC.i index bc99ba46003..6f47b8a36de 100644 --- a/TAO/tao/IOP_IORC.i +++ b/TAO/tao/IOP_IORC.i @@ -27,7 +27,7 @@ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:70 +// be/be_visitor_structure/cdr_op_ci.cpp:70 ACE_INLINE CORBA::Boolean operator<< ( @@ -52,7 +52,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:81 +// be/be_visitor_sequence/cdr_op_ci.cpp:81 #if !defined _TAO_CDR_OP_IOP_IOR__tao_seq_IOP_TaggedProfile__I_ #define _TAO_CDR_OP_IOP_IOR__tao_seq_IOP_TaggedProfile__I_ @@ -70,7 +70,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_IOR__tao_seq_IOP_TaggedProfile__I_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:70 +// be/be_visitor_structure/cdr_op_ci.cpp:70 ACE_INLINE CORBA::Boolean operator<< ( @@ -95,7 +95,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:70 +// be/be_visitor_structure/cdr_op_ci.cpp:70 ACE_INLINE CORBA::Boolean operator<< ( @@ -120,7 +120,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:81 +// be/be_visitor_sequence/cdr_op_ci.cpp:81 #if !defined _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ #define _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ @@ -138,7 +138,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_MultipleComponentProfile_I_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:81 +// be/be_visitor_sequence/cdr_op_ci.cpp:81 #if !defined _TAO_CDR_OP_IOP_TaggedComponentList_I_ #define _TAO_CDR_OP_IOP_TaggedComponentList_I_ @@ -156,7 +156,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_TaggedComponentList_I_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:81 +// be/be_visitor_sequence/cdr_op_ci.cpp:81 #if !defined _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ #define _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ @@ -174,7 +174,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_TaggedComponentSeq_I_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:81 +// be/be_visitor_sequence/cdr_op_ci.cpp:81 #if !defined _TAO_CDR_OP_IOP_ServiceContext__tao_seq_CORBA_Octet__I_ #define _TAO_CDR_OP_IOP_ServiceContext__tao_seq_CORBA_Octet__I_ @@ -192,7 +192,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_IOP_ServiceContext__tao_seq_CORBA_Octet__I_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_structure/cdr_op_ci.cpp:70 +// be/be_visitor_structure/cdr_op_ci.cpp:70 ACE_INLINE CORBA::Boolean operator<< ( @@ -217,7 +217,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:81 +// be/be_visitor_sequence/cdr_op_ci.cpp:81 #if !defined _TAO_CDR_OP_IOP_ServiceContextList_I_ #define _TAO_CDR_OP_IOP_ServiceContextList_I_ @@ -233,3 +233,4 @@ CORBA::Boolean TAO_Export operator>> ( ); #endif /* _TAO_CDR_OP_IOP_ServiceContextList_I_ */ + diff --git a/TAO/tao/Makefile.tao b/TAO/tao/Makefile.tao index 064ca53b543..c8f49fa873c 100644 --- a/TAO/tao/Makefile.tao +++ b/TAO/tao/Makefile.tao @@ -161,6 +161,7 @@ ORB_CORE_FILES = \ ORB \ Policy_ForwardC \ PolicyC \ + PolicyA \ Policy_Validator \ Encodable \ Abstract_Servant_Base \ @@ -197,6 +198,7 @@ ORB_CORE_FILES = \ ClientRequestInterceptor_Adapter \ PI_ForwardC \ PortableInterceptorC \ + PortableInterceptorA \ PICurrent \ PICurrent_ORBInitializer \ DynamicC \ @@ -245,7 +247,9 @@ ORB_CORE_FILES = \ Synch_Refcountable \ Asynch_Reply_Dispatcher_Base \ IOP_IORC \ + IOP_IORA \ IOP_CodecC \ + IOP_CodecA \ IOPC \ PollableC \ CONV_FRAMEC \ diff --git a/TAO/tao/Policy.pidl b/TAO/tao/Policy.pidl index 2f6ccffaea2..e56c464fb02 100644 --- a/TAO/tao/Policy.pidl +++ b/TAO/tao/Policy.pidl @@ -17,7 +17,7 @@ * command used for this is: * * tao_idl.exe - * -o orig -Gp -Gd -Ge 1 -GT + * -o orig -Gp -Gd -Ge 1 -GT -GA * -Wb,export_macro=TAO_Export * -Wb,export_include="tao/TAO_Export.h" * -Wb,pre_include="ace/pre.h" diff --git a/TAO/tao/PolicyA.cpp b/TAO/tao/PolicyA.cpp new file mode 100644 index 00000000000..1384f8afb95 --- /dev/null +++ b/TAO/tao/PolicyA.cpp @@ -0,0 +1,452 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#include "PolicyC.h" +#include "PolicyA.h" +#include "tao/Typecode.h" +#include "tao/Any_Impl_T.h" +#include "tao/Any_Dual_Impl_T.h" + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<CORBA::PolicyError>::demarshal_value ( + TAO_InputCDR & cdr + ) +{ + CORBA::String_var id; + + if ((cdr >> id.out ()) == 0) + { + return 0; + } + + ACE_TRY_NEW_ENV + { + this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; + } + ACE_CATCHANY + { + return 0; + } + ACE_ENDTRY; + + return 1; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const CORBA::PolicyError &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<CORBA::PolicyError>::insert_copy ( + _tao_any, + CORBA::PolicyError::_tao_any_destructor, + CORBA::_tc_PolicyError, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + CORBA::PolicyError *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<CORBA::PolicyError>::insert ( + _tao_any, + CORBA::PolicyError::_tao_any_destructor, + CORBA::_tc_PolicyError, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + CORBA::PolicyError *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const CORBA::PolicyError *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const CORBA::PolicyError *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<CORBA::PolicyError>::extract ( + _tao_any, + CORBA::PolicyError::_tao_any_destructor, + CORBA::_tc_PolicyError, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::demarshal_value ( + TAO_InputCDR & cdr + ) +{ + CORBA::String_var id; + + if ((cdr >> id.out ()) == 0) + { + return 0; + } + + ACE_TRY_NEW_ENV + { + this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; + } + ACE_CATCHANY + { + return 0; + } + ACE_ENDTRY; + + return 1; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const CORBA::InvalidPolicies &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::insert_copy ( + _tao_any, + CORBA::InvalidPolicies::_tao_any_destructor, + CORBA::_tc_InvalidPolicies, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + CORBA::InvalidPolicies *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::insert ( + _tao_any, + CORBA::InvalidPolicies::_tao_any_destructor, + CORBA::_tc_InvalidPolicies, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + CORBA::InvalidPolicies *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const CORBA::InvalidPolicies *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const CORBA::InvalidPolicies *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::extract ( + _tao_any, + CORBA::InvalidPolicies::_tao_any_destructor, + CORBA::_tc_InvalidPolicies, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<CORBA::Policy>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + CORBA::Policy_ptr _tao_elem + ) +{ + CORBA::Policy_ptr _tao_objptr = + CORBA::Policy::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + CORBA::Policy_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<CORBA::Policy>::insert ( + _tao_any, + CORBA::Policy::_tao_any_destructor, + CORBA::_tc_Policy, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + CORBA::Policy_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<CORBA::Policy>::extract ( + _tao_any, + CORBA::Policy::_tao_any_destructor, + CORBA::_tc_Policy, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyManager>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyManager>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyManager>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + CORBA::PolicyManager_ptr _tao_elem + ) +{ + CORBA::PolicyManager_ptr _tao_objptr = + CORBA::PolicyManager::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + CORBA::PolicyManager_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<CORBA::PolicyManager>::insert ( + _tao_any, + CORBA::PolicyManager::_tao_any_destructor, + CORBA::_tc_PolicyManager, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + CORBA::PolicyManager_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<CORBA::PolicyManager>::extract ( + _tao_any, + CORBA::PolicyManager::_tao_any_destructor, + CORBA::_tc_PolicyManager, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyCurrent>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyCurrent>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<CORBA::PolicyCurrent>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + CORBA::PolicyCurrent_ptr _tao_elem + ) +{ + CORBA::PolicyCurrent_ptr _tao_objptr = + CORBA::PolicyCurrent::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + CORBA::PolicyCurrent_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<CORBA::PolicyCurrent>::insert ( + _tao_any, + CORBA::PolicyCurrent::_tao_any_destructor, + CORBA::_tc_PolicyCurrent, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + CORBA::PolicyCurrent_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<CORBA::PolicyCurrent>::extract ( + _tao_any, + CORBA::PolicyCurrent::_tao_any_destructor, + CORBA::_tc_PolicyCurrent, + _tao_elem + ); +} + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + + template class + TAO::Any_Impl_T< + CORBA::Policy + >; + + template class + TAO::Any_Dual_Impl_T< + CORBA::PolicyError + >; + + template class + TAO::Any_Dual_Impl_T< + CORBA::InvalidPolicies + >; + + template class + TAO::Any_Impl_T< + CORBA::PolicyManager + >; + + template class + TAO::Any_Impl_T< + CORBA::PolicyCurrent + >; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +# pragma instantiate \ + TAO::Any_Impl_T< \ + CORBA::Policy \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + CORBA::PolicyError \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + CORBA::InvalidPolicies \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + CORBA::PolicyManager \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + CORBA::PolicyCurrent \ + > + +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + diff --git a/TAO/tao/PolicyA.h b/TAO/tao/PolicyA.h new file mode 100644 index 00000000000..37d4e74a308 --- /dev/null +++ b/TAO/tao/PolicyA.h @@ -0,0 +1,76 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +// TAO_IDL - Generated from +// be/be_codegen.cpp:848 + +#ifndef _TAO_IDL_ORIG_POLICYA_ANYOP_H_ +#define _TAO_IDL_ORIG_POLICYA_ANYOP_H_ + +#include /**/ "ace/pre.h" + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const CORBA::PolicyError &); // copying version +TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyError*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyError *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::PolicyError *&); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const CORBA::InvalidPolicies &); // copying version +TAO_Export void operator<<= (CORBA::Any &, CORBA::InvalidPolicies*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::InvalidPolicies *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const CORBA::InvalidPolicies *&); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, CORBA::Policy_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, CORBA::Policy_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::Policy_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyManager_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyManager_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyManager_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyCurrent_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, CORBA::PolicyCurrent_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, CORBA::PolicyCurrent_ptr &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ + diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp index 21b0cefe55f..cabb52c1641 100644 --- a/TAO/tao/PolicyC.cpp +++ b/TAO/tao/PolicyC.cpp @@ -26,17 +26,16 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:301 +// be/be_codegen.cpp:338 #include "PolicyC.h" -#include "Typecode.h" +#include "tao/Exception_Data.h" #include "tao/Invocation_Adapter.h" #include "tao/Object_T.h" -#include "tao/Any_Impl_T.h" -#include "tao/Any_Dual_Impl_T.h" +#include "tao/Typecode.h" #include "tao/Basic_Arguments.h" -#include "tao/Var_Size_Argument_T.h" +#include "tao/Object_Argument_T.h" #include "ace/OS_NS_string.h" #if defined (__BORLANDC__) @@ -48,7 +47,7 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:59 +// be/be_visitor_arg_traits.cpp:62 // Arg traits specializations. namespace TAO @@ -56,79 +55,7 @@ namespace TAO #if !defined (_CORBA_POLICY__ARG_TRAITS_CS_) #define _CORBA_POLICY__ARG_TRAITS_CS_ - - ACE_TEMPLATE_SPECIALIZATION - class TAO_Export Arg_Traits<CORBA::Policy> - : public - Object_Arg_Traits_T< - CORBA::Policy_ptr, - CORBA::Policy_var, - CORBA::Policy_out, - TAO::Objref_Traits<CORBA::Policy> - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:262 - -#if !defined (__TAO_SEQ_CORBA_POLICY___ARG_TRAITS_CS_) -#define __TAO_SEQ_CORBA_POLICY___ARG_TRAITS_CS_ - - ACE_TEMPLATE_SPECIALIZATION - class TAO_Export Arg_Traits<CORBA::PolicyList> - : public - Var_Size_Arg_Traits_T< - CORBA::PolicyList, - CORBA::PolicyList_var, - CORBA::PolicyList_out - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:262 - -#if !defined (__TAO_SEQ_CORBA_POLICYTYPE___ARG_TRAITS_CS_) -#define __TAO_SEQ_CORBA_POLICYTYPE___ARG_TRAITS_CS_ - - ACE_TEMPLATE_SPECIALIZATION - class TAO_Export Arg_Traits<CORBA::PolicyTypeSeq> - : public - Var_Size_Arg_Traits_T< - CORBA::PolicyTypeSeq, - CORBA::PolicyTypeSeq_var, - CORBA::PolicyTypeSeq_out - > - { - }; - -#endif /* end #if !defined */ - - // TAO_IDL - Generated from - // W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:390 - -#if !defined (_CORBA_SETOVERRIDETYPE__ARG_TRAITS_CS_) -#define _CORBA_SETOVERRIDETYPE__ARG_TRAITS_CS_ - - ACE_TEMPLATE_SPECIALIZATION - class TAO_Export Arg_Traits<CORBA::SetOverrideType> - : public - Basic_Arg_Traits_T< - CORBA::SetOverrideType - > - { - }; - -#endif /* end #if !defined */ - -#if !defined (_CORBA_POLICY__ARG_TRAITS_CS_) -#define _CORBA_POLICY__ARG_TRAITS_CS_ - + ACE_TEMPLATE_SPECIALIZATION class TAO_Export Arg_Traits<CORBA::Policy> : public @@ -145,26 +72,26 @@ namespace TAO }; // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_CORBA_PolicyErrorCode[] = { TAO_ENCAP_BYTE_ORDER, // byte order 38, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f506f), - ACE_NTOHL (0x6c696379), - ACE_NTOHL (0x4572726f), - ACE_NTOHL (0x72436f64), - ACE_NTOHL (0x653a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f506f), + ACE_NTOHL (0x6c696379), + ACE_NTOHL (0x4572726f), + ACE_NTOHL (0x72436f64), + ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/PolicyErrorCode:1.0 16, - ACE_NTOHL (0x506f6c69), - ACE_NTOHL (0x63794572), - ACE_NTOHL (0x726f7243), + ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x63794572), + ACE_NTOHL (0x726f7243), ACE_NTOHL (0x6f646500), // name = PolicyErrorCode CORBA::tk_short, @@ -184,8 +111,8 @@ namespace CORBA &_tc_TAO_tc_CORBA_PolicyErrorCode; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// TAO_IDL - Generated from +// be/be_visitor_exception/exception_cs.cpp:63 CORBA::PolicyError::PolicyError (void) : CORBA::UserException ( @@ -269,7 +196,7 @@ void CORBA::PolicyError::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -282,14 +209,14 @@ void CORBA::PolicyError::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66 +// be/be_visitor_exception/exception_ctor.cpp:66 CORBA::PolicyError::PolicyError ( CORBA::PolicyErrorCode _tao_reason @@ -309,47 +236,47 @@ CORBA::TypeCode_ptr CORBA::PolicyError::_type (void) const } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_CORBA_PolicyError[] = { TAO_ENCAP_BYTE_ORDER, // byte order 34, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f506f), - ACE_NTOHL (0x6c696379), - ACE_NTOHL (0x4572726f), - ACE_NTOHL (0x723a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f506f), + ACE_NTOHL (0x6c696379), + ACE_NTOHL (0x4572726f), + ACE_NTOHL (0x723a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/PolicyError:1.0 12, - ACE_NTOHL (0x506f6c69), - ACE_NTOHL (0x63794572), + ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x63794572), ACE_NTOHL (0x726f7200), // name = PolicyError 1, // member count 7, - ACE_NTOHL (0x72656173), + ACE_NTOHL (0x72656173), ACE_NTOHL (0x6f6e0000), // name = reason CORBA::tk_alias, // typecode kind for typedefs 72, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 38, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f506f), - ACE_NTOHL (0x6c696379), - ACE_NTOHL (0x4572726f), - ACE_NTOHL (0x72436f64), - ACE_NTOHL (0x653a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f506f), + ACE_NTOHL (0x6c696379), + ACE_NTOHL (0x4572726f), + ACE_NTOHL (0x72436f64), + ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/PolicyErrorCode:1.0 16, - ACE_NTOHL (0x506f6c69), - ACE_NTOHL (0x63794572), - ACE_NTOHL (0x726f7243), + ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x63794572), + ACE_NTOHL (0x726f7243), ACE_NTOHL (0x6f646500), // name = PolicyErrorCode CORBA::tk_short, @@ -370,8 +297,8 @@ namespace CORBA &_tc_TAO_tc_CORBA_PolicyError; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/sequence_cs.cpp:66 +// TAO_IDL - Generated from +// be/be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_CORBA_INVALIDPOLICIES__TAO_SEQ_CORBA_USHORT__CS_) #define _CORBA_INVALIDPOLICIES__TAO_SEQ_CORBA_USHORT__CS_ @@ -423,8 +350,8 @@ void CORBA::InvalidPolicies::_tao_seq_CORBA_UShort_::_tao_any_destructor ( #endif /* end #if !defined */ -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// TAO_IDL - Generated from +// be/be_visitor_exception/exception_cs.cpp:63 CORBA::InvalidPolicies::InvalidPolicies (void) : CORBA::UserException ( @@ -508,7 +435,7 @@ void CORBA::InvalidPolicies::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -521,14 +448,14 @@ void CORBA::InvalidPolicies::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66 +// be/be_visitor_exception/exception_ctor.cpp:66 CORBA::InvalidPolicies::InvalidPolicies ( const CORBA::InvalidPolicies::_tao_seq_CORBA_UShort_ & _tao_indices @@ -548,30 +475,30 @@ CORBA::TypeCode_ptr CORBA::InvalidPolicies::_type (void) const } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_CORBA_InvalidPolicies[] = { TAO_ENCAP_BYTE_ORDER, // byte order 38, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f496e), - ACE_NTOHL (0x76616c69), - ACE_NTOHL (0x64506f6c), - ACE_NTOHL (0x69636965), - ACE_NTOHL (0x733a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f496e), + ACE_NTOHL (0x76616c69), + ACE_NTOHL (0x64506f6c), + ACE_NTOHL (0x69636965), + ACE_NTOHL (0x733a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/CORBA/InvalidPolicies:1.0 16, - ACE_NTOHL (0x496e7661), - ACE_NTOHL (0x6c696450), - ACE_NTOHL (0x6f6c6963), + ACE_NTOHL (0x496e7661), + ACE_NTOHL (0x6c696450), + ACE_NTOHL (0x6f6c6963), ACE_NTOHL (0x69657300), // name = InvalidPolicies 1, // member count 8, - ACE_NTOHL (0x696e6469), + ACE_NTOHL (0x696e6469), ACE_NTOHL (0x63657300), // name = indices CORBA::tk_sequence, // typecode kind 12, // encapsulation length @@ -597,10 +524,11 @@ namespace CORBA } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for CORBA::Policy. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Policy_ptr TAO::Objref_Traits<CORBA::Policy>::tao_duplicate ( CORBA::Policy_ptr p @@ -609,6 +537,7 @@ TAO::Objref_Traits<CORBA::Policy>::tao_duplicate ( return CORBA::Policy::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<CORBA::Policy>::tao_release ( CORBA::Policy_ptr p @@ -617,12 +546,14 @@ TAO::Objref_Traits<CORBA::Policy>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Policy_ptr TAO::Objref_Traits<CORBA::Policy>::tao_nil (void) { return CORBA::Policy::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<CORBA::Policy>::tao_marshal ( CORBA::Policy_ptr p, @@ -633,41 +564,13 @@ TAO::Objref_Traits<CORBA::Policy>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; -// Hand crafted. - -// **************************************************************** -CORBA::Boolean -CORBA::Policy::_tao_encode (TAO_OutputCDR &) -{ - return 0; -} - -CORBA::Boolean -CORBA::Policy::_tao_decode (TAO_InputCDR &) -{ - return 0; -} - -TAO_Cached_Policy_Type -CORBA::Policy::_tao_cached_type (void) const -{ - return TAO_CACHED_POLICY_UNCACHED; -} - -TAO_Policy_Scope -CORBA::Policy::_tao_scope (void) const -{ - return TAO_POLICY_DEFAULT_SCOPE; -} -// **************************************************************** - // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_cs.cpp:78 +// be/be_visitor_operation/operation_cs.cpp:78 CORBA::PolicyType CORBA::Policy::policy_type ( ACE_ENV_SINGLE_ARG_DECL @@ -680,21 +583,21 @@ CORBA::PolicyType CORBA::Policy::policy_type ( { ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this); } - + if (this->the_TAO_Policy_Proxy_Broker_ == 0) { CORBA_Policy_setup_collocation ( this->ACE_NESTED_CLASS (CORBA, Object)::_is_collocated () ); } - + TAO::Arg_Traits<CORBA::PolicyType>::ret_val _tao_retval; - + TAO::Argument *_tao_signature [] = { &_tao_retval }; - + TAO::Invocation_Adapter _tao_call ( this, _tao_signature, @@ -703,15 +606,15 @@ CORBA::PolicyType CORBA::Policy::policy_type ( 16, this->the_TAO_Policy_Proxy_Broker_ ); - + _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (_tao_retval.excp ()); - + return _tao_retval.retn (); } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_cs.cpp:78 +// be/be_visitor_operation/operation_cs.cpp:78 ::CORBA::Policy_ptr CORBA::Policy::copy ( ACE_ENV_SINGLE_ARG_DECL @@ -724,21 +627,21 @@ CORBA::PolicyType CORBA::Policy::policy_type ( { ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this); } - + if (this->the_TAO_Policy_Proxy_Broker_ == 0) { CORBA_Policy_setup_collocation ( this->ACE_NESTED_CLASS (CORBA, Object)::_is_collocated () ); } - + TAO::Arg_Traits<CORBA::Policy>::ret_val _tao_retval; - + TAO::Argument *_tao_signature [] = { &_tao_retval }; - + TAO::Invocation_Adapter _tao_call ( this, _tao_signature, @@ -747,15 +650,15 @@ CORBA::PolicyType CORBA::Policy::policy_type ( 4, this->the_TAO_Policy_Proxy_Broker_ ); - + _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (_tao_retval.excp ()); - + return _tao_retval.retn (); } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_cs.cpp:78 +// be/be_visitor_operation/operation_cs.cpp:78 void CORBA::Policy::destroy ( ACE_ENV_SINGLE_ARG_DECL @@ -768,21 +671,21 @@ void CORBA::Policy::destroy ( { ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this); } - + if (this->the_TAO_Policy_Proxy_Broker_ == 0) { CORBA_Policy_setup_collocation ( this->ACE_NESTED_CLASS (CORBA, Object)::_is_collocated () ); } - + TAO::Arg_Traits<void>::ret_val _tao_retval; - + TAO::Argument *_tao_signature [] = { &_tao_retval }; - + TAO::Invocation_Adapter _tao_call ( this, _tao_signature, @@ -791,7 +694,7 @@ void CORBA::Policy::destroy ( 7, this->the_TAO_Policy_Proxy_Broker_ ); - + _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER); ACE_CHECK; } @@ -815,7 +718,7 @@ CORBA::Policy::CORBA_Policy_setup_collocation (int collocated) CORBA::Policy::~Policy (void) {} -void +void CORBA::Policy::_tao_any_destructor (void *_tao_void_pointer) { Policy *_tao_tmp_pointer = @@ -845,7 +748,7 @@ CORBA::Policy::_duplicate (Policy_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -889,22 +792,22 @@ CORBA::Policy::marshal (TAO_OutputCDR &cdr) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_CORBA_Policy[] = { TAO_ENCAP_BYTE_ORDER, // byte order 29, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f506f), - ACE_NTOHL (0x6c696379), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f506f), + ACE_NTOHL (0x6c696379), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/Policy:1.0 7, - ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x506f6c69), ACE_NTOHL (0x63790000), // name = Policy }; @@ -923,10 +826,11 @@ namespace CORBA } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for CORBA::PolicyManager. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::PolicyManager_ptr TAO::Objref_Traits<CORBA::PolicyManager>::tao_duplicate ( CORBA::PolicyManager_ptr p @@ -935,6 +839,7 @@ TAO::Objref_Traits<CORBA::PolicyManager>::tao_duplicate ( return CORBA::PolicyManager::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<CORBA::PolicyManager>::tao_release ( CORBA::PolicyManager_ptr p @@ -943,12 +848,14 @@ TAO::Objref_Traits<CORBA::PolicyManager>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::PolicyManager_ptr TAO::Objref_Traits<CORBA::PolicyManager>::tao_nil (void) { return CORBA::PolicyManager::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<CORBA::PolicyManager>::tao_marshal ( CORBA::PolicyManager_ptr p, @@ -959,7 +866,7 @@ TAO::Objref_Traits<CORBA::PolicyManager>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*CORBA__TAO_PolicyManager_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -970,7 +877,7 @@ CORBA::PolicyManager::PolicyManager (void) CORBA::PolicyManager::~PolicyManager (void) {} -void +void CORBA::PolicyManager::_tao_any_destructor (void *_tao_void_pointer) { PolicyManager *_tao_tmp_pointer = @@ -988,10 +895,10 @@ CORBA::PolicyManager::_narrow ( { return PolicyManager::_nil (); } - + PolicyManager_ptr proxy = dynamic_cast<PolicyManager_ptr> (_tao_objref); -; + return PolicyManager::_duplicate (proxy); } @@ -1002,7 +909,7 @@ CORBA::PolicyManager::_duplicate (PolicyManager_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -1047,25 +954,25 @@ CORBA::PolicyManager::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_CORBA_PolicyManager[] = { TAO_ENCAP_BYTE_ORDER, // byte order 36, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f506f), - ACE_NTOHL (0x6c696379), - ACE_NTOHL (0x4d616e61), - ACE_NTOHL (0x6765723a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f506f), + ACE_NTOHL (0x6c696379), + ACE_NTOHL (0x4d616e61), + ACE_NTOHL (0x6765723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CORBA/PolicyManager:1.0 14, - ACE_NTOHL (0x506f6c69), - ACE_NTOHL (0x63794d61), - ACE_NTOHL (0x6e616765), + ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x63794d61), + ACE_NTOHL (0x6e616765), ACE_NTOHL (0x72000000), // name = PolicyManager }; @@ -1084,10 +991,11 @@ namespace CORBA } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for CORBA::PolicyCurrent. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::PolicyCurrent_ptr TAO::Objref_Traits<CORBA::PolicyCurrent>::tao_duplicate ( CORBA::PolicyCurrent_ptr p @@ -1096,6 +1004,7 @@ TAO::Objref_Traits<CORBA::PolicyCurrent>::tao_duplicate ( return CORBA::PolicyCurrent::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<CORBA::PolicyCurrent>::tao_release ( CORBA::PolicyCurrent_ptr p @@ -1104,12 +1013,14 @@ TAO::Objref_Traits<CORBA::PolicyCurrent>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::PolicyCurrent_ptr TAO::Objref_Traits<CORBA::PolicyCurrent>::tao_nil (void) { return CORBA::PolicyCurrent::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<CORBA::PolicyCurrent>::tao_marshal ( CORBA::PolicyCurrent_ptr p, @@ -1120,7 +1031,7 @@ TAO::Objref_Traits<CORBA::PolicyCurrent>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*CORBA__TAO_PolicyCurrent_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -1131,7 +1042,7 @@ CORBA::PolicyCurrent::PolicyCurrent (void) CORBA::PolicyCurrent::~PolicyCurrent (void) {} -void +void CORBA::PolicyCurrent::_tao_any_destructor (void *_tao_void_pointer) { PolicyCurrent *_tao_tmp_pointer = @@ -1149,10 +1060,10 @@ CORBA::PolicyCurrent::_narrow ( { return PolicyCurrent::_nil (); } - + PolicyCurrent_ptr proxy = dynamic_cast<PolicyCurrent_ptr> (_tao_objref); - + return PolicyCurrent::_duplicate (proxy); } @@ -1163,7 +1074,7 @@ CORBA::PolicyCurrent::_duplicate (PolicyCurrent_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -1216,25 +1127,25 @@ CORBA::PolicyCurrent::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_CORBA_PolicyCurrent[] = { TAO_ENCAP_BYTE_ORDER, // byte order 36, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f506f), - ACE_NTOHL (0x6c696379), - ACE_NTOHL (0x43757272), - ACE_NTOHL (0x656e743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f506f), + ACE_NTOHL (0x6c696379), + ACE_NTOHL (0x43757272), + ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/CORBA/PolicyCurrent:1.0 14, - ACE_NTOHL (0x506f6c69), - ACE_NTOHL (0x63794375), - ACE_NTOHL (0x7272656e), + ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x63794375), + ACE_NTOHL (0x7272656e), ACE_NTOHL (0x74000000), // name = PolicyCurrent }; @@ -1253,372 +1164,7 @@ namespace CORBA } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:50 - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Dual_Impl_T<CORBA::PolicyError>::demarshal_value ( - TAO_InputCDR & cdr - ) -{ - CORBA::String_var id; - - if ((cdr >> id.out ()) == 0) - { - return 0; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return 0; - } - ACE_ENDTRY; - - return 1; -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const CORBA::PolicyError &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<CORBA::PolicyError>::insert_copy ( - _tao_any, - CORBA::PolicyError::_tao_any_destructor, - CORBA::_tc_PolicyError, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - CORBA::PolicyError *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<CORBA::PolicyError>::insert ( - _tao_any, - CORBA::PolicyError::_tao_any_destructor, - CORBA::_tc_PolicyError, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - CORBA::PolicyError *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const CORBA::PolicyError *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const CORBA::PolicyError *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<CORBA::PolicyError>::extract ( - _tao_any, - CORBA::PolicyError::_tao_any_destructor, - CORBA::_tc_PolicyError, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:50 - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::demarshal_value ( - TAO_InputCDR & cdr - ) -{ - CORBA::String_var id; - - if ((cdr >> id.out ()) == 0) - { - return 0; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return 0; - } - ACE_ENDTRY; - - return 1; -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const CORBA::InvalidPolicies &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::insert_copy ( - _tao_any, - CORBA::InvalidPolicies::_tao_any_destructor, - CORBA::_tc_InvalidPolicies, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - CORBA::InvalidPolicies *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::insert ( - _tao_any, - CORBA::InvalidPolicies::_tao_any_destructor, - CORBA::_tc_InvalidPolicies, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - CORBA::InvalidPolicies *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const CORBA::InvalidPolicies *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const CORBA::InvalidPolicies *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>::extract ( - _tao_any, - CORBA::InvalidPolicies::_tao_any_destructor, - CORBA::_tc_InvalidPolicies, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::Policy_ptr _tao_elem - ) -{ - CORBA::Policy_ptr _tao_objptr = - CORBA::Policy::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::Policy_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::Policy>::insert ( - _tao_any, - CORBA::Policy::_tao_any_destructor, - CORBA::_tc_Policy, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::Policy_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::Policy>::extract ( - _tao_any, - CORBA::Policy::_tao_any_destructor, - CORBA::_tc_Policy, - _tao_elem - ); -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<CORBA::Policy>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::PolicyManager_ptr _tao_elem - ) -{ - CORBA::PolicyManager_ptr _tao_objptr = - CORBA::PolicyManager::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyManager>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyManager>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyManager>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::PolicyManager_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::PolicyManager>::insert ( - _tao_any, - CORBA::PolicyManager::_tao_any_destructor, - CORBA::_tc_PolicyManager, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::PolicyManager_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::PolicyManager>::extract ( - _tao_any, - CORBA::PolicyManager::_tao_any_destructor, - CORBA::_tc_PolicyManager, - _tao_elem - ); -} - - - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyCurrent>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyCurrent>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<CORBA::PolicyCurrent>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::PolicyCurrent_ptr _tao_elem - ) -{ - CORBA::PolicyCurrent_ptr _tao_objptr = - CORBA::PolicyCurrent::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - CORBA::PolicyCurrent_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<CORBA::PolicyCurrent>::insert ( - _tao_any, - CORBA::PolicyCurrent::_tao_any_destructor, - CORBA::_tc_PolicyCurrent, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - CORBA::PolicyCurrent_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<CORBA::PolicyCurrent>::extract ( - _tao_any, - CORBA::PolicyCurrent::_tao_any_destructor, - CORBA::_tc_PolicyCurrent, - _tao_elem - ); -} - - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_cs.cpp:95 +// be/be_visitor_sequence/cdr_op_cs.cpp:95 #if !defined _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_CORBA_UShort__CPP_ #define _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_CORBA_UShort__CPP_ @@ -1629,13 +1175,13 @@ CORBA::Boolean operator<< ( ) { CORBA::ULong _tao_seq_len = _tao_sequence.length (); - + if (strm << _tao_seq_len) { // Encode all elements. return strm.write_ushort_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); } - + return 0; } @@ -1645,7 +1191,7 @@ CORBA::Boolean operator>> ( ) { CORBA::ULong _tao_seq_len; - + if (strm >> _tao_seq_len) { // Add a check to the length of the sequence @@ -1655,28 +1201,28 @@ CORBA::Boolean operator>> ( { return 0; } - + // Set the length of the sequence. _tao_sequence.length (_tao_seq_len); - + // If length is 0 we return true. - if (0 >= _tao_seq_len) + if (0 >= _tao_seq_len) { return 1; } - + // Retrieve all the elements. return strm.read_ushort_array (_tao_sequence.get_buffer (), _tao_sequence.length ()); - + } - + return 0; } #endif /* _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_CORBA_UShort__CPP_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_cs.cpp:63 +// be/be_visitor_interface/cdr_op_cs.cpp:63 CORBA::Boolean operator<< ( TAO_OutputCDR &strm, @@ -1693,39 +1239,72 @@ CORBA::Boolean operator>> ( ) { CORBA::Object_var obj; - + if ((strm >> obj.inout ()) == 0) { return 0; } - + typedef ::CORBA::Policy RHS_SCOPED_NAME; - + // Narrow to the right type. _tao_objref = TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow ( obj.in (), CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer ); - + return 1; } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:1703 +// be/be_visitor_root/root.cpp:1725 + +// Hand crafted. +// +// **************************************************************** +CORBA::Boolean +CORBA::Policy::_tao_encode (TAO_OutputCDR &) +{ + return 0; +} + +CORBA::Boolean +CORBA::Policy::_tao_decode (TAO_InputCDR &) +{ + return 0; +} + +TAO_Cached_Policy_Type +CORBA::Policy::_tao_cached_type (void) const +{ + return TAO_CACHED_POLICY_UNCACHED; +} + +TAO_Policy_Scope +CORBA::Policy::_tao_scope (void) const +{ + return TAO_POLICY_DEFAULT_SCOPE; +} +// **************************************************************** + #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) #if !defined (_CORBA_POLICY__ARG_TRAITS_TMPLINST_CS_) #define _CORBA_POLICY__ARG_TRAITS_TMPLINST_CS_ - template class TAO::Arg_Traits<CORBA::Policy>; + template class + TAO::Arg_Traits< + CORBA::Policy + >; template class TAO::Object_Arg_Traits_T< CORBA::Policy_ptr, CORBA::Policy_var, CORBA::Policy_out, - TAO::Objref_Traits<CORBA::Policy> >; + TAO::Objref_Traits<CORBA::Policy> + >; #endif /* end #if !defined */ @@ -1735,138 +1314,125 @@ CORBA::Boolean operator>> ( CORBA::Policy_var >; - template class TAO::Objref_Traits<CORBA::Policy>; + template class + TAO::Objref_Traits< + CORBA::Policy + >; template class TAO_Objref_Var_T< CORBA::Policy >; - + template class TAO_Objref_Out_T< CORBA::Policy >; template class - TAO::Narrow_Utils<CORBA::Policy>; - - template class - TAO::Any_Impl_T< + TAO::Narrow_Utils< CORBA::Policy >; - template class TAO::Objref_Traits<CORBA::PolicyManager>; - template class - TAO_Objref_Var_T< + TAO::Objref_Traits< CORBA::PolicyManager >; template class - TAO_Objref_Out_T< + TAO_Objref_Var_T< CORBA::PolicyManager >; - + template class - TAO::Any_Impl_T< + TAO_Objref_Out_T< CORBA::PolicyManager >; - template class TAO::Objref_Traits<CORBA::PolicyCurrent>; - template class - TAO_Objref_Var_T< + TAO::Objref_Traits< CORBA::PolicyCurrent >; template class - TAO_Objref_Out_T< + TAO_Objref_Var_T< CORBA::PolicyCurrent >; - + template class - TAO::Any_Impl_T< + TAO_Objref_Out_T< CORBA::PolicyCurrent >; -template class - TAO::Any_Dual_Impl_T<CORBA::PolicyError>; -template class - TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies>; - #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) #if !defined (_CORBA_POLICY__ARG_TRAITS_TMPLINST_CS_) #define _CORBA_POLICY__ARG_TRAITS_TMPLINST_CS_ -# pragma instantiate TAO::Arg_Traits<CORBA::Policy> +# pragma instantiate \ + TAO::Arg_Traits< \ + CORBA::Policy \ + > # pragma instantiate \ TAO::Object_Arg_Traits_T< \ CORBA::Policy_ptr, \ CORBA::Policy_var, \ CORBA::Policy_out, \ - TAO::Objref_Traits<CORBA::Policy> \> + TAO::Objref_Traits<CORBA::Policy> \ + > #endif /* end #if !defined */ -# pragma instantiate TAO::Objref_Traits<CORBA::Policy> +# pragma instantiate \ + TAO::Objref_Traits< \ + CORBA::Policy \ + > # pragma instantiate \ TAO_Objref_Var_T< \ CORBA::Policy > - + # pragma instantiate \ TAO_Objref_Out_T< \ CORBA::Policy > # pragma instantiate \ - TAO::Narrow_Utils<CORBA::Policy> - -# pragma instantiate \ - TAO::Any_Impl_T< \ + TAO::Narrow_Utils< \ CORBA::Policy \ > -# pragma instantiate TAO::Objref_Traits<CORBA::PolicyManager> +# pragma instantiate \ + TAO::Objref_Traits< \ + CORBA::PolicyManager \ + > # pragma instantiate \ TAO_Objref_Var_T< \ CORBA::PolicyManager > - + # pragma instantiate \ TAO_Objref_Out_T< \ CORBA::PolicyManager > # pragma instantiate \ - TAO::Any_Impl_T< \ - CORBA::PolicyManager \ + TAO::Objref_Traits< \ + CORBA::PolicyCurrent \ > -# pragma instantiate TAO::Objref_Traits<CORBA::PolicyCurrent> - # pragma instantiate \ TAO_Objref_Var_T< \ CORBA::PolicyCurrent > - + # pragma instantiate \ TAO_Objref_Out_T< \ CORBA::PolicyCurrent > -# pragma instantiate \ - TAO::Any_Impl_T< \ - CORBA::PolicyCurrent \ - > - -#pragma instantiate \ - TAO::Any_Dual_Impl_T<CORBA::PolicyError> -#pragma instantiate \ - TAO::Any_Dual_Impl_T<CORBA::InvalidPolicies> +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/tao/PolicyC.i b/TAO/tao/PolicyC.i index b7b5b707430..9f95a60221c 100644 --- a/TAO/tao/PolicyC.i +++ b/TAO/tao/PolicyC.i @@ -27,7 +27,7 @@ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 +// be/be_visitor_interface/interface_ci.cpp:70 #if !defined (_CORBA_POLICY___CI_) #define _CORBA_POLICY___CI_ @@ -39,9 +39,13 @@ CORBA::Policy::Policy ( TAO_Abstract_ServantBase *servant, TAO_ORB_Core *oc ) - : ACE_NESTED_CLASS (CORBA, Object) (objref, _tao_collocated, servant, oc), + : ACE_NESTED_CLASS (CORBA, Object) ( + objref, + _tao_collocated, + servant, + oc + ), the_TAO_Policy_Proxy_Broker_ (0) - { this->CORBA_Policy_setup_collocation (_tao_collocated); } @@ -53,30 +57,13 @@ CORBA::Policy::Policy ( ) : ACE_NESTED_CLASS (CORBA, Object) (ior, oc), the_TAO_Policy_Proxy_Broker_ (0) - { } #endif /* end #if !defined */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_CORBA_POLICYMANAGER___CI_) -#define _CORBA_POLICYMANAGER___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_CORBA_POLICYCURRENT___CI_) -#define _CORBA_POLICYCURRENT___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71 +// be/be_visitor_exception/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -125,7 +112,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_sequence/cdr_op_ci.cpp:81 +// be/be_visitor_sequence/cdr_op_ci.cpp:81 #if !defined _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_CORBA_UShort__I_ #define _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_CORBA_UShort__I_ @@ -143,7 +130,7 @@ CORBA::Boolean TAO_Export operator>> ( #endif /* _TAO_CDR_OP_CORBA_InvalidPolicies__tao_seq_CORBA_UShort__I_ */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71 +// be/be_visitor_exception/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -192,7 +179,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_ci.cpp:72 +// be/be_visitor_interface/cdr_op_ci.cpp:72 TAO_Export CORBA::Boolean operator<< ( TAO_OutputCDR &, diff --git a/TAO/tao/PortableInterceptor.pidl b/TAO/tao/PortableInterceptor.pidl index e4701926666..9c101704deb 100644 --- a/TAO/tao/PortableInterceptor.pidl +++ b/TAO/tao/PortableInterceptor.pidl @@ -22,9 +22,8 @@ * The command used to generate code is: * * tao_idl - * -o orig -Gp -Gd -Ge 1 -GT + * -o orig -Gp -Gd -Ge 1 -GT -GA * -Wb,export_macro=TAO_Export - * -Wb,export_include="tao/corbafwd.h" * -Wb,pre_include="ace/pre.h" * -Wb,post_include="ace/post.h" * PortableInterceptor.pidl diff --git a/TAO/tao/PortableInterceptorA.cpp b/TAO/tao/PortableInterceptorA.cpp new file mode 100644 index 00000000000..119c59e08e6 --- /dev/null +++ b/TAO/tao/PortableInterceptorA.cpp @@ -0,0 +1,1183 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +#include "PortableInterceptorC.h" +#include "PortableInterceptorA.h" +#include "tao/Typecode.h" +#include "tao/Any_Impl_T.h" +#include "tao/Any_Dual_Impl_T.h" + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Interceptor>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Interceptor>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Interceptor>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::Interceptor_ptr _tao_elem + ) +{ + PortableInterceptor::Interceptor_ptr _tao_objptr = + PortableInterceptor::Interceptor::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::Interceptor_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::Interceptor>::insert ( + _tao_any, + PortableInterceptor::Interceptor::_tao_any_destructor, + PortableInterceptor::_tc_Interceptor, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::Interceptor_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::Interceptor>::extract ( + _tao_any, + PortableInterceptor::Interceptor::_tao_any_destructor, + PortableInterceptor::_tc_Interceptor, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::demarshal_value ( + TAO_InputCDR & cdr + ) +{ + CORBA::String_var id; + + if ((cdr >> id.out ()) == 0) + { + return 0; + } + + ACE_TRY_NEW_ENV + { + this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; + } + ACE_CATCHANY + { + return 0; + } + ACE_ENDTRY; + + return 1; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const PortableInterceptor::ForwardRequest &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::insert_copy ( + _tao_any, + PortableInterceptor::ForwardRequest::_tao_any_destructor, + PortableInterceptor::_tc_ForwardRequest, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ForwardRequest *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::insert ( + _tao_any, + PortableInterceptor::ForwardRequest::_tao_any_destructor, + PortableInterceptor::_tc_ForwardRequest, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ForwardRequest *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const PortableInterceptor::ForwardRequest *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const PortableInterceptor::ForwardRequest *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::extract ( + _tao_any, + PortableInterceptor::ForwardRequest::_tao_any_destructor, + PortableInterceptor::_tc_ForwardRequest, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::demarshal_value ( + TAO_InputCDR & cdr + ) +{ + CORBA::String_var id; + + if ((cdr >> id.out ()) == 0) + { + return 0; + } + + ACE_TRY_NEW_ENV + { + this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); + ACE_TRY_CHECK; + } + ACE_CATCHANY + { + return 0; + } + ACE_ENDTRY; + + return 1; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const PortableInterceptor::InvalidSlot &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::insert_copy ( + _tao_any, + PortableInterceptor::InvalidSlot::_tao_any_destructor, + PortableInterceptor::_tc_InvalidSlot, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::InvalidSlot *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::insert ( + _tao_any, + PortableInterceptor::InvalidSlot::_tao_any_destructor, + PortableInterceptor::_tc_InvalidSlot, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::InvalidSlot *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const PortableInterceptor::InvalidSlot *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const PortableInterceptor::InvalidSlot *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::extract ( + _tao_any, + PortableInterceptor::InvalidSlot::_tao_any_destructor, + PortableInterceptor::_tc_InvalidSlot, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Current>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Current>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::Current>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::Current_ptr _tao_elem + ) +{ + PortableInterceptor::Current_ptr _tao_objptr = + PortableInterceptor::Current::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::Current_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::Current>::insert ( + _tao_any, + PortableInterceptor::Current::_tao_any_destructor, + PortableInterceptor::_tc_Current, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::Current_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::Current>::extract ( + _tao_any, + PortableInterceptor::Current::_tao_any_destructor, + PortableInterceptor::_tc_Current, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::RequestInfo_ptr _tao_elem + ) +{ + PortableInterceptor::RequestInfo_ptr _tao_objptr = + PortableInterceptor::RequestInfo::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::RequestInfo_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::insert ( + _tao_any, + PortableInterceptor::RequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_RequestInfo, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::RequestInfo_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::extract ( + _tao_any, + PortableInterceptor::RequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_RequestInfo, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInfo_ptr _tao_elem + ) +{ + PortableInterceptor::ClientRequestInfo_ptr _tao_objptr = + PortableInterceptor::ClientRequestInfo::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInfo_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::insert ( + _tao_any, + PortableInterceptor::ClientRequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_ClientRequestInfo, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInfo_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::extract ( + _tao_any, + PortableInterceptor::ClientRequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_ClientRequestInfo, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ServerRequestInfo_ptr _tao_elem + ) +{ + PortableInterceptor::ServerRequestInfo_ptr _tao_objptr = + PortableInterceptor::ServerRequestInfo::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ServerRequestInfo_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::insert ( + _tao_any, + PortableInterceptor::ServerRequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_ServerRequestInfo, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ServerRequestInfo_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::extract ( + _tao_any, + PortableInterceptor::ServerRequestInfo::_tao_any_destructor, + PortableInterceptor::_tc_ServerRequestInfo, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInterceptor_ptr _tao_elem + ) +{ + PortableInterceptor::ClientRequestInterceptor_ptr _tao_objptr = + PortableInterceptor::ClientRequestInterceptor::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInterceptor_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::insert ( + _tao_any, + PortableInterceptor::ClientRequestInterceptor::_tao_any_destructor, + PortableInterceptor::_tc_ClientRequestInterceptor, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ClientRequestInterceptor_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::extract ( + _tao_any, + PortableInterceptor::ClientRequestInterceptor::_tao_any_destructor, + PortableInterceptor::_tc_ClientRequestInterceptor, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ServerRequestInterceptor_ptr _tao_elem + ) +{ + PortableInterceptor::ServerRequestInterceptor_ptr _tao_objptr = + PortableInterceptor::ServerRequestInterceptor::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ServerRequestInterceptor_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::insert ( + _tao_any, + PortableInterceptor::ServerRequestInterceptor::_tao_any_destructor, + PortableInterceptor::_tc_ServerRequestInterceptor, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ServerRequestInterceptor_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::extract ( + _tao_any, + PortableInterceptor::ServerRequestInterceptor::_tao_any_destructor, + PortableInterceptor::_tc_ServerRequestInterceptor, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::PolicyFactory_ptr _tao_elem + ) +{ + PortableInterceptor::PolicyFactory_ptr _tao_objptr = + PortableInterceptor::PolicyFactory::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::PolicyFactory_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::insert ( + _tao_any, + PortableInterceptor::PolicyFactory::_tao_any_destructor, + PortableInterceptor::_tc_PolicyFactory, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::PolicyFactory_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::extract ( + _tao_any, + PortableInterceptor::PolicyFactory::_tao_any_destructor, + PortableInterceptor::_tc_PolicyFactory, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ORBInitInfo_ptr _tao_elem + ) +{ + PortableInterceptor::ORBInitInfo_ptr _tao_objptr = + PortableInterceptor::ORBInitInfo::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ORBInitInfo_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::insert ( + _tao_any, + PortableInterceptor::ORBInitInfo::_tao_any_destructor, + PortableInterceptor::_tc_ORBInitInfo, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ORBInitInfo_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::extract ( + _tao_any, + PortableInterceptor::ORBInitInfo::_tao_any_destructor, + PortableInterceptor::_tc_ORBInitInfo, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::DuplicateName>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::DuplicateName>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const PortableInterceptor::ORBInitInfo::DuplicateName &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::DuplicateName>::insert_copy ( + _tao_any, + PortableInterceptor::ORBInitInfo::DuplicateName::_tao_any_destructor, + PortableInterceptor::ORBInitInfo::_tc_DuplicateName, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ORBInitInfo::DuplicateName *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::DuplicateName>::insert ( + _tao_any, + PortableInterceptor::ORBInitInfo::DuplicateName::_tao_any_destructor, + PortableInterceptor::ORBInitInfo::_tc_DuplicateName, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ORBInitInfo::DuplicateName *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const PortableInterceptor::ORBInitInfo::DuplicateName *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const PortableInterceptor::ORBInitInfo::DuplicateName *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::DuplicateName>::extract ( + _tao_any, + PortableInterceptor::ORBInitInfo::DuplicateName::_tao_any_destructor, + PortableInterceptor::ORBInitInfo::_tc_DuplicateName, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::InvalidName>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::InvalidName>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + const PortableInterceptor::ORBInitInfo::InvalidName &_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::InvalidName>::insert_copy ( + _tao_any, + PortableInterceptor::ORBInitInfo::InvalidName::_tao_any_destructor, + PortableInterceptor::ORBInitInfo::_tc_InvalidName, + _tao_elem + ); +} + +// Non-copying insertion. +void operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ORBInitInfo::InvalidName *_tao_elem + ) +{ + TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::InvalidName>::insert ( + _tao_any, + PortableInterceptor::ORBInitInfo::InvalidName::_tao_any_destructor, + PortableInterceptor::ORBInitInfo::_tc_InvalidName, + _tao_elem + ); +} + +// Extraction to non-const pointer (deprecated). +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ORBInitInfo::InvalidName *&_tao_elem + ) +{ + return _tao_any >>= ACE_const_cast ( + const PortableInterceptor::ORBInitInfo::InvalidName *&, + _tao_elem + ); +} + +// Extraction to const pointer. +CORBA::Boolean operator>>= ( + const CORBA::Any &_tao_any, + const PortableInterceptor::ORBInitInfo::InvalidName *&_tao_elem + ) +{ + return + TAO::Any_Dual_Impl_T<PortableInterceptor::ORBInitInfo::InvalidName>::extract ( + _tao_any, + PortableInterceptor::ORBInitInfo::InvalidName::_tao_any_destructor, + PortableInterceptor::ORBInitInfo::_tc_InvalidName, + _tao_elem + ); +} + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_cs.cpp:50 + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::marshal_value (TAO_OutputCDR &) +{ + return 0; +} + +ACE_TEMPLATE_SPECIALIZATION +CORBA::Boolean +TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::demarshal_value (TAO_InputCDR &) +{ + return 0; +} + +// Copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ORBInitializer_ptr _tao_elem + ) +{ + PortableInterceptor::ORBInitializer_ptr _tao_objptr = + PortableInterceptor::ORBInitializer::_duplicate (_tao_elem); + _tao_any <<= &_tao_objptr; +} + +// Non-copying insertion. +void +operator<<= ( + CORBA::Any &_tao_any, + PortableInterceptor::ORBInitializer_ptr *_tao_elem + ) +{ + TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::insert ( + _tao_any, + PortableInterceptor::ORBInitializer::_tao_any_destructor, + PortableInterceptor::_tc_ORBInitializer, + *_tao_elem + ); +} + +CORBA::Boolean +operator>>= ( + const CORBA::Any &_tao_any, + PortableInterceptor::ORBInitializer_ptr &_tao_elem + ) +{ + return + TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::extract ( + _tao_any, + PortableInterceptor::ORBInitializer::_tao_any_destructor, + PortableInterceptor::_tc_ORBInitializer, + _tao_elem + ); +} + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + + template class + TAO::Any_Impl_T< + PortableInterceptor::Interceptor + >; + + template class + TAO::Any_Dual_Impl_T< + PortableInterceptor::ForwardRequest + >; + + template class + TAO::Any_Dual_Impl_T< + PortableInterceptor::InvalidSlot + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::Current + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::RequestInfo + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::ClientRequestInfo + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::ServerRequestInfo + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::ClientRequestInterceptor + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::ServerRequestInterceptor + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::PolicyFactory + >; + + template class + TAO::Any_Dual_Impl_T< + PortableInterceptor::ORBInitInfo::DuplicateName + >; + + template class + TAO::Any_Dual_Impl_T< + PortableInterceptor::ORBInitInfo::InvalidName + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::ORBInitInfo + >; + + template class + TAO::Any_Impl_T< + PortableInterceptor::ORBInitializer + >; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::Interceptor \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + PortableInterceptor::ForwardRequest \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + PortableInterceptor::InvalidSlot \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::Current \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::RequestInfo \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::ClientRequestInfo \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::ServerRequestInfo \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::ClientRequestInterceptor \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::ServerRequestInterceptor \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::PolicyFactory \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + PortableInterceptor::ORBInitInfo::DuplicateName \ + > + +# pragma instantiate \ + TAO::Any_Dual_Impl_T< \ + PortableInterceptor::ORBInitInfo::InvalidName \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::ORBInitInfo \ + > + +# pragma instantiate \ + TAO::Any_Impl_T< \ + PortableInterceptor::ORBInitializer \ + > + +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + diff --git a/TAO/tao/PortableInterceptorA.h b/TAO/tao/PortableInterceptorA.h new file mode 100644 index 00000000000..46c9f777cb7 --- /dev/null +++ b/TAO/tao/PortableInterceptorA.h @@ -0,0 +1,148 @@ +// -*- 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/ +// and +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about TAO is available at: +// http://www.cs.wustl.edu/~schmidt/TAO.html + +// TAO_IDL - Generated from +// be/be_codegen.cpp:848 + +#ifndef _TAO_IDL_ORIG_PORTABLEINTERCEPTORA_ANYOP_H_ +#define _TAO_IDL_ORIG_PORTABLEINTERCEPTORA_ANYOP_H_ + +#include /**/ "ace/pre.h" + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::Interceptor_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::Interceptor_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::Interceptor_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const PortableInterceptor::ForwardRequest &); // copying version +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ForwardRequest*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ForwardRequest *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableInterceptor::ForwardRequest *&); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const PortableInterceptor::InvalidSlot &); // copying version +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::InvalidSlot*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::InvalidSlot *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableInterceptor::InvalidSlot *&); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::Current_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::Current_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::Current_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::RequestInfo_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::RequestInfo_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::RequestInfo_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ClientRequestInfo_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ClientRequestInfo_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ClientRequestInfo_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ServerRequestInfo_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ServerRequestInfo_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ServerRequestInfo_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ClientRequestInterceptor_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ClientRequestInterceptor_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ClientRequestInterceptor_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ServerRequestInterceptor_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ServerRequestInterceptor_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ServerRequestInterceptor_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::PolicyFactory_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::PolicyFactory_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::PolicyFactory_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_interface_fwd/any_op_ch.cpp:65 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::IORInterceptor_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::IORInterceptor_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::IORInterceptor *&); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ORBInitInfo_ptr &); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const PortableInterceptor::ORBInitInfo::DuplicateName &); // copying version +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo::DuplicateName*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ORBInitInfo::DuplicateName *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableInterceptor::ORBInitInfo::DuplicateName *&); + +// TAO_IDL - Generated from +// be/be_visitor_exception/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, const PortableInterceptor::ORBInitInfo::InvalidName &); // copying version +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitInfo::InvalidName*); // noncopying version +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ORBInitInfo::InvalidName *&); // deprecated +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableInterceptor::ORBInitInfo::InvalidName *&); + +// TAO_IDL - Generated from +// be/be_visitor_interface/any_op_ch.cpp:52 + +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitializer_ptr); // copying +TAO_Export void operator<<= (CORBA::Any &, PortableInterceptor::ORBInitializer_ptr *); // non-copying +TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableInterceptor::ORBInitializer_ptr &); + +#include /**/ "ace/post.h" + +#endif /* ifndef */ + diff --git a/TAO/tao/PortableInterceptorC.cpp b/TAO/tao/PortableInterceptorC.cpp index ba148a3e1ea..ed6e5a4ef44 100644 --- a/TAO/tao/PortableInterceptorC.cpp +++ b/TAO/tao/PortableInterceptorC.cpp @@ -26,13 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_codegen.cpp:301 +// be/be_codegen.cpp:338 #include "PortableInterceptorC.h" -#include "DynamicC.h" -#include "Any_Impl_T.h" -#include "Any_Dual_Impl_T.h" #include "tao/Typecode.h" #include "ace/OS_NS_string.h" @@ -45,7 +42,7 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_arg_traits.cpp:59 +// be/be_visitor_arg_traits.cpp:62 // Arg traits specializations. namespace TAO @@ -53,11 +50,11 @@ namespace TAO }; // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 - +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::Interceptor. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::Interceptor_ptr TAO::Objref_Traits<PortableInterceptor::Interceptor>::tao_duplicate ( PortableInterceptor::Interceptor_ptr p @@ -66,6 +63,7 @@ TAO::Objref_Traits<PortableInterceptor::Interceptor>::tao_duplicate ( return PortableInterceptor::Interceptor::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::Interceptor>::tao_release ( PortableInterceptor::Interceptor_ptr p @@ -74,12 +72,14 @@ TAO::Objref_Traits<PortableInterceptor::Interceptor>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::Interceptor_ptr TAO::Objref_Traits<PortableInterceptor::Interceptor>::tao_nil (void) { return PortableInterceptor::Interceptor::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::Interceptor>::tao_marshal ( PortableInterceptor::Interceptor_ptr p, @@ -89,9 +89,8 @@ TAO::Objref_Traits<PortableInterceptor::Interceptor>::tao_marshal ( return p->marshal (cdr); } - // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_Interceptor_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -102,7 +101,7 @@ PortableInterceptor::Interceptor::Interceptor (void) PortableInterceptor::Interceptor::~Interceptor (void) {} -void +void PortableInterceptor::Interceptor::_tao_any_destructor (void *_tao_void_pointer) { Interceptor *_tao_tmp_pointer = @@ -120,10 +119,10 @@ PortableInterceptor::Interceptor::_narrow ( { return Interceptor::_nil (); } - + Interceptor_ptr proxy = dynamic_cast<Interceptor_ptr> (_tao_objref); - + return Interceptor::_duplicate (proxy); } @@ -134,7 +133,7 @@ PortableInterceptor::Interceptor::_duplicate (Interceptor_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -179,27 +178,27 @@ PortableInterceptor::Interceptor::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_Interceptor[] = { TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f723a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f723a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableInterceptor/Interceptor:1.0 12, - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), ACE_NTOHL (0x746f7200), // name = Interceptor }; @@ -217,8 +216,8 @@ namespace PortableInterceptor &_tc_TAO_tc_PortableInterceptor_Interceptor; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// TAO_IDL - Generated from +// be/be_visitor_exception/exception_cs.cpp:63 PortableInterceptor::ForwardRequest::ForwardRequest (void) : CORBA::UserException ( @@ -304,7 +303,7 @@ void PortableInterceptor::ForwardRequest::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -317,14 +316,14 @@ void PortableInterceptor::ForwardRequest::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66 +// be/be_visitor_exception/exception_ctor.cpp:66 PortableInterceptor::ForwardRequest::ForwardRequest ( const CORBA::Object_ptr _tao_forward, @@ -346,53 +345,53 @@ CORBA::TypeCode_ptr PortableInterceptor::ForwardRequest::_type (void) const } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ForwardRequest[] = { TAO_ENCAP_BYTE_ORDER, // byte order 51, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x466f7277), - ACE_NTOHL (0x61726452), - ACE_NTOHL (0x65717565), - ACE_NTOHL (0x73743a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x466f7277), + ACE_NTOHL (0x61726452), + ACE_NTOHL (0x65717565), + ACE_NTOHL (0x73743a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableInterceptor/ForwardRequest:1.0 15, - ACE_NTOHL (0x466f7277), - ACE_NTOHL (0x61726452), - ACE_NTOHL (0x65717565), + ACE_NTOHL (0x466f7277), + ACE_NTOHL (0x61726452), + ACE_NTOHL (0x65717565), ACE_NTOHL (0x73740000), // name = ForwardRequest 2, // member count 8, - ACE_NTOHL (0x666f7277), + ACE_NTOHL (0x666f7277), ACE_NTOHL (0x61726400), // name = forward CORBA::tk_objref, 52, // encapsulation length TAO_ENCAP_BYTE_ORDER, // byte order 29, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x434f5242), - ACE_NTOHL (0x412f4f62), - ACE_NTOHL (0x6a656374), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x434f5242), + ACE_NTOHL (0x412f4f62), + ACE_NTOHL (0x6a656374), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/CORBA/Object:1.0 7, - ACE_NTOHL (0x4f626a65), + ACE_NTOHL (0x4f626a65), ACE_NTOHL (0x63740000), // name = Object - + 10, - ACE_NTOHL (0x7065726d), - ACE_NTOHL (0x616e656e), + ACE_NTOHL (0x7065726d), + ACE_NTOHL (0x616e656e), ACE_NTOHL (0x74000000), // name = permanent CORBA::tk_boolean, @@ -413,27 +412,27 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ReplyStatus[] = { TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x5265706c), - ACE_NTOHL (0x79537461), - ACE_NTOHL (0x7475733a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x5265706c), + ACE_NTOHL (0x79537461), + ACE_NTOHL (0x7475733a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableInterceptor/ReplyStatus:1.0 12, - ACE_NTOHL (0x5265706c), - ACE_NTOHL (0x79537461), + ACE_NTOHL (0x5265706c), + ACE_NTOHL (0x79537461), ACE_NTOHL (0x74757300), // name = ReplyStatus CORBA::tk_short, @@ -454,25 +453,25 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_SlotId[] = { TAO_ENCAP_BYTE_ORDER, // byte order 43, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x536c6f74), - ACE_NTOHL (0x49643a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x536c6f74), + ACE_NTOHL (0x49643a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableInterceptor/SlotId:1.0 7, - ACE_NTOHL (0x536c6f74), + ACE_NTOHL (0x536c6f74), ACE_NTOHL (0x49640000), // name = SlotId CORBA::tk_ulong, @@ -492,8 +491,8 @@ namespace PortableInterceptor &_tc_TAO_tc_PortableInterceptor_SlotId; } -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// TAO_IDL - Generated from +// be/be_visitor_exception/exception_cs.cpp:63 PortableInterceptor::InvalidSlot::InvalidSlot (void) : CORBA::UserException ( @@ -575,7 +574,7 @@ void PortableInterceptor::InvalidSlot::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -588,7 +587,7 @@ void PortableInterceptor::InvalidSlot::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -599,27 +598,27 @@ CORBA::TypeCode_ptr PortableInterceptor::InvalidSlot::_type (void) const } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_InvalidSlot[] = { TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x496e7661), - ACE_NTOHL (0x6c696453), - ACE_NTOHL (0x6c6f743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x496e7661), + ACE_NTOHL (0x6c696453), + ACE_NTOHL (0x6c6f743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableInterceptor/InvalidSlot:1.0 12, - ACE_NTOHL (0x496e7661), - ACE_NTOHL (0x6c696453), + ACE_NTOHL (0x496e7661), + ACE_NTOHL (0x6c696453), ACE_NTOHL (0x6c6f7400), // name = InvalidSlot 0, // member count }; @@ -639,11 +638,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 - +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::Current. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::Current_ptr TAO::Objref_Traits<PortableInterceptor::Current>::tao_duplicate ( PortableInterceptor::Current_ptr p @@ -652,6 +651,7 @@ TAO::Objref_Traits<PortableInterceptor::Current>::tao_duplicate ( return PortableInterceptor::Current::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::Current>::tao_release ( PortableInterceptor::Current_ptr p @@ -660,12 +660,14 @@ TAO::Objref_Traits<PortableInterceptor::Current>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::Current_ptr TAO::Objref_Traits<PortableInterceptor::Current>::tao_nil (void) { return PortableInterceptor::Current::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::Current>::tao_marshal ( PortableInterceptor::Current_ptr p, @@ -675,9 +677,8 @@ TAO::Objref_Traits<PortableInterceptor::Current>::tao_marshal ( return p->marshal (cdr); } - // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_Current_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -688,7 +689,7 @@ PortableInterceptor::Current::Current (void) PortableInterceptor::Current::~Current (void) {} -void +void PortableInterceptor::Current::_tao_any_destructor (void *_tao_void_pointer) { Current *_tao_tmp_pointer = @@ -706,10 +707,10 @@ PortableInterceptor::Current::_narrow ( { return Current::_nil (); } - + Current_ptr proxy = dynamic_cast<Current_ptr> (_tao_objref); -; + return Current::_duplicate (proxy); } @@ -720,7 +721,7 @@ PortableInterceptor::Current::_duplicate (Current_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -769,25 +770,25 @@ PortableInterceptor::Current::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_Current[] = { TAO_ENCAP_BYTE_ORDER, // byte order 44, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x43757272), - ACE_NTOHL (0x656e743a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x43757272), + ACE_NTOHL (0x656e743a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableInterceptor/Current:1.0 8, - ACE_NTOHL (0x43757272), + ACE_NTOHL (0x43757272), ACE_NTOHL (0x656e7400), // name = Current }; @@ -806,10 +807,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::RequestInfo. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::RequestInfo_ptr TAO::Objref_Traits<PortableInterceptor::RequestInfo>::tao_duplicate ( PortableInterceptor::RequestInfo_ptr p @@ -818,6 +820,7 @@ TAO::Objref_Traits<PortableInterceptor::RequestInfo>::tao_duplicate ( return PortableInterceptor::RequestInfo::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::RequestInfo>::tao_release ( PortableInterceptor::RequestInfo_ptr p @@ -826,12 +829,14 @@ TAO::Objref_Traits<PortableInterceptor::RequestInfo>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::RequestInfo_ptr TAO::Objref_Traits<PortableInterceptor::RequestInfo>::tao_nil (void) { return PortableInterceptor::RequestInfo::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::RequestInfo>::tao_marshal ( PortableInterceptor::RequestInfo_ptr p, @@ -842,7 +847,7 @@ TAO::Objref_Traits<PortableInterceptor::RequestInfo>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_RequestInfo_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -853,7 +858,7 @@ PortableInterceptor::RequestInfo::RequestInfo (void) PortableInterceptor::RequestInfo::~RequestInfo (void) {} -void +void PortableInterceptor::RequestInfo::_tao_any_destructor (void *_tao_void_pointer) { RequestInfo *_tao_tmp_pointer = @@ -871,10 +876,10 @@ PortableInterceptor::RequestInfo::_narrow ( { return RequestInfo::_nil (); } - + RequestInfo_ptr proxy = dynamic_cast<RequestInfo_ptr> (_tao_objref); - + return RequestInfo::_duplicate (proxy); } @@ -885,7 +890,7 @@ PortableInterceptor::RequestInfo::_duplicate (RequestInfo_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -930,27 +935,27 @@ PortableInterceptor::RequestInfo::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_RequestInfo[] = { TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x52657175), - ACE_NTOHL (0x65737449), - ACE_NTOHL (0x6e666f3a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x52657175), + ACE_NTOHL (0x65737449), + ACE_NTOHL (0x6e666f3a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableInterceptor/RequestInfo:1.0 12, - ACE_NTOHL (0x52657175), - ACE_NTOHL (0x65737449), + ACE_NTOHL (0x52657175), + ACE_NTOHL (0x65737449), ACE_NTOHL (0x6e666f00), // name = RequestInfo }; @@ -969,10 +974,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::ClientRequestInfo. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ClientRequestInfo_ptr TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>::tao_duplicate ( PortableInterceptor::ClientRequestInfo_ptr p @@ -981,6 +987,7 @@ TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>::tao_duplicate ( return PortableInterceptor::ClientRequestInfo::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>::tao_release ( PortableInterceptor::ClientRequestInfo_ptr p @@ -989,12 +996,14 @@ TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ClientRequestInfo_ptr TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>::tao_nil (void) { return PortableInterceptor::ClientRequestInfo::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>::tao_marshal ( PortableInterceptor::ClientRequestInfo_ptr p, @@ -1005,7 +1014,7 @@ TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_ClientRequestInfo_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -1016,7 +1025,7 @@ PortableInterceptor::ClientRequestInfo::ClientRequestInfo (void) PortableInterceptor::ClientRequestInfo::~ClientRequestInfo (void) {} -void +void PortableInterceptor::ClientRequestInfo::_tao_any_destructor (void *_tao_void_pointer) { ClientRequestInfo *_tao_tmp_pointer = @@ -1034,10 +1043,10 @@ PortableInterceptor::ClientRequestInfo::_narrow ( { return ClientRequestInfo::_nil (); } - + ClientRequestInfo_ptr proxy = dynamic_cast<ClientRequestInfo_ptr> (_tao_objref); - + return ClientRequestInfo::_duplicate (proxy); } @@ -1048,7 +1057,7 @@ PortableInterceptor::ClientRequestInfo::_duplicate (ClientRequestInfo_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -1097,31 +1106,31 @@ PortableInterceptor::ClientRequestInfo::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ClientRequestInfo[] = { TAO_ENCAP_BYTE_ORDER, // byte order 54, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x436c6965), - ACE_NTOHL (0x6e745265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e66), - ACE_NTOHL (0x6f3a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x436c6965), + ACE_NTOHL (0x6e745265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e66), + ACE_NTOHL (0x6f3a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableInterceptor/ClientRequestInfo:1.0 18, - ACE_NTOHL (0x436c6965), - ACE_NTOHL (0x6e745265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e66), + ACE_NTOHL (0x436c6965), + ACE_NTOHL (0x6e745265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e66), ACE_NTOHL (0x6f000000), // name = ClientRequestInfo }; @@ -1140,10 +1149,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::ServerRequestInfo. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ServerRequestInfo_ptr TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>::tao_duplicate ( PortableInterceptor::ServerRequestInfo_ptr p @@ -1152,6 +1162,7 @@ TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>::tao_duplicate ( return PortableInterceptor::ServerRequestInfo::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>::tao_release ( PortableInterceptor::ServerRequestInfo_ptr p @@ -1160,12 +1171,14 @@ TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ServerRequestInfo_ptr TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>::tao_nil (void) { return PortableInterceptor::ServerRequestInfo::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>::tao_marshal ( PortableInterceptor::ServerRequestInfo_ptr p, @@ -1176,7 +1189,7 @@ TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_ServerRequestInfo_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -1187,7 +1200,7 @@ PortableInterceptor::ServerRequestInfo::ServerRequestInfo (void) PortableInterceptor::ServerRequestInfo::~ServerRequestInfo (void) {} -void +void PortableInterceptor::ServerRequestInfo::_tao_any_destructor (void *_tao_void_pointer) { ServerRequestInfo *_tao_tmp_pointer = @@ -1205,10 +1218,10 @@ PortableInterceptor::ServerRequestInfo::_narrow ( { return ServerRequestInfo::_nil (); } - + ServerRequestInfo_ptr proxy = dynamic_cast<ServerRequestInfo_ptr> (_tao_objref); - + return ServerRequestInfo::_duplicate (proxy); } @@ -1219,7 +1232,7 @@ PortableInterceptor::ServerRequestInfo::_duplicate (ServerRequestInfo_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -1268,31 +1281,31 @@ PortableInterceptor::ServerRequestInfo::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ServerRequestInfo[] = { TAO_ENCAP_BYTE_ORDER, // byte order 54, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x65725265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e66), - ACE_NTOHL (0x6f3a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x65725265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e66), + ACE_NTOHL (0x6f3a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableInterceptor/ServerRequestInfo:1.0 18, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x65725265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e66), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x65725265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e66), ACE_NTOHL (0x6f000000), // name = ServerRequestInfo }; @@ -1311,10 +1324,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::ClientRequestInterceptor. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ClientRequestInterceptor_ptr TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>::tao_duplicate ( PortableInterceptor::ClientRequestInterceptor_ptr p @@ -1323,6 +1337,7 @@ TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>::tao_duplicate return PortableInterceptor::ClientRequestInterceptor::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>::tao_release ( PortableInterceptor::ClientRequestInterceptor_ptr p @@ -1331,12 +1346,14 @@ TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ClientRequestInterceptor_ptr TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>::tao_nil (void) { return PortableInterceptor::ClientRequestInterceptor::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>::tao_marshal ( PortableInterceptor::ClientRequestInterceptor_ptr p, @@ -1347,7 +1364,7 @@ TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_ClientRequestInterceptor_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -1358,7 +1375,7 @@ PortableInterceptor::ClientRequestInterceptor::ClientRequestInterceptor (void) PortableInterceptor::ClientRequestInterceptor::~ClientRequestInterceptor (void) {} -void +void PortableInterceptor::ClientRequestInterceptor::_tao_any_destructor (void *_tao_void_pointer) { ClientRequestInterceptor *_tao_tmp_pointer = @@ -1376,11 +1393,10 @@ PortableInterceptor::ClientRequestInterceptor::_narrow ( { return ClientRequestInterceptor::_nil (); } - + ClientRequestInterceptor_ptr proxy = dynamic_cast<ClientRequestInterceptor_ptr> (_tao_objref); - -; + return ClientRequestInterceptor::_duplicate (proxy); } @@ -1391,7 +1407,7 @@ PortableInterceptor::ClientRequestInterceptor::_duplicate (ClientRequestIntercep { obj->_add_ref (); } - + return obj; } @@ -1440,35 +1456,35 @@ PortableInterceptor::ClientRequestInterceptor::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ClientRequestInterceptor[] = { TAO_ENCAP_BYTE_ORDER, // byte order 61, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x436c6965), - ACE_NTOHL (0x6e745265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e74), - ACE_NTOHL (0x65726365), - ACE_NTOHL (0x70746f72), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x436c6965), + ACE_NTOHL (0x6e745265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e74), + ACE_NTOHL (0x65726365), + ACE_NTOHL (0x70746f72), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableInterceptor/ClientRequestInterceptor:1.0 25, - ACE_NTOHL (0x436c6965), - ACE_NTOHL (0x6e745265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e74), - ACE_NTOHL (0x65726365), - ACE_NTOHL (0x70746f72), + ACE_NTOHL (0x436c6965), + ACE_NTOHL (0x6e745265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e74), + ACE_NTOHL (0x65726365), + ACE_NTOHL (0x70746f72), ACE_NTOHL (0x0), // name = ClientRequestInterceptor }; @@ -1487,10 +1503,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::ServerRequestInterceptor. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ServerRequestInterceptor_ptr TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>::tao_duplicate ( PortableInterceptor::ServerRequestInterceptor_ptr p @@ -1499,6 +1516,7 @@ TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>::tao_duplicate return PortableInterceptor::ServerRequestInterceptor::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>::tao_release ( PortableInterceptor::ServerRequestInterceptor_ptr p @@ -1507,12 +1525,14 @@ TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ServerRequestInterceptor_ptr TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>::tao_nil (void) { return PortableInterceptor::ServerRequestInterceptor::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>::tao_marshal ( PortableInterceptor::ServerRequestInterceptor_ptr p, @@ -1523,7 +1543,7 @@ TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_ServerRequestInterceptor_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -1534,7 +1554,7 @@ PortableInterceptor::ServerRequestInterceptor::ServerRequestInterceptor (void) PortableInterceptor::ServerRequestInterceptor::~ServerRequestInterceptor (void) {} -void +void PortableInterceptor::ServerRequestInterceptor::_tao_any_destructor (void *_tao_void_pointer) { ServerRequestInterceptor *_tao_tmp_pointer = @@ -1552,10 +1572,10 @@ PortableInterceptor::ServerRequestInterceptor::_narrow ( { return ServerRequestInterceptor::_nil (); } - + ServerRequestInterceptor_ptr proxy = dynamic_cast<ServerRequestInterceptor_ptr> (_tao_objref); - + return ServerRequestInterceptor::_duplicate (proxy); } @@ -1566,7 +1586,7 @@ PortableInterceptor::ServerRequestInterceptor::_duplicate (ServerRequestIntercep { obj->_add_ref (); } - + return obj; } @@ -1615,35 +1635,35 @@ PortableInterceptor::ServerRequestInterceptor::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ServerRequestInterceptor[] = { TAO_ENCAP_BYTE_ORDER, // byte order 61, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x65725265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e74), - ACE_NTOHL (0x65726365), - ACE_NTOHL (0x70746f72), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x65725265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e74), + ACE_NTOHL (0x65726365), + ACE_NTOHL (0x70746f72), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableInterceptor/ServerRequestInterceptor:1.0 25, - ACE_NTOHL (0x53657276), - ACE_NTOHL (0x65725265), - ACE_NTOHL (0x71756573), - ACE_NTOHL (0x74496e74), - ACE_NTOHL (0x65726365), - ACE_NTOHL (0x70746f72), + ACE_NTOHL (0x53657276), + ACE_NTOHL (0x65725265), + ACE_NTOHL (0x71756573), + ACE_NTOHL (0x74496e74), + ACE_NTOHL (0x65726365), + ACE_NTOHL (0x70746f72), ACE_NTOHL (0x0), // name = ServerRequestInterceptor }; @@ -1662,10 +1682,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::PolicyFactory. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::PolicyFactory_ptr TAO::Objref_Traits<PortableInterceptor::PolicyFactory>::tao_duplicate ( PortableInterceptor::PolicyFactory_ptr p @@ -1674,6 +1695,7 @@ TAO::Objref_Traits<PortableInterceptor::PolicyFactory>::tao_duplicate ( return PortableInterceptor::PolicyFactory::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::PolicyFactory>::tao_release ( PortableInterceptor::PolicyFactory_ptr p @@ -1682,12 +1704,14 @@ TAO::Objref_Traits<PortableInterceptor::PolicyFactory>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::PolicyFactory_ptr TAO::Objref_Traits<PortableInterceptor::PolicyFactory>::tao_nil (void) { return PortableInterceptor::PolicyFactory::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::PolicyFactory>::tao_marshal ( PortableInterceptor::PolicyFactory_ptr p, @@ -1698,7 +1722,7 @@ TAO::Objref_Traits<PortableInterceptor::PolicyFactory>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_PolicyFactory_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -1709,7 +1733,7 @@ PortableInterceptor::PolicyFactory::PolicyFactory (void) PortableInterceptor::PolicyFactory::~PolicyFactory (void) {} -void +void PortableInterceptor::PolicyFactory::_tao_any_destructor (void *_tao_void_pointer) { PolicyFactory *_tao_tmp_pointer = @@ -1727,10 +1751,10 @@ PortableInterceptor::PolicyFactory::_narrow ( { return PolicyFactory::_nil (); } - + PolicyFactory_ptr proxy = dynamic_cast<PolicyFactory_ptr> (_tao_objref); - + return PolicyFactory::_duplicate (proxy); } @@ -1741,22 +1765,10 @@ PortableInterceptor::PolicyFactory::_duplicate (PolicyFactory_ptr obj) { obj->_add_ref (); } - + return obj; } -// Hand-crafted. - -::CORBA::Policy_ptr -PortableInterceptor::PolicyFactory::_create_policy (CORBA::PolicyType - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException, - CORBA::PolicyError)) -{ - ACE_THROW_RETURN (CORBA::PolicyError (CORBA::BAD_POLICY_TYPE), - CORBA::Policy::_nil ()); -} - CORBA::Boolean PortableInterceptor::PolicyFactory::_is_a ( const char *value @@ -1797,30 +1809,42 @@ PortableInterceptor::PolicyFactory::marshal (TAO_OutputCDR &) return 0; } +// Hand-crafted. + +::CORBA::Policy_ptr +PortableInterceptor::PolicyFactory::_create_policy (CORBA::PolicyType + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException, + CORBA::PolicyError)) +{ + ACE_THROW_RETURN (CORBA::PolicyError (CORBA::BAD_POLICY_TYPE), + CORBA::Policy::_nil ()); +} + // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_PolicyFactory[] = { TAO_ENCAP_BYTE_ORDER, // byte order 50, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x506f6c69), - ACE_NTOHL (0x63794661), - ACE_NTOHL (0x63746f72), - ACE_NTOHL (0x793a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x63794661), + ACE_NTOHL (0x63746f72), + ACE_NTOHL (0x793a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableInterceptor/PolicyFactory:1.0 14, - ACE_NTOHL (0x506f6c69), - ACE_NTOHL (0x63794661), - ACE_NTOHL (0x63746f72), + ACE_NTOHL (0x506f6c69), + ACE_NTOHL (0x63794661), + ACE_NTOHL (0x63746f72), ACE_NTOHL (0x79000000), // name = PolicyFactory }; @@ -1839,11 +1863,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 - +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::ORBInitInfo. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ORBInitInfo_ptr TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>::tao_duplicate ( PortableInterceptor::ORBInitInfo_ptr p @@ -1852,6 +1876,7 @@ TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>::tao_duplicate ( return PortableInterceptor::ORBInitInfo::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>::tao_release ( PortableInterceptor::ORBInitInfo_ptr p @@ -1860,12 +1885,14 @@ TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ORBInitInfo_ptr TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>::tao_nil (void) { return PortableInterceptor::ORBInitInfo::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>::tao_marshal ( PortableInterceptor::ORBInitInfo_ptr p, @@ -1875,40 +1902,39 @@ TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>::tao_marshal ( return p->marshal (cdr); } - // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_ORBInitInfo_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ORBInitInfo_ObjectId[] = { TAO_ENCAP_BYTE_ORDER, // byte order 57, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x4f524249), - ACE_NTOHL (0x6e697449), - ACE_NTOHL (0x6e666f2f), - ACE_NTOHL (0x4f626a65), - ACE_NTOHL (0x63744964), - ACE_NTOHL (0x3a312e30), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x4f524249), + ACE_NTOHL (0x6e697449), + ACE_NTOHL (0x6e666f2f), + ACE_NTOHL (0x4f626a65), + ACE_NTOHL (0x63744964), + ACE_NTOHL (0x3a312e30), ACE_NTOHL (0x0), // repository ID = IDL:omg.org/PortableInterceptor/ORBInitInfo/ObjectId:1.0 9, - ACE_NTOHL (0x4f626a65), - ACE_NTOHL (0x63744964), + ACE_NTOHL (0x4f626a65), + ACE_NTOHL (0x63744964), ACE_NTOHL (0x0), // name = ObjectId - CORBA::tk_string, + CORBA::tk_string, 0U, // string length }; @@ -1923,8 +1949,8 @@ static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_ORBInitInfo_ObjectId ( ::CORBA::TypeCode_ptr PortableInterceptor::ORBInitInfo::_tc_ObjectId = &_tc_TAO_tc_PortableInterceptor_ORBInitInfo_ObjectId; -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// TAO_IDL - Generated from +// be/be_visitor_exception/exception_cs.cpp:63 PortableInterceptor::ORBInitInfo::DuplicateName::DuplicateName (void) : CORBA::UserException ( @@ -2018,7 +2044,7 @@ void PortableInterceptor::ORBInitInfo::DuplicateName::_tao_decode ( // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ctor.cpp:66 +// be/be_visitor_exception/exception_ctor.cpp:66 PortableInterceptor::ORBInitInfo::DuplicateName::DuplicateName ( const char * _tao_name @@ -2038,38 +2064,38 @@ CORBA::TypeCode_ptr PortableInterceptor::ORBInitInfo::DuplicateName::_type (void } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ORBInitInfo_DuplicateName[] = { TAO_ENCAP_BYTE_ORDER, // byte order 62, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x4f524249), - ACE_NTOHL (0x6e697449), - ACE_NTOHL (0x6e666f2f), - ACE_NTOHL (0x4475706c), - ACE_NTOHL (0x69636174), - ACE_NTOHL (0x654e616d), - ACE_NTOHL (0x653a312e), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x4f524249), + ACE_NTOHL (0x6e697449), + ACE_NTOHL (0x6e666f2f), + ACE_NTOHL (0x4475706c), + ACE_NTOHL (0x69636174), + ACE_NTOHL (0x654e616d), + ACE_NTOHL (0x653a312e), ACE_NTOHL (0x30000000), // repository ID = IDL:omg.org/PortableInterceptor/ORBInitInfo/DuplicateName:1.0 14, - ACE_NTOHL (0x4475706c), - ACE_NTOHL (0x69636174), - ACE_NTOHL (0x654e616d), + ACE_NTOHL (0x4475706c), + ACE_NTOHL (0x69636174), + ACE_NTOHL (0x654e616d), ACE_NTOHL (0x65000000), // name = DuplicateName 1, // member count 5, - ACE_NTOHL (0x6e616d65), + ACE_NTOHL (0x6e616d65), ACE_NTOHL (0x0), // name = name - CORBA::tk_string, + CORBA::tk_string, 0U, // string length }; @@ -2084,8 +2110,8 @@ static CORBA::TypeCode _tc_TAO_tc_PortableInterceptor_ORBInitInfo_DuplicateName ::CORBA::TypeCode_ptr PortableInterceptor::ORBInitInfo::_tc_DuplicateName = &_tc_TAO_tc_PortableInterceptor_ORBInitInfo_DuplicateName; -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_cs.cpp:63 +// TAO_IDL - Generated from +// be/be_visitor_exception/exception_cs.cpp:63 PortableInterceptor::ORBInitInfo::InvalidName::InvalidName (void) : CORBA::UserException ( @@ -2181,30 +2207,30 @@ CORBA::TypeCode_ptr PortableInterceptor::ORBInitInfo::InvalidName::_type (void) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ORBInitInfo_InvalidName[] = { TAO_ENCAP_BYTE_ORDER, // byte order 60, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x4f524249), - ACE_NTOHL (0x6e697449), - ACE_NTOHL (0x6e666f2f), - ACE_NTOHL (0x496e7661), - ACE_NTOHL (0x6c69644e), - ACE_NTOHL (0x616d653a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x4f524249), + ACE_NTOHL (0x6e697449), + ACE_NTOHL (0x6e666f2f), + ACE_NTOHL (0x496e7661), + ACE_NTOHL (0x6c69644e), + ACE_NTOHL (0x616d653a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableInterceptor/ORBInitInfo/InvalidName:1.0 12, - ACE_NTOHL (0x496e7661), - ACE_NTOHL (0x6c69644e), + ACE_NTOHL (0x496e7661), + ACE_NTOHL (0x6c69644e), ACE_NTOHL (0x616d6500), // name = InvalidName 0, // member count }; @@ -2226,7 +2252,7 @@ PortableInterceptor::ORBInitInfo::ORBInitInfo (void) PortableInterceptor::ORBInitInfo::~ORBInitInfo (void) {} -void +void PortableInterceptor::ORBInitInfo::_tao_any_destructor (void *_tao_void_pointer) { ORBInitInfo *_tao_tmp_pointer = @@ -2244,10 +2270,10 @@ PortableInterceptor::ORBInitInfo::_narrow ( { return ORBInitInfo::_nil (); } - + ORBInitInfo_ptr proxy = dynamic_cast<ORBInitInfo_ptr> (_tao_objref); - + return ORBInitInfo::_duplicate (proxy); } @@ -2258,7 +2284,7 @@ PortableInterceptor::ORBInitInfo::_duplicate (ORBInitInfo_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -2303,27 +2329,27 @@ PortableInterceptor::ORBInitInfo::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ORBInitInfo[] = { TAO_ENCAP_BYTE_ORDER, // byte order 48, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x4f524249), - ACE_NTOHL (0x6e697449), - ACE_NTOHL (0x6e666f3a), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x4f524249), + ACE_NTOHL (0x6e697449), + ACE_NTOHL (0x6e666f3a), ACE_NTOHL (0x312e3000), // repository ID = IDL:omg.org/PortableInterceptor/ORBInitInfo:1.0 12, - ACE_NTOHL (0x4f524249), - ACE_NTOHL (0x6e697449), + ACE_NTOHL (0x4f524249), + ACE_NTOHL (0x6e697449), ACE_NTOHL (0x6e666f00), // name = ORBInitInfo }; @@ -2342,11 +2368,11 @@ namespace PortableInterceptor } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:60 - +// be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for PortableInterceptor::ORBInitializer. +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ORBInitializer_ptr TAO::Objref_Traits<PortableInterceptor::ORBInitializer>::tao_duplicate ( PortableInterceptor::ORBInitializer_ptr p @@ -2355,6 +2381,7 @@ TAO::Objref_Traits<PortableInterceptor::ORBInitializer>::tao_duplicate ( return PortableInterceptor::ORBInitializer::_duplicate (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<PortableInterceptor::ORBInitializer>::tao_release ( PortableInterceptor::ORBInitializer_ptr p @@ -2363,12 +2390,14 @@ TAO::Objref_Traits<PortableInterceptor::ORBInitializer>::tao_release ( CORBA::release (p); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION PortableInterceptor::ORBInitializer_ptr TAO::Objref_Traits<PortableInterceptor::ORBInitializer>::tao_nil (void) { return PortableInterceptor::ORBInitializer::_nil (); } +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<PortableInterceptor::ORBInitializer>::tao_marshal ( PortableInterceptor::ORBInitializer_ptr p, @@ -2378,9 +2407,8 @@ TAO::Objref_Traits<PortableInterceptor::ORBInitializer>::tao_marshal ( return p->marshal (cdr); } - // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*PortableInterceptor__TAO_ORBInitializer_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -2391,7 +2419,7 @@ PortableInterceptor::ORBInitializer::ORBInitializer (void) PortableInterceptor::ORBInitializer::~ORBInitializer (void) {} -void +void PortableInterceptor::ORBInitializer::_tao_any_destructor (void *_tao_void_pointer) { ORBInitializer *_tao_tmp_pointer = @@ -2409,10 +2437,10 @@ PortableInterceptor::ORBInitializer::_narrow ( { return ORBInitializer::_nil (); } - + ORBInitializer_ptr proxy = dynamic_cast<ORBInitializer_ptr> (_tao_objref); - + return ORBInitializer::_duplicate (proxy); } @@ -2423,7 +2451,7 @@ PortableInterceptor::ORBInitializer::_duplicate (ORBInitializer_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -2468,29 +2496,29 @@ PortableInterceptor::ORBInitializer::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_defn.cpp:284 +// be/be_visitor_typecode/typecode_defn.cpp:284 static const CORBA::Long _oc_PortableInterceptor_ORBInitializer[] = { TAO_ENCAP_BYTE_ORDER, // byte order 51, - ACE_NTOHL (0x49444c3a), - ACE_NTOHL (0x6f6d672e), - ACE_NTOHL (0x6f72672f), - ACE_NTOHL (0x506f7274), - ACE_NTOHL (0x61626c65), - ACE_NTOHL (0x496e7465), - ACE_NTOHL (0x72636570), - ACE_NTOHL (0x746f722f), - ACE_NTOHL (0x4f524249), - ACE_NTOHL (0x6e697469), - ACE_NTOHL (0x616c697a), - ACE_NTOHL (0x65723a31), + ACE_NTOHL (0x49444c3a), + ACE_NTOHL (0x6f6d672e), + ACE_NTOHL (0x6f72672f), + ACE_NTOHL (0x506f7274), + ACE_NTOHL (0x61626c65), + ACE_NTOHL (0x496e7465), + ACE_NTOHL (0x72636570), + ACE_NTOHL (0x746f722f), + ACE_NTOHL (0x4f524249), + ACE_NTOHL (0x6e697469), + ACE_NTOHL (0x616c697a), + ACE_NTOHL (0x65723a31), ACE_NTOHL (0x2e300000), // repository ID = IDL:omg.org/PortableInterceptor/ORBInitializer:1.0 15, - ACE_NTOHL (0x4f524249), - ACE_NTOHL (0x6e697469), - ACE_NTOHL (0x616c697a), + ACE_NTOHL (0x4f524249), + ACE_NTOHL (0x6e697469), + ACE_NTOHL (0x616c697a), ACE_NTOHL (0x65720000), // name = ORBInitializer }; @@ -2508,1219 +2536,312 @@ namespace PortableInterceptor &_tc_TAO_tc_PortableInterceptor_ORBInitializer; } -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Interceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Interceptor>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Interceptor>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::Interceptor_ptr _tao_elem - ) -{ - PortableInterceptor::Interceptor_ptr _tao_objptr = - PortableInterceptor::Interceptor::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::Interceptor_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::Interceptor>::insert ( - _tao_any, - PortableInterceptor::Interceptor::_tao_any_destructor, - PortableInterceptor::_tc_Interceptor, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::Interceptor_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::Interceptor>::extract ( - _tao_any, - PortableInterceptor::Interceptor::_tao_any_destructor, - PortableInterceptor::_tc_Interceptor, - _tao_elem - ); -} - - // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:50 - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::demarshal_value ( - TAO_InputCDR & cdr - ) -{ - CORBA::String_var id; - - if ((cdr >> id.out ()) == 0) - { - return 0; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return 0; - } - ACE_ENDTRY; - - return 1; -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableInterceptor::ForwardRequest &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::insert_copy ( - _tao_any, - PortableInterceptor::ForwardRequest::_tao_any_destructor, - PortableInterceptor::_tc_ForwardRequest, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ForwardRequest *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::insert ( - _tao_any, - PortableInterceptor::ForwardRequest::_tao_any_destructor, - PortableInterceptor::_tc_ForwardRequest, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ForwardRequest *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const PortableInterceptor::ForwardRequest *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableInterceptor::ForwardRequest *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>::extract ( - _tao_any, - PortableInterceptor::ForwardRequest::_tao_any_destructor, - PortableInterceptor::_tc_ForwardRequest, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/any_op_cs.cpp:50 - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::demarshal_value ( - TAO_InputCDR & cdr - ) -{ - CORBA::String_var id; - - if ((cdr >> id.out ()) == 0) - { - return 0; - } - - ACE_TRY_NEW_ENV - { - this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER); - ACE_TRY_CHECK; - } - ACE_CATCHANY - { - return 0; - } - ACE_ENDTRY; - - return 1; -} - -// Copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - const PortableInterceptor::InvalidSlot &_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::insert_copy ( - _tao_any, - PortableInterceptor::InvalidSlot::_tao_any_destructor, - PortableInterceptor::_tc_InvalidSlot, - _tao_elem - ); -} - -// Non-copying insertion. -void operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::InvalidSlot *_tao_elem - ) -{ - TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::insert ( - _tao_any, - PortableInterceptor::InvalidSlot::_tao_any_destructor, - PortableInterceptor::_tc_InvalidSlot, - _tao_elem - ); -} - -// Extraction to non-const pointer (deprecated). -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::InvalidSlot *&_tao_elem - ) -{ - return _tao_any >>= ACE_const_cast ( - const PortableInterceptor::InvalidSlot *&, - _tao_elem - ); -} - -// Extraction to const pointer. -CORBA::Boolean operator>>= ( - const CORBA::Any &_tao_any, - const PortableInterceptor::InvalidSlot *&_tao_elem - ) -{ - return - TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>::extract ( - _tao_any, - PortableInterceptor::InvalidSlot::_tao_any_destructor, - PortableInterceptor::_tc_InvalidSlot, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Current>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Current>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::Current>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::Current_ptr _tao_elem - ) -{ - PortableInterceptor::Current_ptr _tao_objptr = - PortableInterceptor::Current::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::Current_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::Current>::insert ( - _tao_any, - PortableInterceptor::Current::_tao_any_destructor, - PortableInterceptor::_tc_Current, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::Current_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::Current>::extract ( - _tao_any, - PortableInterceptor::Current::_tao_any_destructor, - PortableInterceptor::_tc_Current, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::RequestInfo_ptr _tao_elem - ) -{ - PortableInterceptor::RequestInfo_ptr _tao_objptr = - PortableInterceptor::RequestInfo::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::RequestInfo_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::insert ( - _tao_any, - PortableInterceptor::RequestInfo::_tao_any_destructor, - PortableInterceptor::_tc_RequestInfo, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::RequestInfo_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::RequestInfo>::extract ( - _tao_any, - PortableInterceptor::RequestInfo::_tao_any_destructor, - PortableInterceptor::_tc_RequestInfo, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ClientRequestInfo_ptr _tao_elem - ) -{ - PortableInterceptor::ClientRequestInfo_ptr _tao_objptr = - PortableInterceptor::ClientRequestInfo::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ClientRequestInfo_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::insert ( - _tao_any, - PortableInterceptor::ClientRequestInfo::_tao_any_destructor, - PortableInterceptor::_tc_ClientRequestInfo, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ClientRequestInfo_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::ClientRequestInfo>::extract ( - _tao_any, - PortableInterceptor::ClientRequestInfo::_tao_any_destructor, - PortableInterceptor::_tc_ClientRequestInfo, - _tao_elem - ); -} - - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInfo_ptr _tao_elem - ) -{ - PortableInterceptor::ServerRequestInfo_ptr _tao_objptr = - PortableInterceptor::ServerRequestInfo::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInfo_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::insert ( - _tao_any, - PortableInterceptor::ServerRequestInfo::_tao_any_destructor, - PortableInterceptor::_tc_ServerRequestInfo, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInfo_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::ServerRequestInfo>::extract ( - _tao_any, - PortableInterceptor::ServerRequestInfo::_tao_any_destructor, - PortableInterceptor::_tc_ServerRequestInfo, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ClientRequestInterceptor_ptr _tao_elem - ) -{ - PortableInterceptor::ClientRequestInterceptor_ptr _tao_objptr = - PortableInterceptor::ClientRequestInterceptor::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ClientRequestInterceptor_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::insert ( - _tao_any, - PortableInterceptor::ClientRequestInterceptor::_tao_any_destructor, - PortableInterceptor::_tc_ClientRequestInterceptor, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ClientRequestInterceptor_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::ClientRequestInterceptor>::extract ( - _tao_any, - PortableInterceptor::ClientRequestInterceptor::_tao_any_destructor, - PortableInterceptor::_tc_ClientRequestInterceptor, - _tao_elem - ); -} - - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInterceptor_ptr _tao_elem - ) -{ - PortableInterceptor::ServerRequestInterceptor_ptr _tao_objptr = - PortableInterceptor::ServerRequestInterceptor::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInterceptor_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::insert ( - _tao_any, - PortableInterceptor::ServerRequestInterceptor::_tao_any_destructor, - PortableInterceptor::_tc_ServerRequestInterceptor, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ServerRequestInterceptor_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::ServerRequestInterceptor>::extract ( - _tao_any, - PortableInterceptor::ServerRequestInterceptor::_tao_any_destructor, - PortableInterceptor::_tc_ServerRequestInterceptor, - _tao_elem - ); -} - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::PolicyFactory_ptr _tao_elem - ) -{ - PortableInterceptor::PolicyFactory_ptr _tao_objptr = - PortableInterceptor::PolicyFactory::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::PolicyFactory_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::insert ( - _tao_any, - PortableInterceptor::PolicyFactory::_tao_any_destructor, - PortableInterceptor::_tc_PolicyFactory, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::PolicyFactory_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::PolicyFactory>::extract ( - _tao_any, - PortableInterceptor::PolicyFactory::_tao_any_destructor, - PortableInterceptor::_tc_PolicyFactory, - _tao_elem - ); -} - - - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ORBInitInfo_ptr _tao_elem - ) -{ - PortableInterceptor::ORBInitInfo_ptr _tao_objptr = - PortableInterceptor::ORBInitInfo::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ORBInitInfo_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::insert ( - _tao_any, - PortableInterceptor::ORBInitInfo::_tao_any_destructor, - PortableInterceptor::_tc_ORBInitInfo, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ORBInitInfo_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::ORBInitInfo>::extract ( - _tao_any, - PortableInterceptor::ORBInitInfo::_tao_any_destructor, - PortableInterceptor::_tc_ORBInitInfo, - _tao_elem - ); -} - - - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/any_op_cs.cpp:50 -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::to_object ( - CORBA::Object_ptr &_tao_elem - ) const -{ - _tao_elem = CORBA::Object::_duplicate (this->value_); - return 1; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::marshal_value (TAO_OutputCDR &) -{ - return 0; -} - -ACE_TEMPLATE_SPECIALIZATION -CORBA::Boolean -TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::demarshal_value (TAO_InputCDR &) -{ - return 0; -} - - -// Copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ORBInitializer_ptr _tao_elem - ) -{ - PortableInterceptor::ORBInitializer_ptr _tao_objptr = - PortableInterceptor::ORBInitializer::_duplicate (_tao_elem); - _tao_any <<= &_tao_objptr; -} - -// Non-copying insertion. -void -operator<<= ( - CORBA::Any &_tao_any, - PortableInterceptor::ORBInitializer_ptr *_tao_elem - ) -{ - TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::insert ( - _tao_any, - PortableInterceptor::ORBInitializer::_tao_any_destructor, - PortableInterceptor::_tc_ORBInitializer, - *_tao_elem - ); -} - -CORBA::Boolean -operator>>= ( - const CORBA::Any &_tao_any, - PortableInterceptor::ORBInitializer_ptr &_tao_elem - ) -{ - return - TAO::Any_Impl_T<PortableInterceptor::ORBInitializer>::extract ( - _tao_any, - PortableInterceptor::ORBInitializer::_tao_any_destructor, - PortableInterceptor::_tc_ORBInitializer, - _tao_elem - ); -} - - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_root/root.cpp:1703 +// be/be_visitor_root/root.cpp:1725 #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) - template class TAO::Objref_Traits<PortableInterceptor::Interceptor>; + template class + TAO::Objref_Traits< + PortableInterceptor::Interceptor + >; template class TAO_Objref_Var_T< PortableInterceptor::Interceptor >; - + template class TAO_Objref_Out_T< PortableInterceptor::Interceptor >; template class - TAO::Any_Impl_T< - PortableInterceptor::Interceptor + TAO::Objref_Traits< + PortableInterceptor::Current >; - template class TAO::Objref_Traits<PortableInterceptor::Current>; - template class TAO_Objref_Var_T< PortableInterceptor::Current >; - + template class TAO_Objref_Out_T< PortableInterceptor::Current >; template class - TAO::Any_Impl_T< - PortableInterceptor::Current + TAO::Objref_Traits< + PortableInterceptor::RequestInfo >; - template class TAO::Objref_Traits<PortableInterceptor::RequestInfo>; - template class TAO_Objref_Var_T< PortableInterceptor::RequestInfo >; - + template class TAO_Objref_Out_T< PortableInterceptor::RequestInfo >; template class - TAO::Any_Impl_T< - PortableInterceptor::RequestInfo + TAO::Objref_Traits< + PortableInterceptor::ClientRequestInfo >; - template class TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo>; - template class TAO_Objref_Var_T< PortableInterceptor::ClientRequestInfo >; - + template class TAO_Objref_Out_T< PortableInterceptor::ClientRequestInfo >; template class - TAO::Any_Impl_T< - PortableInterceptor::ClientRequestInfo + TAO::Objref_Traits< + PortableInterceptor::ServerRequestInfo >; - template class TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo>; - template class TAO_Objref_Var_T< PortableInterceptor::ServerRequestInfo >; - + template class TAO_Objref_Out_T< PortableInterceptor::ServerRequestInfo >; template class - TAO::Any_Impl_T< - PortableInterceptor::ServerRequestInfo + TAO::Objref_Traits< + PortableInterceptor::ClientRequestInterceptor >; - template class TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor>; - template class TAO_Objref_Var_T< PortableInterceptor::ClientRequestInterceptor >; - + template class TAO_Objref_Out_T< PortableInterceptor::ClientRequestInterceptor >; template class - TAO::Any_Impl_T< - PortableInterceptor::ClientRequestInterceptor + TAO::Objref_Traits< + PortableInterceptor::ServerRequestInterceptor >; - template class TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor>; - template class TAO_Objref_Var_T< PortableInterceptor::ServerRequestInterceptor >; - + template class TAO_Objref_Out_T< PortableInterceptor::ServerRequestInterceptor >; template class - TAO::Any_Impl_T< - PortableInterceptor::ServerRequestInterceptor + TAO::Objref_Traits< + PortableInterceptor::PolicyFactory >; - template class TAO::Objref_Traits<PortableInterceptor::PolicyFactory>; - template class TAO_Objref_Var_T< PortableInterceptor::PolicyFactory >; - + template class TAO_Objref_Out_T< PortableInterceptor::PolicyFactory >; template class - TAO::Any_Impl_T< - PortableInterceptor::PolicyFactory + TAO::Objref_Traits< + PortableInterceptor::ORBInitInfo >; - template class TAO::Objref_Traits<PortableInterceptor::ORBInitInfo>; - template class TAO_Objref_Var_T< PortableInterceptor::ORBInitInfo >; - + template class TAO_Objref_Out_T< PortableInterceptor::ORBInitInfo >; template class - TAO::Any_Impl_T< - PortableInterceptor::ORBInitInfo + TAO::Objref_Traits< + PortableInterceptor::ORBInitializer >; - template class TAO::Objref_Traits<PortableInterceptor::ORBInitializer>; - template class TAO_Objref_Var_T< PortableInterceptor::ORBInitializer >; - + template class TAO_Objref_Out_T< PortableInterceptor::ORBInitializer >; - template class - TAO::Any_Impl_T< - PortableInterceptor::ORBInitializer - >; - - template class - TAO::Any_Dual_Impl_T<PortableInterceptor::ForwardRequest>; - - template class - TAO::Any_Dual_Impl_T<PortableInterceptor::InvalidSlot>; - #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::Interceptor> +# pragma instantiate \ + TAO::Objref_Traits< \ + PortableInterceptor::Interceptor \ + > # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::Interceptor > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::Interceptor > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::Interceptor \ + TAO::Objref_Traits< \ + PortableInterceptor::Current \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::Current> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::Current > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::Current > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::Current \ + TAO::Objref_Traits< \ + PortableInterceptor::RequestInfo \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::RequestInfo> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::RequestInfo > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::RequestInfo > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::RequestInfo \ + TAO::Objref_Traits< \ + PortableInterceptor::ClientRequestInfo \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::ClientRequestInfo> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::ClientRequestInfo > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::ClientRequestInfo > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::ClientRequestInfo \ + TAO::Objref_Traits< \ + PortableInterceptor::ServerRequestInfo \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::ServerRequestInfo> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::ServerRequestInfo > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::ServerRequestInfo > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::ServerRequestInfo \ + TAO::Objref_Traits< \ + PortableInterceptor::ClientRequestInterceptor \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::ClientRequestInterceptor> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::ClientRequestInterceptor > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::ClientRequestInterceptor > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::ClientRequestInterceptor \ + TAO::Objref_Traits< \ + PortableInterceptor::ServerRequestInterceptor \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::ServerRequestInterceptor> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::ServerRequestInterceptor > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::ServerRequestInterceptor > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::ServerRequestInterceptor \ + TAO::Objref_Traits< \ + PortableInterceptor::PolicyFactory \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::PolicyFactory> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::PolicyFactory > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::PolicyFactory > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::PolicyFactory \ + TAO::Objref_Traits< \ + PortableInterceptor::ORBInitInfo \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::ORBInitInfo> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::ORBInitInfo > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::ORBInitInfo > # pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::ORBInitInfo \ + TAO::Objref_Traits< \ + PortableInterceptor::ORBInitializer \ > -# pragma instantiate TAO::Objref_Traits<PortableInterceptor::ORBInitializer> - # pragma instantiate \ TAO_Objref_Var_T< \ PortableInterceptor::ORBInitializer > - + # pragma instantiate \ TAO_Objref_Out_T< \ PortableInterceptor::ORBInitializer > -# pragma instantiate \ - TAO::Any_Impl_T< \ - PortableInterceptor::ORBInitializer \ - > +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ -#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/tao/PortableInterceptorC.i b/TAO/tao/PortableInterceptorC.i index 85e0d65b561..bc051e094ef 100644 --- a/TAO/tao/PortableInterceptorC.i +++ b/TAO/tao/PortableInterceptorC.i @@ -27,87 +27,7 @@ // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_INTERCEPTOR___CI_) -#define _PORTABLEINTERCEPTOR_INTERCEPTOR___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_CURRENT___CI_) -#define _PORTABLEINTERCEPTOR_CURRENT___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_REQUESTINFO___CI_) -#define _PORTABLEINTERCEPTOR_REQUESTINFO___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINFO___CI_) -#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINFO___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINFO___CI_) -#define _PORTABLEINTERCEPTOR_SERVERREQUESTINFO___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___CI_) -#define _PORTABLEINTERCEPTOR_CLIENTREQUESTINTERCEPTOR___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___CI_) -#define _PORTABLEINTERCEPTOR_SERVERREQUESTINTERCEPTOR___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_POLICYFACTORY___CI_) -#define _PORTABLEINTERCEPTOR_POLICYFACTORY___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_ORBINITINFO___CI_) -#define _PORTABLEINTERCEPTOR_ORBINITINFO___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 - -#if !defined (_PORTABLEINTERCEPTOR_ORBINITIALIZER___CI_) -#define _PORTABLEINTERCEPTOR_ORBINITIALIZER___CI_ - -#endif /* end #if !defined */ - -// TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71 +// be/be_visitor_exception/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( @@ -121,7 +41,7 @@ CORBA::Boolean operator<< ( // Now marshal the members (if any). if ( (strm << _tao_aggregate.forward.in ()) && - (strm << ACE_OutputCDR::from_boolean (_tao_aggregate.permanent)) + (strm << CORBA::Any::from_boolean (_tao_aggregate.permanent)) ) { return 1; @@ -146,7 +66,7 @@ CORBA::Boolean operator>> ( // Demarshal the members. if ( (strm >> _tao_aggregate.forward.out ()) && - (strm >> ACE_InputCDR::to_boolean (_tao_aggregate.permanent)) + (strm >> CORBA::Any::to_boolean (_tao_aggregate.permanent)) ) { return 1; @@ -158,7 +78,7 @@ CORBA::Boolean operator>> ( } // TAO_IDL - Generated from -// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71 +// be/be_visitor_exception/cdr_op_ci.cpp:71 ACE_INLINE CORBA::Boolean operator<< ( |