diff options
Diffstat (limited to 'TAO/tests/Bench/wire/testC.i')
-rw-r--r-- | TAO/tests/Bench/wire/testC.i | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/TAO/tests/Bench/wire/testC.i b/TAO/tests/Bench/wire/testC.i new file mode 100644 index 00000000000..5c0dd62580a --- /dev/null +++ b/TAO/tests/Bench/wire/testC.i @@ -0,0 +1,143 @@ +// -*- 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 +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ci.cpp:63 + +#if !defined (_FOO___CI_) +#define _FOO___CI_ + +ACE_INLINE +foo::foo ( + TAO_Stub *objref, + CORBA::Boolean _tao_collocated, + TAO_Abstract_ServantBase *servant, + TAO_ORB_Core *oc + ) + : ACE_NESTED_CLASS (CORBA, Object) (objref, _tao_collocated, servant, oc), + the_TAO_foo_Proxy_Broker_ (0) + +{ + this->foo_setup_collocation (_tao_collocated); +} + +template<> +ACE_INLINE +CORBA::Boolean +TAO::Any_Impl_T<foo>::to_object ( + CORBA::Object_ptr &_tao_elem + ) const +{ + _tao_elem = CORBA::Object::_duplicate (this->value_); + return 1; +} + +ACE_INLINE +foo::foo ( + IOP::IOR *ior, + TAO_ORB_Core *oc + ) + : ACE_NESTED_CLASS (CORBA, Object) (ior, oc), + the_TAO_foo_Proxy_Broker_ (0) + +{ +} + +#endif /* end #if !defined */ + +// TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const one_bad &_tao_aggregate + ) +{ + // First marshal the repository ID. + if (strm << _tao_aggregate._rep_id ()) + { + return 1; + } + else + { + return 0; + } +} + +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &, + one_bad& + ) +{ + return 1; +} + +// TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/cdr_op_ci.cpp:71 + +ACE_INLINE +CORBA::Boolean operator<< ( + TAO_OutputCDR &strm, + const two_bad &_tao_aggregate + ) +{ + // First marshal the repository ID. + if (strm << _tao_aggregate._rep_id ()) + { + return 1; + } + else + { + return 0; + } +} + +ACE_INLINE +CORBA::Boolean operator>> ( + TAO_InputCDR &, + two_bad& + ) +{ + return 1; +} + +// TAO_IDL - Generated from +// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/cdr_op_ci.cpp:72 + + CORBA::Boolean operator<< ( + TAO_OutputCDR &, + const foo_ptr + ); + + CORBA::Boolean operator>> ( + TAO_InputCDR &, + foo_ptr & + ); + |