diff options
Diffstat (limited to 'TAO/tao/PortableServer/ForwardRequestC.cpp')
-rw-r--r-- | TAO/tao/PortableServer/ForwardRequestC.cpp | 208 |
1 files changed, 0 insertions, 208 deletions
diff --git a/TAO/tao/PortableServer/ForwardRequestC.cpp b/TAO/tao/PortableServer/ForwardRequestC.cpp deleted file mode 100644 index eae2d53b284..00000000000 --- a/TAO/tao/PortableServer/ForwardRequestC.cpp +++ /dev/null @@ -1,208 +0,0 @@ -// -*- 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:291 - - -#include "ForwardRequestC.h" -#include "tao/CDR.h" -#include "tao/SystemException.h" -#include "ace/OS_NS_string.h" - -#if defined (__BORLANDC__) -#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig -#endif /* __BORLANDC__ */ - -#if (TAO_HAS_MINIMUM_POA == 0) - -// TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:69 - -// Arg traits specializations. -namespace TAO -{ -} - - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_cs.cpp:63 - -PortableServer::ForwardRequest::ForwardRequest (void) - : CORBA::UserException ( - "IDL:omg.org/PortableServer/ForwardRequest:2.3", - "ForwardRequest" - ) -{ -} - -PortableServer::ForwardRequest::~ForwardRequest (void) -{ -} - -PortableServer::ForwardRequest::ForwardRequest (const ::PortableServer::ForwardRequest &_tao_excp) - : CORBA::UserException ( - _tao_excp._rep_id (), - _tao_excp._name () - ) -{ - this->forward_reference = CORBA::Object::_duplicate (_tao_excp.forward_reference.in ()); -} - -PortableServer::ForwardRequest& -PortableServer::ForwardRequest::operator= (const ::PortableServer::ForwardRequest &_tao_excp) -{ - this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp); - this->forward_reference = CORBA::Object::_duplicate (_tao_excp.forward_reference.in ()); - return *this; -} - -void PortableServer::ForwardRequest::_tao_any_destructor (void *_tao_void_pointer) -{ - ForwardRequest *_tao_tmp_pointer = - static_cast<ForwardRequest *> (_tao_void_pointer); - delete _tao_tmp_pointer; -} - -PortableServer::ForwardRequest * -PortableServer::ForwardRequest::_downcast (CORBA::Exception *_tao_excp) -{ - return dynamic_cast<ForwardRequest *> (_tao_excp); -} - -const PortableServer::ForwardRequest * -PortableServer::ForwardRequest::_downcast (CORBA::Exception const *_tao_excp) -{ - return dynamic_cast<const ForwardRequest *> (_tao_excp); -} - -CORBA::Exception *PortableServer::ForwardRequest::_alloc (void) -{ - CORBA::Exception *retval = 0; - ACE_NEW_RETURN (retval, ::PortableServer::ForwardRequest, 0); - return retval; -} - -CORBA::Exception * -PortableServer::ForwardRequest::_tao_duplicate (void) const -{ - CORBA::Exception *result = 0; - ACE_NEW_RETURN ( - result, - ::PortableServer::ForwardRequest (*this), - 0 - ); - return result; -} - -void PortableServer::ForwardRequest::_raise (void) const -{ - TAO_RAISE (*this); -} - -void PortableServer::ForwardRequest::_tao_encode ( - TAO_OutputCDR &cdr - ACE_ENV_ARG_DECL - ) const -{ - if (cdr << *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - -void PortableServer::ForwardRequest::_tao_decode ( - TAO_InputCDR &cdr - ACE_ENV_ARG_DECL - ) -{ - if (cdr >> *this) - { - return; - } - - ACE_THROW (CORBA::MARSHAL ()); -} - - - -// TAO_IDL - Generated from -// be\be_visitor_exception/exception_ctor.cpp:66 - -PortableServer::ForwardRequest::ForwardRequest ( - const CORBA::Object_ptr _tao_forward_reference - ) - : CORBA::UserException ( - "IDL:omg.org/PortableServer/ForwardRequest:2.3", - "ForwardRequest" - ) -{ - this->forward_reference = CORBA::Object::_duplicate (_tao_forward_reference); -} - -// TAO extension - the virtual _type method. -CORBA::TypeCode_ptr PortableServer::ForwardRequest::_tao_type (void) const -{ - return ::PortableServer::_tc_ForwardRequest; -} - -// TAO_IDL - Generated from -// be\be_visitor_exception/cdr_op_cs.cpp:60 - -CORBA::Boolean operator<< ( - TAO_OutputCDR &strm, - const PortableServer::ForwardRequest &_tao_aggregate - ) -{ - // First marshal the repository ID. - if (strm << _tao_aggregate._rep_id ()) - { - // Now marshal the members (if any). - return ( - (strm << _tao_aggregate.forward_reference.in ()) - ); - } - else - { - return false; - } -} - -CORBA::Boolean operator>> ( - TAO_InputCDR &strm, - PortableServer::ForwardRequest &_tao_aggregate - ) -{ - // Demarshal the members. - return ( - (strm >> _tao_aggregate.forward_reference.out ()) - ); -} - -#endif /* TAO_HAS_MINIMUM_CORBA == 0 */ |