// -*- 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:303


#include "Event_ForwarderC.h"
#include "tao/CDR.h"
#include "tao/Exception_Data.h"
#include "tao/Invocation_Adapter.h"
#include "tao/Object_T.h"
#include "tao/Typecode.h"
#include "tao/Any_Impl_T.h"
#include "tao/Basic_Arguments.h"
#include "tao/Object_Argument_T.h"
#include "tao/Special_Basic_Arguments.h"
#include "tao/UB_String_Arguments.h"
#include "tao/Var_Size_Argument_T.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 !defined (__ACE_INLINE__)
#include "Event_ForwarderC.inl"
#endif /* !defined __ACE_INLINE__ */

// TAO_IDL - Generated from
// be/be_visitor_arg_traits.cpp:64

// Arg traits specializations.
namespace TAO
{
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:582

#if !defined (_CORBA_ANY__ARG_TRAITS_CS_)
#define _CORBA_ANY__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CORBA::Any>
    : public
        Var_Size_Arg_Traits_T<
            CORBA::Any,
            CORBA::Any_var,
            CORBA::Any_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_PROPERTYSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_PROPERTYSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::PropertySeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::PropertySeq,
            CosNotification::PropertySeq_var,
            CosNotification::PropertySeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_EVENTTYPESEQ__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_EVENTTYPESEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::EventTypeSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::EventTypeSeq,
            CosNotification::EventTypeSeq_var,
            CosNotification::EventTypeSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_NAMEDPROPERTYRANGESEQ__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_NAMEDPROPERTYRANGESEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::NamedPropertyRangeSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::NamedPropertyRangeSeq,
            CosNotification::NamedPropertyRangeSeq_var,
            CosNotification::NamedPropertyRangeSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:618

#if !defined (_COSNOTIFICATION_STRUCTUREDEVENT__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_STRUCTUREDEVENT__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::StructuredEvent>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::StructuredEvent,
            CosNotification::StructuredEvent_var,
            CosNotification::StructuredEvent_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_EVENTBATCH__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_EVENTBATCH__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::EventBatch>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::EventBatch,
            CosNotification::EventBatch_var,
            CosNotification::EventBatch_out
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PUSHCONSUMER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PushConsumer>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PushConsumer_ptr,
            CosEventComm::PushConsumer_var,
            CosEventComm::PushConsumer_out,
            TAO::Objref_Traits<CosEventComm::PushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PUSHSUPPLIER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PushSupplier>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PushSupplier_ptr,
            CosEventComm::PushSupplier_var,
            CosEventComm::PushSupplier_out,
            TAO::Objref_Traits<CosEventComm::PushSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PULLCONSUMER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PULLCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PullConsumer>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PullConsumer_ptr,
            CosEventComm::PullConsumer_var,
            CosEventComm::PullConsumer_out,
            TAO::Objref_Traits<CosEventComm::PullConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PULLSUPPLIER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PULLSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PullSupplier>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PullSupplier_ptr,
            CosEventComm::PullSupplier_var,
            CosEventComm::PullSupplier_out,
            TAO::Objref_Traits<CosEventComm::PullSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_NOTIFYSUBSCRIBE__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_NOTIFYSUBSCRIBE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::NotifySubscribe>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::NotifySubscribe_ptr,
            CosNotifyComm::NotifySubscribe_var,
            CosNotifyComm::NotifySubscribe_out,
            TAO::Objref_Traits<CosNotifyComm::NotifySubscribe>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPUSHCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPushConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPushConsumer_ptr,
            CosNotifyComm::StructuredPushConsumer_var,
            CosNotifyComm::StructuredPushConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPULLCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPULLCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPullConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPullConsumer_ptr,
            CosNotifyComm::StructuredPullConsumer_var,
            CosNotifyComm::StructuredPullConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPullConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPULLSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPULLSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPullSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPullSupplier_ptr,
            CosNotifyComm::StructuredPullSupplier_var,
            CosNotifyComm::StructuredPullSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPullSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPUSHSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPushSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPushSupplier_ptr,
            CosNotifyComm::StructuredPushSupplier_var,
            CosNotifyComm::StructuredPushSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPushSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPUSHCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePushConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePushConsumer_ptr,
            CosNotifyComm::SequencePushConsumer_var,
            CosNotifyComm::SequencePushConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPULLCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPULLCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePullConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePullConsumer_ptr,
            CosNotifyComm::SequencePullConsumer_var,
            CosNotifyComm::SequencePullConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePullConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPULLSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPULLSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePullSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePullSupplier_ptr,
            CosNotifyComm::SequencePullSupplier_var,
            CosNotifyComm::SequencePullSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePullSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPUSHSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePushSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePushSupplier_ptr,
            CosNotifyComm::SequencePushSupplier_var,
            CosNotifyComm::SequencePushSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePushSupplier>
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_CONSTRAINTIDSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTIDSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::ConstraintIDSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::ConstraintIDSeq,
            CosNotifyFilter::ConstraintIDSeq_var,
            CosNotifyFilter::ConstraintIDSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_CONSTRAINTEXPSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTEXPSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::ConstraintExpSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::ConstraintExpSeq,
            CosNotifyFilter::ConstraintExpSeq_var,
            CosNotifyFilter::ConstraintExpSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_CONSTRAINTINFOSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTINFOSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::ConstraintInfoSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::ConstraintInfoSeq,
            CosNotifyFilter::ConstraintInfoSeq_var,
            CosNotifyFilter::ConstraintInfoSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_MAPPINGCONSTRAINTPAIRSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_MAPPINGCONSTRAINTPAIRSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::MappingConstraintPairSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::MappingConstraintPairSeq,
            CosNotifyFilter::MappingConstraintPairSeq_var,
            CosNotifyFilter::MappingConstraintPairSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_MAPPINGCONSTRAINTINFOSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_MAPPINGCONSTRAINTINFOSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::MappingConstraintInfoSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::MappingConstraintInfoSeq,
            CosNotifyFilter::MappingConstraintInfoSeq_var,
            CosNotifyFilter::MappingConstraintInfoSeq_out
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYFILTER_FILTER__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_FILTER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::Filter>
    : public
        Object_Arg_Traits_T<
            CosNotifyFilter::Filter_ptr,
            CosNotifyFilter::Filter_var,
            CosNotifyFilter::Filter_out,
            TAO::Objref_Traits<CosNotifyFilter::Filter>
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:537

#if !defined (_COSNOTIFYCHANNELADMIN_OBTAININFOMODE__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_OBTAININFOMODE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ObtainInfoMode>
    : public
        Basic_Arg_Traits_T<
            CosNotifyChannelAdmin::ObtainInfoMode
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:537

#if !defined (_COSNOTIFYCHANNELADMIN_CLIENTTYPE__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_CLIENTTYPE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ClientType>
    : public
        Basic_Arg_Traits_T<
            CosNotifyChannelAdmin::ClientType
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:537

#if !defined (_COSNOTIFYCHANNELADMIN_INTERFILTERGROUPOPERATOR__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_INTERFILTERGROUPOPERATOR__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::InterFilterGroupOperator>
    : public
        Basic_Arg_Traits_T<
            CosNotifyChannelAdmin::InterFilterGroupOperator
          >
  {
  };

#endif /* end #if !defined */
}


// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for Event_Forwarder::StructuredProxyPushSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
Event_Forwarder::StructuredProxyPushSupplier_ptr
TAO::Objref_Traits<Event_Forwarder::StructuredProxyPushSupplier>::tao_duplicate (
    Event_Forwarder::StructuredProxyPushSupplier_ptr p
  )
{
  return Event_Forwarder::StructuredProxyPushSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<Event_Forwarder::StructuredProxyPushSupplier>::tao_release (
    Event_Forwarder::StructuredProxyPushSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
Event_Forwarder::StructuredProxyPushSupplier_ptr
TAO::Objref_Traits<Event_Forwarder::StructuredProxyPushSupplier>::tao_nil (void)
{
  return Event_Forwarder::StructuredProxyPushSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<Event_Forwarder::StructuredProxyPushSupplier>::tao_marshal (
    Event_Forwarder::StructuredProxyPushSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*Event_Forwarder__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::StructuredProxyPushSupplier::forward_structured (
    const ::CosNotification::StructuredEvent & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_StructuredProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::StructuredEvent>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_structured",
      18,
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::StructuredProxyPushSupplier::forward_structured_no_filtering (
    const ::CosNotification::StructuredEvent & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_StructuredProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::StructuredEvent>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_structured_no_filtering",
      31,
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::StructuredProxyPushSupplier::forward_any (
    const ::CORBA::Any & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_StructuredProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_any",
      11,
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::StructuredProxyPushSupplier::forward_any_no_filtering (
    const ::CORBA::Any & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_StructuredProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_any_no_filtering",
      24,
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

Event_Forwarder::StructuredProxyPushSupplier::StructuredProxyPushSupplier (void)
 : the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ (0)
{
  this->Event_Forwarder_StructuredProxyPushSupplier_setup_collocation ();
}

void
Event_Forwarder::StructuredProxyPushSupplier::Event_Forwarder_StructuredProxyPushSupplier_setup_collocation ()
{
  if (::Event_Forwarder__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ =
        ::Event_Forwarder__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_StructuredProxyPushSupplier_setup_collocation ();
}

Event_Forwarder::StructuredProxyPushSupplier::~StructuredProxyPushSupplier (void)
{}

void 
Event_Forwarder::StructuredProxyPushSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  StructuredProxyPushSupplier *_tao_tmp_pointer =
    static_cast<StructuredProxyPushSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

Event_Forwarder::StructuredProxyPushSupplier_ptr
Event_Forwarder::StructuredProxyPushSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPushSupplier>::narrow (
        _tao_objref,
        "IDL:Event_Forwarder/StructuredProxyPushSupplier:1.0",
        Event_Forwarder__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

Event_Forwarder::StructuredProxyPushSupplier_ptr
Event_Forwarder::StructuredProxyPushSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPushSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:Event_Forwarder/StructuredProxyPushSupplier:1.0",
        Event_Forwarder__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

Event_Forwarder::StructuredProxyPushSupplier_ptr
Event_Forwarder::StructuredProxyPushSupplier::_duplicate (StructuredProxyPushSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
Event_Forwarder::StructuredProxyPushSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/StructuredPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:Event_Forwarder/StructuredProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* Event_Forwarder::StructuredProxyPushSupplier::_interface_repository_id (void) const
{
  return "IDL:Event_Forwarder/StructuredProxyPushSupplier:1.0";
}

CORBA::Boolean
Event_Forwarder::StructuredProxyPushSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_Event_Forwarder_StructuredProxyPushSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x745f466f), 
  ACE_NTOHL (0x72776172), 
  ACE_NTOHL (0x6465722f), 
  ACE_NTOHL (0x53747275), 
  ACE_NTOHL (0x63747572), 
  ACE_NTOHL (0x65645072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736853), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x6965723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:Event_Forwarder/StructuredProxyPushSupplier:1.0
    28,
  ACE_NTOHL (0x53747275), 
  ACE_NTOHL (0x63747572), 
  ACE_NTOHL (0x65645072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736853), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x69657200),  // name = StructuredProxyPushSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_Event_Forwarder_StructuredProxyPushSupplier (
    CORBA::tk_objref,
    sizeof (_oc_Event_Forwarder_StructuredProxyPushSupplier),
    (char *) &_oc_Event_Forwarder_StructuredProxyPushSupplier,
    0,
    sizeof (Event_Forwarder::StructuredProxyPushSupplier)
  );

namespace Event_Forwarder
{
  ::CORBA::TypeCode_ptr _tc_StructuredProxyPushSupplier =
    &_tc_TAO_tc_Event_Forwarder_StructuredProxyPushSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for Event_Forwarder::ProxyPushSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
Event_Forwarder::ProxyPushSupplier_ptr
TAO::Objref_Traits<Event_Forwarder::ProxyPushSupplier>::tao_duplicate (
    Event_Forwarder::ProxyPushSupplier_ptr p
  )
{
  return Event_Forwarder::ProxyPushSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<Event_Forwarder::ProxyPushSupplier>::tao_release (
    Event_Forwarder::ProxyPushSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
Event_Forwarder::ProxyPushSupplier_ptr
TAO::Objref_Traits<Event_Forwarder::ProxyPushSupplier>::tao_nil (void)
{
  return Event_Forwarder::ProxyPushSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<Event_Forwarder::ProxyPushSupplier>::tao_marshal (
    Event_Forwarder::ProxyPushSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*Event_Forwarder__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::ProxyPushSupplier::forward_structured (
    const ::CosNotification::StructuredEvent & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::StructuredEvent>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_structured",
      18,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::ProxyPushSupplier::forward_structured_no_filtering (
    const ::CosNotification::StructuredEvent & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::StructuredEvent>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_structured_no_filtering",
      31,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::ProxyPushSupplier::forward_any (
    const ::CORBA::Any & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_any",
      11,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void Event_Forwarder::ProxyPushSupplier::forward_any_no_filtering (
    const ::CORBA::Any & event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      Event_Forwarder_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_event (event);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_event
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "forward_any_no_filtering",
      24,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

Event_Forwarder::ProxyPushSupplier::ProxyPushSupplier (void)
 : the_TAO_ProxyPushSupplier_Proxy_Broker_ (0)
{
  this->Event_Forwarder_ProxyPushSupplier_setup_collocation ();
}

void
Event_Forwarder::ProxyPushSupplier::Event_Forwarder_ProxyPushSupplier_setup_collocation ()
{
  if (::Event_Forwarder__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_ =
        ::Event_Forwarder__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxyPushSupplier_setup_collocation ();
}

Event_Forwarder::ProxyPushSupplier::~ProxyPushSupplier (void)
{}

void 
Event_Forwarder::ProxyPushSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyPushSupplier *_tao_tmp_pointer =
    static_cast<ProxyPushSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

Event_Forwarder::ProxyPushSupplier_ptr
Event_Forwarder::ProxyPushSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushSupplier>::narrow (
        _tao_objref,
        "IDL:Event_Forwarder/ProxyPushSupplier:1.0",
        Event_Forwarder__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

Event_Forwarder::ProxyPushSupplier_ptr
Event_Forwarder::ProxyPushSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:Event_Forwarder/ProxyPushSupplier:1.0",
        Event_Forwarder__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

Event_Forwarder::ProxyPushSupplier_ptr
Event_Forwarder::ProxyPushSupplier::_duplicate (ProxyPushSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
Event_Forwarder::ProxyPushSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventComm/PushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/PushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:Event_Forwarder/ProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* Event_Forwarder::ProxyPushSupplier::_interface_repository_id (void) const
{
  return "IDL:Event_Forwarder/ProxyPushSupplier:1.0";
}

CORBA::Boolean
Event_Forwarder::ProxyPushSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_Event_Forwarder_ProxyPushSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  42,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x745f466f), 
  ACE_NTOHL (0x72776172), 
  ACE_NTOHL (0x6465722f), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:Event_Forwarder/ProxyPushSupplier:1.0
    18,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x72000000),  // name = ProxyPushSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_Event_Forwarder_ProxyPushSupplier (
    CORBA::tk_objref,
    sizeof (_oc_Event_Forwarder_ProxyPushSupplier),
    (char *) &_oc_Event_Forwarder_ProxyPushSupplier,
    0,
    sizeof (Event_Forwarder::ProxyPushSupplier)
  );

namespace Event_Forwarder
{
  ::CORBA::TypeCode_ptr _tc_ProxyPushSupplier =
    &_tc_TAO_tc_Event_Forwarder_ProxyPushSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<Event_Forwarder::StructuredProxyPushSupplier>::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,
    Event_Forwarder::StructuredProxyPushSupplier_ptr _tao_elem
  )
{
  Event_Forwarder::StructuredProxyPushSupplier_ptr _tao_objptr =
    Event_Forwarder::StructuredProxyPushSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    Event_Forwarder::StructuredProxyPushSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<Event_Forwarder::StructuredProxyPushSupplier>::insert (
      _tao_any,
      Event_Forwarder::StructuredProxyPushSupplier::_tao_any_destructor,
      Event_Forwarder::_tc_StructuredProxyPushSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    Event_Forwarder::StructuredProxyPushSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<Event_Forwarder::StructuredProxyPushSupplier>::extract (
        _tao_any,
        Event_Forwarder::StructuredProxyPushSupplier::_tao_any_destructor,
        Event_Forwarder::_tc_StructuredProxyPushSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<Event_Forwarder::ProxyPushSupplier>::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,
    Event_Forwarder::ProxyPushSupplier_ptr _tao_elem
  )
{
  Event_Forwarder::ProxyPushSupplier_ptr _tao_objptr =
    Event_Forwarder::ProxyPushSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    Event_Forwarder::ProxyPushSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<Event_Forwarder::ProxyPushSupplier>::insert (
      _tao_any,
      Event_Forwarder::ProxyPushSupplier::_tao_any_destructor,
      Event_Forwarder::_tc_ProxyPushSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    Event_Forwarder::ProxyPushSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<Event_Forwarder::ProxyPushSupplier>::extract (
        _tao_any,
        Event_Forwarder::ProxyPushSupplier::_tao_any_destructor,
        Event_Forwarder::_tc_ProxyPushSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const Event_Forwarder::StructuredProxyPushSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    Event_Forwarder::StructuredProxyPushSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::Event_Forwarder::StructuredProxyPushSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        Event_Forwarder__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const Event_Forwarder::ProxyPushSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    Event_Forwarder::ProxyPushSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::Event_Forwarder::ProxyPushSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        Event_Forwarder__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

