// -*- 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 "CosNotifyFilterC.h"
#include "tao/CDR.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/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 "CosNotifyFilterC.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 (_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 */
  
  // 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 */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_CALLBACKIDSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_CALLBACKIDSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::CallbackIDSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::CallbackIDSeq,
            CosNotifyFilter::CallbackIDSeq_var,
            CosNotifyFilter::CallbackIDSeq_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 */

#if !defined (_COSNOTIFYFILTER_MAPPINGFILTER__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_MAPPINGFILTER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::MappingFilter>
    : public
        Object_Arg_Traits_T<
            CosNotifyFilter::MappingFilter_ptr,
            CosNotifyFilter::MappingFilter_var,
            CosNotifyFilter::MappingFilter_out,
            TAO::Objref_Traits<CosNotifyFilter::MappingFilter>
          >
  {
  };

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

#if !defined (_COSNOTIFYFILTER_FILTERIDSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_FILTERIDSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::FilterIDSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::FilterIDSeq,
            CosNotifyFilter::FilterIDSeq_var,
            CosNotifyFilter::FilterIDSeq_out
          >
  {
  };

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


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

static const CORBA::Long _oc_CosNotifyFilter_ConstraintID[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  45,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744944), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
    13,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744944), 
  ACE_NTOHL (0x0),  // name = ConstraintID
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_ConstraintID (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_ConstraintID),
    (char *) &_oc_CosNotifyFilter_ConstraintID,
    0,
    sizeof (CosNotifyFilter::ConstraintID)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_ConstraintID =
    &_tc_TAO_tc_CosNotifyFilter_ConstraintID;
}

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

static const CORBA::Long _oc_CosNotifyFilter_ConstraintExp[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744578), 
  ACE_NTOHL (0x703a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
    14,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744578), 
  ACE_NTOHL (0x70000000),  // name = ConstraintExp
  2, // member count
    12,
  ACE_NTOHL (0x6576656e), 
  ACE_NTOHL (0x745f7479), 
  ACE_NTOHL (0x70657300),  // name = event_types
    CORBA::tk_alias, // typecode kind for typedefs
  220, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    45,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x69636174), 
    ACE_NTOHL (0x696f6e2f), 
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74547970), 
    ACE_NTOHL (0x65536571), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
        13,
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74547970), 
    ACE_NTOHL (0x65536571), 
    ACE_NTOHL (0x0),  // name = EventTypeSeq
        CORBA::tk_sequence, // typecode kind
    136, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      CORBA::tk_struct, // typecode kind
      120, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        42,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x69636174), 
        ACE_NTOHL (0x696f6e2f), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74547970), 
        ACE_NTOHL (0x653a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                10,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74547970), 
        ACE_NTOHL (0x65000000),  // name = EventType
        2, // member count
                12,
        ACE_NTOHL (0x646f6d61), 
        ACE_NTOHL (0x696e5f6e), 
        ACE_NTOHL (0x616d6500),  // name = domain_name
                CORBA::tk_string, 
        0U, // string length
        10,
        ACE_NTOHL (0x74797065), 
        ACE_NTOHL (0x5f6e616d), 
        ACE_NTOHL (0x65000000),  // name = type_name
                CORBA::tk_string, 
        0U, // string length

      0U,


  16,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e745f65), 
  ACE_NTOHL (0x78707200),  // name = constraint_expr
    CORBA::tk_string, 
  0U, // string length
};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_ConstraintExp (
    CORBA::tk_struct,
    sizeof (_oc_CosNotifyFilter_ConstraintExp),
    (char *) &_oc_CosNotifyFilter_ConstraintExp,
    0,
    sizeof (CosNotifyFilter::ConstraintExp)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_ConstraintExp =
    &_tc_TAO_tc_CosNotifyFilter_ConstraintExp;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
CosNotifyFilter::ConstraintExp::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  ConstraintExp *_tao_tmp_pointer =
    static_cast<ConstraintExp *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYFILTER_CONSTRAINTIDSEQ_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTIDSEQ_CS_

CosNotifyFilter::ConstraintIDSeq::ConstraintIDSeq (void)
{}

CosNotifyFilter::ConstraintIDSeq::ConstraintIDSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintID
      >
    (max)
{}

CosNotifyFilter::ConstraintIDSeq::ConstraintIDSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::Long * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintID
      >
    (max, length, buffer, release)
{}

CosNotifyFilter::ConstraintIDSeq::ConstraintIDSeq (
    const ConstraintIDSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintID
      >
    (seq)
{}

CosNotifyFilter::ConstraintIDSeq::~ConstraintIDSeq (void)
{}

void CosNotifyFilter::ConstraintIDSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  ConstraintIDSeq * _tao_tmp_pointer =
    static_cast<ConstraintIDSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

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

static const CORBA::Long _oc_CosNotifyFilter_ConstraintIDSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744944), 
  ACE_NTOHL (0x5365713a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintIDSeq:1.0
    16,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744944), 
  ACE_NTOHL (0x53657100),  // name = ConstraintIDSeq
    CORBA::tk_sequence, // typecode kind
  96, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_alias, // typecode kind for typedefs
    80, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x7946696c), 
      ACE_NTOHL (0x7465722f), 
      ACE_NTOHL (0x436f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e744944), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
            13,
      ACE_NTOHL (0x436f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e744944), 
      ACE_NTOHL (0x0),  // name = ConstraintID
            CORBA::tk_long,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_ConstraintIDSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_ConstraintIDSeq),
    (char *) &_oc_CosNotifyFilter_ConstraintIDSeq,
    0,
    sizeof (CosNotifyFilter::ConstraintIDSeq)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_ConstraintIDSeq =
    &_tc_TAO_tc_CosNotifyFilter_ConstraintIDSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYFILTER_CONSTRAINTEXPSEQ_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTEXPSEQ_CS_

CosNotifyFilter::ConstraintExpSeq::ConstraintExpSeq (void)
{}

CosNotifyFilter::ConstraintExpSeq::ConstraintExpSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintExp
      >
    (max)
{}

CosNotifyFilter::ConstraintExpSeq::ConstraintExpSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CosNotifyFilter::ConstraintExp * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintExp
      >
    (max, length, buffer, release)
{}

CosNotifyFilter::ConstraintExpSeq::ConstraintExpSeq (
    const ConstraintExpSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintExp
      >
    (seq)
{}

CosNotifyFilter::ConstraintExpSeq::~ConstraintExpSeq (void)
{}

void CosNotifyFilter::ConstraintExpSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  ConstraintExpSeq * _tao_tmp_pointer =
    static_cast<ConstraintExpSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

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

static const CORBA::Long _oc_CosNotifyFilter_ConstraintExpSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744578), 
  ACE_NTOHL (0x70536571), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExpSeq:1.0
    17,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744578), 
  ACE_NTOHL (0x70536571), 
  ACE_NTOHL (0x0),  // name = ConstraintExpSeq
    CORBA::tk_sequence, // typecode kind
  368, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    352, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      46,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x7946696c), 
      ACE_NTOHL (0x7465722f), 
      ACE_NTOHL (0x436f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e744578), 
      ACE_NTOHL (0x703a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
            14,
      ACE_NTOHL (0x436f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e744578), 
      ACE_NTOHL (0x70000000),  // name = ConstraintExp
      2, // member count
            12,
      ACE_NTOHL (0x6576656e), 
      ACE_NTOHL (0x745f7479), 
      ACE_NTOHL (0x70657300),  // name = event_types
            CORBA::tk_alias, // typecode kind for typedefs
      220, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        45,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x69636174), 
        ACE_NTOHL (0x696f6e2f), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74547970), 
        ACE_NTOHL (0x65536571), 
        ACE_NTOHL (0x3a312e30), 
        ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
                13,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74547970), 
        ACE_NTOHL (0x65536571), 
        ACE_NTOHL (0x0),  // name = EventTypeSeq
                CORBA::tk_sequence, // typecode kind
        136, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          CORBA::tk_struct, // typecode kind
          120, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            42,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x6f6d672e), 
            ACE_NTOHL (0x6f72672f), 
            ACE_NTOHL (0x436f734e), 
            ACE_NTOHL (0x6f746966), 
            ACE_NTOHL (0x69636174), 
            ACE_NTOHL (0x696f6e2f), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74547970), 
            ACE_NTOHL (0x653a312e), 
            ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                        10,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74547970), 
            ACE_NTOHL (0x65000000),  // name = EventType
            2, // member count
                        12,
            ACE_NTOHL (0x646f6d61), 
            ACE_NTOHL (0x696e5f6e), 
            ACE_NTOHL (0x616d6500),  // name = domain_name
                        CORBA::tk_string, 
            0U, // string length
            10,
            ACE_NTOHL (0x74797065), 
            ACE_NTOHL (0x5f6e616d), 
            ACE_NTOHL (0x65000000),  // name = type_name
                        CORBA::tk_string, 
            0U, // string length

          0U,


      16,
      ACE_NTOHL (0x636f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e745f65), 
      ACE_NTOHL (0x78707200),  // name = constraint_expr
            CORBA::tk_string, 
      0U, // string length

    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_ConstraintExpSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_ConstraintExpSeq),
    (char *) &_oc_CosNotifyFilter_ConstraintExpSeq,
    0,
    sizeof (CosNotifyFilter::ConstraintExpSeq)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_ConstraintExpSeq =
    &_tc_TAO_tc_CosNotifyFilter_ConstraintExpSeq;
}

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

static const CORBA::Long _oc_CosNotifyFilter_ConstraintInfo[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  47,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e74496e), 
  ACE_NTOHL (0x666f3a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintInfo:1.0
    15,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e74496e), 
  ACE_NTOHL (0x666f0000),  // name = ConstraintInfo
  2, // member count
    22,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e745f65), 
  ACE_NTOHL (0x78707265), 
  ACE_NTOHL (0x7373696f), 
  ACE_NTOHL (0x6e000000),  // name = constraint_expression
    CORBA::tk_struct, // typecode kind
  352, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    46,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x703a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
        14,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x70000000),  // name = ConstraintExp
    2, // member count
        12,
    ACE_NTOHL (0x6576656e), 
    ACE_NTOHL (0x745f7479), 
    ACE_NTOHL (0x70657300),  // name = event_types
        CORBA::tk_alias, // typecode kind for typedefs
    220, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
            13,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x0),  // name = EventTypeSeq
            CORBA::tk_sequence, // typecode kind
      136, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        CORBA::tk_struct, // typecode kind
        120, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          42,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x653a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                    10,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65000000),  // name = EventType
          2, // member count
                    12,
          ACE_NTOHL (0x646f6d61), 
          ACE_NTOHL (0x696e5f6e), 
          ACE_NTOHL (0x616d6500),  // name = domain_name
                    CORBA::tk_string, 
          0U, // string length
          10,
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x5f6e616d), 
          ACE_NTOHL (0x65000000),  // name = type_name
                    CORBA::tk_string, 
          0U, // string length

        0U,


    16,
    ACE_NTOHL (0x636f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e745f65), 
    ACE_NTOHL (0x78707200),  // name = constraint_expr
        CORBA::tk_string, 
    0U, // string length

  14,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e745f69), 
  ACE_NTOHL (0x64000000),  // name = constraint_id
    CORBA::tk_alias, // typecode kind for typedefs
  80, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    45,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
        13,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x0),  // name = ConstraintID
        CORBA::tk_long,


};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_ConstraintInfo (
    CORBA::tk_struct,
    sizeof (_oc_CosNotifyFilter_ConstraintInfo),
    (char *) &_oc_CosNotifyFilter_ConstraintInfo,
    0,
    sizeof (CosNotifyFilter::ConstraintInfo)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_ConstraintInfo =
    &_tc_TAO_tc_CosNotifyFilter_ConstraintInfo;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
CosNotifyFilter::ConstraintInfo::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  ConstraintInfo *_tao_tmp_pointer =
    static_cast<ConstraintInfo *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYFILTER_CONSTRAINTINFOSEQ_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTINFOSEQ_CS_

CosNotifyFilter::ConstraintInfoSeq::ConstraintInfoSeq (void)
{}

CosNotifyFilter::ConstraintInfoSeq::ConstraintInfoSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintInfo
      >
    (max)
{}

CosNotifyFilter::ConstraintInfoSeq::ConstraintInfoSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CosNotifyFilter::ConstraintInfo * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintInfo
      >
    (max, length, buffer, release)
{}

CosNotifyFilter::ConstraintInfoSeq::ConstraintInfoSeq (
    const ConstraintInfoSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::ConstraintInfo
      >
    (seq)
{}

CosNotifyFilter::ConstraintInfoSeq::~ConstraintInfoSeq (void)
{}

void CosNotifyFilter::ConstraintInfoSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  ConstraintInfoSeq * _tao_tmp_pointer =
    static_cast<ConstraintInfoSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

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

static const CORBA::Long _oc_CosNotifyFilter_ConstraintInfoSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  50,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e74496e), 
  ACE_NTOHL (0x666f5365), 
  ACE_NTOHL (0x713a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintInfoSeq:1.0
    18,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e74496e), 
  ACE_NTOHL (0x666f5365), 
  ACE_NTOHL (0x71000000),  // name = ConstraintInfoSeq
    CORBA::tk_sequence, // typecode kind
  592, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    576, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      47,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x7946696c), 
      ACE_NTOHL (0x7465722f), 
      ACE_NTOHL (0x436f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e74496e), 
      ACE_NTOHL (0x666f3a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintInfo:1.0
            15,
      ACE_NTOHL (0x436f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e74496e), 
      ACE_NTOHL (0x666f0000),  // name = ConstraintInfo
      2, // member count
            22,
      ACE_NTOHL (0x636f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e745f65), 
      ACE_NTOHL (0x78707265), 
      ACE_NTOHL (0x7373696f), 
      ACE_NTOHL (0x6e000000),  // name = constraint_expression
            CORBA::tk_struct, // typecode kind
      352, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        46,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x7946696c), 
        ACE_NTOHL (0x7465722f), 
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744578), 
        ACE_NTOHL (0x703a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
                14,
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744578), 
        ACE_NTOHL (0x70000000),  // name = ConstraintExp
        2, // member count
                12,
        ACE_NTOHL (0x6576656e), 
        ACE_NTOHL (0x745f7479), 
        ACE_NTOHL (0x70657300),  // name = event_types
                CORBA::tk_alias, // typecode kind for typedefs
        220, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          45,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65536571), 
          ACE_NTOHL (0x3a312e30), 
          ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
                    13,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65536571), 
          ACE_NTOHL (0x0),  // name = EventTypeSeq
                    CORBA::tk_sequence, // typecode kind
          136, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            CORBA::tk_struct, // typecode kind
            120, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              42,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x436f734e), 
              ACE_NTOHL (0x6f746966), 
              ACE_NTOHL (0x69636174), 
              ACE_NTOHL (0x696f6e2f), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x653a312e), 
              ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                            10,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x65000000),  // name = EventType
              2, // member count
                            12,
              ACE_NTOHL (0x646f6d61), 
              ACE_NTOHL (0x696e5f6e), 
              ACE_NTOHL (0x616d6500),  // name = domain_name
                            CORBA::tk_string, 
              0U, // string length
              10,
              ACE_NTOHL (0x74797065), 
              ACE_NTOHL (0x5f6e616d), 
              ACE_NTOHL (0x65000000),  // name = type_name
                            CORBA::tk_string, 
              0U, // string length

            0U,


        16,
        ACE_NTOHL (0x636f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e745f65), 
        ACE_NTOHL (0x78707200),  // name = constraint_expr
                CORBA::tk_string, 
        0U, // string length

      14,
      ACE_NTOHL (0x636f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e745f69), 
      ACE_NTOHL (0x64000000),  // name = constraint_id
            CORBA::tk_alias, // typecode kind for typedefs
      80, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        45,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x7946696c), 
        ACE_NTOHL (0x7465722f), 
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744944), 
        ACE_NTOHL (0x3a312e30), 
        ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
                13,
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744944), 
        ACE_NTOHL (0x0),  // name = ConstraintID
                CORBA::tk_long,



    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_ConstraintInfoSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_ConstraintInfoSeq),
    (char *) &_oc_CosNotifyFilter_ConstraintInfoSeq,
    0,
    sizeof (CosNotifyFilter::ConstraintInfoSeq)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_ConstraintInfoSeq =
    &_tc_TAO_tc_CosNotifyFilter_ConstraintInfoSeq;
}

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

static const CORBA::Long _oc_CosNotifyFilter_MappingConstraintPair[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74506169), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/MappingConstraintPair:1.0
    22,
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74506169), 
  ACE_NTOHL (0x72000000),  // name = MappingConstraintPair
  2, // member count
    22,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e745f65), 
  ACE_NTOHL (0x78707265), 
  ACE_NTOHL (0x7373696f), 
  ACE_NTOHL (0x6e000000),  // name = constraint_expression
    CORBA::tk_struct, // typecode kind
  352, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    46,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x703a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
        14,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x70000000),  // name = ConstraintExp
    2, // member count
        12,
    ACE_NTOHL (0x6576656e), 
    ACE_NTOHL (0x745f7479), 
    ACE_NTOHL (0x70657300),  // name = event_types
        CORBA::tk_alias, // typecode kind for typedefs
    220, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
            13,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x0),  // name = EventTypeSeq
            CORBA::tk_sequence, // typecode kind
      136, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        CORBA::tk_struct, // typecode kind
        120, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          42,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x653a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                    10,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65000000),  // name = EventType
          2, // member count
                    12,
          ACE_NTOHL (0x646f6d61), 
          ACE_NTOHL (0x696e5f6e), 
          ACE_NTOHL (0x616d6500),  // name = domain_name
                    CORBA::tk_string, 
          0U, // string length
          10,
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x5f6e616d), 
          ACE_NTOHL (0x65000000),  // name = type_name
                    CORBA::tk_string, 
          0U, // string length

        0U,


    16,
    ACE_NTOHL (0x636f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e745f65), 
    ACE_NTOHL (0x78707200),  // name = constraint_expr
        CORBA::tk_string, 
    0U, // string length

  14,
  ACE_NTOHL (0x72657375), 
  ACE_NTOHL (0x6c745f74), 
  ACE_NTOHL (0x6f5f7365), 
  ACE_NTOHL (0x74000000),  // name = result_to_set
    CORBA::tk_any,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_MappingConstraintPair (
    CORBA::tk_struct,
    sizeof (_oc_CosNotifyFilter_MappingConstraintPair),
    (char *) &_oc_CosNotifyFilter_MappingConstraintPair,
    0,
    sizeof (CosNotifyFilter::MappingConstraintPair)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_MappingConstraintPair =
    &_tc_TAO_tc_CosNotifyFilter_MappingConstraintPair;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
CosNotifyFilter::MappingConstraintPair::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  MappingConstraintPair *_tao_tmp_pointer =
    static_cast<MappingConstraintPair *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYFILTER_MAPPINGCONSTRAINTPAIRSEQ_CS_)
#define _COSNOTIFYFILTER_MAPPINGCONSTRAINTPAIRSEQ_CS_

CosNotifyFilter::MappingConstraintPairSeq::MappingConstraintPairSeq (void)
{}

CosNotifyFilter::MappingConstraintPairSeq::MappingConstraintPairSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::MappingConstraintPair
      >
    (max)
{}

CosNotifyFilter::MappingConstraintPairSeq::MappingConstraintPairSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CosNotifyFilter::MappingConstraintPair * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::MappingConstraintPair
      >
    (max, length, buffer, release)
{}

CosNotifyFilter::MappingConstraintPairSeq::MappingConstraintPairSeq (
    const MappingConstraintPairSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::MappingConstraintPair
      >
    (seq)
{}

CosNotifyFilter::MappingConstraintPairSeq::~MappingConstraintPairSeq (void)
{}

void CosNotifyFilter::MappingConstraintPairSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  MappingConstraintPairSeq * _tao_tmp_pointer =
    static_cast<MappingConstraintPairSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

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

static const CORBA::Long _oc_CosNotifyFilter_MappingConstraintPairSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  57,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74506169), 
  ACE_NTOHL (0x72536571), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/MappingConstraintPairSeq:1.0
    25,
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74506169), 
  ACE_NTOHL (0x72536571), 
  ACE_NTOHL (0x0),  // name = MappingConstraintPairSeq
    CORBA::tk_sequence, // typecode kind
  524, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    508, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      54,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x7946696c), 
      ACE_NTOHL (0x7465722f), 
      ACE_NTOHL (0x4d617070), 
      ACE_NTOHL (0x696e6743), 
      ACE_NTOHL (0x6f6e7374), 
      ACE_NTOHL (0x7261696e), 
      ACE_NTOHL (0x74506169), 
      ACE_NTOHL (0x723a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/MappingConstraintPair:1.0
            22,
      ACE_NTOHL (0x4d617070), 
      ACE_NTOHL (0x696e6743), 
      ACE_NTOHL (0x6f6e7374), 
      ACE_NTOHL (0x7261696e), 
      ACE_NTOHL (0x74506169), 
      ACE_NTOHL (0x72000000),  // name = MappingConstraintPair
      2, // member count
            22,
      ACE_NTOHL (0x636f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e745f65), 
      ACE_NTOHL (0x78707265), 
      ACE_NTOHL (0x7373696f), 
      ACE_NTOHL (0x6e000000),  // name = constraint_expression
            CORBA::tk_struct, // typecode kind
      352, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        46,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x7946696c), 
        ACE_NTOHL (0x7465722f), 
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744578), 
        ACE_NTOHL (0x703a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
                14,
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744578), 
        ACE_NTOHL (0x70000000),  // name = ConstraintExp
        2, // member count
                12,
        ACE_NTOHL (0x6576656e), 
        ACE_NTOHL (0x745f7479), 
        ACE_NTOHL (0x70657300),  // name = event_types
                CORBA::tk_alias, // typecode kind for typedefs
        220, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          45,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65536571), 
          ACE_NTOHL (0x3a312e30), 
          ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
                    13,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65536571), 
          ACE_NTOHL (0x0),  // name = EventTypeSeq
                    CORBA::tk_sequence, // typecode kind
          136, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            CORBA::tk_struct, // typecode kind
            120, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              42,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x436f734e), 
              ACE_NTOHL (0x6f746966), 
              ACE_NTOHL (0x69636174), 
              ACE_NTOHL (0x696f6e2f), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x653a312e), 
              ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                            10,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x65000000),  // name = EventType
              2, // member count
                            12,
              ACE_NTOHL (0x646f6d61), 
              ACE_NTOHL (0x696e5f6e), 
              ACE_NTOHL (0x616d6500),  // name = domain_name
                            CORBA::tk_string, 
              0U, // string length
              10,
              ACE_NTOHL (0x74797065), 
              ACE_NTOHL (0x5f6e616d), 
              ACE_NTOHL (0x65000000),  // name = type_name
                            CORBA::tk_string, 
              0U, // string length

            0U,


        16,
        ACE_NTOHL (0x636f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e745f65), 
        ACE_NTOHL (0x78707200),  // name = constraint_expr
                CORBA::tk_string, 
        0U, // string length

      14,
      ACE_NTOHL (0x72657375), 
      ACE_NTOHL (0x6c745f74), 
      ACE_NTOHL (0x6f5f7365), 
      ACE_NTOHL (0x74000000),  // name = result_to_set
            CORBA::tk_any,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_MappingConstraintPairSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_MappingConstraintPairSeq),
    (char *) &_oc_CosNotifyFilter_MappingConstraintPairSeq,
    0,
    sizeof (CosNotifyFilter::MappingConstraintPairSeq)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_MappingConstraintPairSeq =
    &_tc_TAO_tc_CosNotifyFilter_MappingConstraintPairSeq;
}

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

static const CORBA::Long _oc_CosNotifyFilter_MappingConstraintInfo[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74496e66), 
  ACE_NTOHL (0x6f3a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/MappingConstraintInfo:1.0
    22,
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74496e66), 
  ACE_NTOHL (0x6f000000),  // name = MappingConstraintInfo
  3, // member count
    22,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e745f65), 
  ACE_NTOHL (0x78707265), 
  ACE_NTOHL (0x7373696f), 
  ACE_NTOHL (0x6e000000),  // name = constraint_expression
    CORBA::tk_struct, // typecode kind
  352, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    46,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x703a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
        14,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x70000000),  // name = ConstraintExp
    2, // member count
        12,
    ACE_NTOHL (0x6576656e), 
    ACE_NTOHL (0x745f7479), 
    ACE_NTOHL (0x70657300),  // name = event_types
        CORBA::tk_alias, // typecode kind for typedefs
    220, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
            13,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x0),  // name = EventTypeSeq
            CORBA::tk_sequence, // typecode kind
      136, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        CORBA::tk_struct, // typecode kind
        120, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          42,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x653a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                    10,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65000000),  // name = EventType
          2, // member count
                    12,
          ACE_NTOHL (0x646f6d61), 
          ACE_NTOHL (0x696e5f6e), 
          ACE_NTOHL (0x616d6500),  // name = domain_name
                    CORBA::tk_string, 
          0U, // string length
          10,
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x5f6e616d), 
          ACE_NTOHL (0x65000000),  // name = type_name
                    CORBA::tk_string, 
          0U, // string length

        0U,


    16,
    ACE_NTOHL (0x636f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e745f65), 
    ACE_NTOHL (0x78707200),  // name = constraint_expr
        CORBA::tk_string, 
    0U, // string length

  14,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e745f69), 
  ACE_NTOHL (0x64000000),  // name = constraint_id
    CORBA::tk_alias, // typecode kind for typedefs
  80, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    45,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
        13,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x0),  // name = ConstraintID
        CORBA::tk_long,


  6,
  ACE_NTOHL (0x76616c75), 
  ACE_NTOHL (0x65000000),  // name = value
    CORBA::tk_any,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_MappingConstraintInfo (
    CORBA::tk_struct,
    sizeof (_oc_CosNotifyFilter_MappingConstraintInfo),
    (char *) &_oc_CosNotifyFilter_MappingConstraintInfo,
    0,
    sizeof (CosNotifyFilter::MappingConstraintInfo)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_MappingConstraintInfo =
    &_tc_TAO_tc_CosNotifyFilter_MappingConstraintInfo;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
CosNotifyFilter::MappingConstraintInfo::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  MappingConstraintInfo *_tao_tmp_pointer =
    static_cast<MappingConstraintInfo *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYFILTER_MAPPINGCONSTRAINTINFOSEQ_CS_)
#define _COSNOTIFYFILTER_MAPPINGCONSTRAINTINFOSEQ_CS_

CosNotifyFilter::MappingConstraintInfoSeq::MappingConstraintInfoSeq (void)
{}

CosNotifyFilter::MappingConstraintInfoSeq::MappingConstraintInfoSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::MappingConstraintInfo
      >
    (max)
{}

CosNotifyFilter::MappingConstraintInfoSeq::MappingConstraintInfoSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CosNotifyFilter::MappingConstraintInfo * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::MappingConstraintInfo
      >
    (max, length, buffer, release)
{}

CosNotifyFilter::MappingConstraintInfoSeq::MappingConstraintInfoSeq (
    const MappingConstraintInfoSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::MappingConstraintInfo
      >
    (seq)
{}

CosNotifyFilter::MappingConstraintInfoSeq::~MappingConstraintInfoSeq (void)
{}

void CosNotifyFilter::MappingConstraintInfoSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  MappingConstraintInfoSeq * _tao_tmp_pointer =
    static_cast<MappingConstraintInfoSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

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

static const CORBA::Long _oc_CosNotifyFilter_MappingConstraintInfoSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  57,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74496e66), 
  ACE_NTOHL (0x6f536571), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/MappingConstraintInfoSeq:1.0
    25,
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6743), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74496e66), 
  ACE_NTOHL (0x6f536571), 
  ACE_NTOHL (0x0),  // name = MappingConstraintInfoSeq
    CORBA::tk_sequence, // typecode kind
  624, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    608, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      54,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x7946696c), 
      ACE_NTOHL (0x7465722f), 
      ACE_NTOHL (0x4d617070), 
      ACE_NTOHL (0x696e6743), 
      ACE_NTOHL (0x6f6e7374), 
      ACE_NTOHL (0x7261696e), 
      ACE_NTOHL (0x74496e66), 
      ACE_NTOHL (0x6f3a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/MappingConstraintInfo:1.0
            22,
      ACE_NTOHL (0x4d617070), 
      ACE_NTOHL (0x696e6743), 
      ACE_NTOHL (0x6f6e7374), 
      ACE_NTOHL (0x7261696e), 
      ACE_NTOHL (0x74496e66), 
      ACE_NTOHL (0x6f000000),  // name = MappingConstraintInfo
      3, // member count
            22,
      ACE_NTOHL (0x636f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e745f65), 
      ACE_NTOHL (0x78707265), 
      ACE_NTOHL (0x7373696f), 
      ACE_NTOHL (0x6e000000),  // name = constraint_expression
            CORBA::tk_struct, // typecode kind
      352, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        46,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x7946696c), 
        ACE_NTOHL (0x7465722f), 
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744578), 
        ACE_NTOHL (0x703a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
                14,
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744578), 
        ACE_NTOHL (0x70000000),  // name = ConstraintExp
        2, // member count
                12,
        ACE_NTOHL (0x6576656e), 
        ACE_NTOHL (0x745f7479), 
        ACE_NTOHL (0x70657300),  // name = event_types
                CORBA::tk_alias, // typecode kind for typedefs
        220, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          45,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65536571), 
          ACE_NTOHL (0x3a312e30), 
          ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
                    13,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65536571), 
          ACE_NTOHL (0x0),  // name = EventTypeSeq
                    CORBA::tk_sequence, // typecode kind
          136, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            CORBA::tk_struct, // typecode kind
            120, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              42,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x436f734e), 
              ACE_NTOHL (0x6f746966), 
              ACE_NTOHL (0x69636174), 
              ACE_NTOHL (0x696f6e2f), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x653a312e), 
              ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                            10,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x65000000),  // name = EventType
              2, // member count
                            12,
              ACE_NTOHL (0x646f6d61), 
              ACE_NTOHL (0x696e5f6e), 
              ACE_NTOHL (0x616d6500),  // name = domain_name
                            CORBA::tk_string, 
              0U, // string length
              10,
              ACE_NTOHL (0x74797065), 
              ACE_NTOHL (0x5f6e616d), 
              ACE_NTOHL (0x65000000),  // name = type_name
                            CORBA::tk_string, 
              0U, // string length

            0U,


        16,
        ACE_NTOHL (0x636f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e745f65), 
        ACE_NTOHL (0x78707200),  // name = constraint_expr
                CORBA::tk_string, 
        0U, // string length

      14,
      ACE_NTOHL (0x636f6e73), 
      ACE_NTOHL (0x74726169), 
      ACE_NTOHL (0x6e745f69), 
      ACE_NTOHL (0x64000000),  // name = constraint_id
            CORBA::tk_alias, // typecode kind for typedefs
      80, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        45,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x7946696c), 
        ACE_NTOHL (0x7465722f), 
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744944), 
        ACE_NTOHL (0x3a312e30), 
        ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
                13,
        ACE_NTOHL (0x436f6e73), 
        ACE_NTOHL (0x74726169), 
        ACE_NTOHL (0x6e744944), 
        ACE_NTOHL (0x0),  // name = ConstraintID
                CORBA::tk_long,


      6,
      ACE_NTOHL (0x76616c75), 
      ACE_NTOHL (0x65000000),  // name = value
            CORBA::tk_any,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_MappingConstraintInfoSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_MappingConstraintInfoSeq),
    (char *) &_oc_CosNotifyFilter_MappingConstraintInfoSeq,
    0,
    sizeof (CosNotifyFilter::MappingConstraintInfoSeq)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_MappingConstraintInfoSeq =
    &_tc_TAO_tc_CosNotifyFilter_MappingConstraintInfoSeq;
}

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

static const CORBA::Long _oc_CosNotifyFilter_CallbackID[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  43,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x43616c6c), 
  ACE_NTOHL (0x6261636b), 
  ACE_NTOHL (0x49443a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/CallbackID:1.0
    11,
  ACE_NTOHL (0x43616c6c), 
  ACE_NTOHL (0x6261636b), 
  ACE_NTOHL (0x49440000),  // name = CallbackID
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_CallbackID (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_CallbackID),
    (char *) &_oc_CosNotifyFilter_CallbackID,
    0,
    sizeof (CosNotifyFilter::CallbackID)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_CallbackID =
    &_tc_TAO_tc_CosNotifyFilter_CallbackID;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYFILTER_CALLBACKIDSEQ_CS_)
#define _COSNOTIFYFILTER_CALLBACKIDSEQ_CS_

CosNotifyFilter::CallbackIDSeq::CallbackIDSeq (void)
{}

CosNotifyFilter::CallbackIDSeq::CallbackIDSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::CallbackID
      >
    (max)
{}

CosNotifyFilter::CallbackIDSeq::CallbackIDSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::Long * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::CallbackID
      >
    (max, length, buffer, release)
{}

CosNotifyFilter::CallbackIDSeq::CallbackIDSeq (
    const CallbackIDSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::CallbackID
      >
    (seq)
{}

CosNotifyFilter::CallbackIDSeq::~CallbackIDSeq (void)
{}

void CosNotifyFilter::CallbackIDSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  CallbackIDSeq * _tao_tmp_pointer =
    static_cast<CallbackIDSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

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

static const CORBA::Long _oc_CosNotifyFilter_CallbackIDSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x43616c6c), 
  ACE_NTOHL (0x6261636b), 
  ACE_NTOHL (0x49445365), 
  ACE_NTOHL (0x713a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/CallbackIDSeq:1.0
    14,
  ACE_NTOHL (0x43616c6c), 
  ACE_NTOHL (0x6261636b), 
  ACE_NTOHL (0x49445365), 
  ACE_NTOHL (0x71000000),  // name = CallbackIDSeq
    CORBA::tk_sequence, // typecode kind
  88, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_alias, // typecode kind for typedefs
    72, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      43,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x7946696c), 
      ACE_NTOHL (0x7465722f), 
      ACE_NTOHL (0x43616c6c), 
      ACE_NTOHL (0x6261636b), 
      ACE_NTOHL (0x49443a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/CallbackID:1.0
            11,
      ACE_NTOHL (0x43616c6c), 
      ACE_NTOHL (0x6261636b), 
      ACE_NTOHL (0x49440000),  // name = CallbackID
            CORBA::tk_long,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_CallbackIDSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_CallbackIDSeq),
    (char *) &_oc_CosNotifyFilter_CallbackIDSeq,
    0,
    sizeof (CosNotifyFilter::CallbackIDSeq)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_CallbackIDSeq =
    &_tc_TAO_tc_CosNotifyFilter_CallbackIDSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::UnsupportedFilterableData::UnsupportedFilterableData (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0",
        "UnsupportedFilterableData"
      )
{
}

CosNotifyFilter::UnsupportedFilterableData::~UnsupportedFilterableData (void)
{
}

CosNotifyFilter::UnsupportedFilterableData::UnsupportedFilterableData (const ::CosNotifyFilter::UnsupportedFilterableData &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyFilter::UnsupportedFilterableData&
CosNotifyFilter::UnsupportedFilterableData::operator= (const ::CosNotifyFilter::UnsupportedFilterableData &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyFilter::UnsupportedFilterableData::_tao_any_destructor (void *_tao_void_pointer)
{
  UnsupportedFilterableData *_tao_tmp_pointer =
    static_cast<UnsupportedFilterableData*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::UnsupportedFilterableData *
CosNotifyFilter::UnsupportedFilterableData::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<UnsupportedFilterableData *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::UnsupportedFilterableData::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::UnsupportedFilterableData, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::UnsupportedFilterableData::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::UnsupportedFilterableData (*this),
      0
    );
  return result;
}

void CosNotifyFilter::UnsupportedFilterableData::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::UnsupportedFilterableData::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::UnsupportedFilterableData::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::UnsupportedFilterableData::_type (void) const
{
  return ::CosNotifyFilter::_tc_UnsupportedFilterableData;
}

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

static const CORBA::Long _oc_CosNotifyFilter_UnsupportedFilterableData[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  58,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x556e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x74656446), 
  ACE_NTOHL (0x696c7465), 
  ACE_NTOHL (0x7261626c), 
  ACE_NTOHL (0x65446174), 
  ACE_NTOHL (0x613a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0
    26,
  ACE_NTOHL (0x556e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x74656446), 
  ACE_NTOHL (0x696c7465), 
  ACE_NTOHL (0x7261626c), 
  ACE_NTOHL (0x65446174), 
  ACE_NTOHL (0x61000000),  // name = UnsupportedFilterableData
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_UnsupportedFilterableData (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_UnsupportedFilterableData),
    (char *) &_oc_CosNotifyFilter_UnsupportedFilterableData,
    0,
    sizeof (CosNotifyFilter::UnsupportedFilterableData)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_UnsupportedFilterableData =
    &_tc_TAO_tc_CosNotifyFilter_UnsupportedFilterableData;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::InvalidGrammar::InvalidGrammar (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/InvalidGrammar:1.0",
        "InvalidGrammar"
      )
{
}

CosNotifyFilter::InvalidGrammar::~InvalidGrammar (void)
{
}

CosNotifyFilter::InvalidGrammar::InvalidGrammar (const ::CosNotifyFilter::InvalidGrammar &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyFilter::InvalidGrammar&
CosNotifyFilter::InvalidGrammar::operator= (const ::CosNotifyFilter::InvalidGrammar &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyFilter::InvalidGrammar::_tao_any_destructor (void *_tao_void_pointer)
{
  InvalidGrammar *_tao_tmp_pointer =
    static_cast<InvalidGrammar*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::InvalidGrammar *
CosNotifyFilter::InvalidGrammar::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/InvalidGrammar:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<InvalidGrammar *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::InvalidGrammar::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::InvalidGrammar, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::InvalidGrammar::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::InvalidGrammar (*this),
      0
    );
  return result;
}

void CosNotifyFilter::InvalidGrammar::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::InvalidGrammar::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::InvalidGrammar::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::InvalidGrammar::_type (void) const
{
  return ::CosNotifyFilter::_tc_InvalidGrammar;
}

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

static const CORBA::Long _oc_CosNotifyFilter_InvalidGrammar[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  47,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x496e7661), 
  ACE_NTOHL (0x6c696447), 
  ACE_NTOHL (0x72616d6d), 
  ACE_NTOHL (0x61723a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/InvalidGrammar:1.0
    15,
  ACE_NTOHL (0x496e7661), 
  ACE_NTOHL (0x6c696447), 
  ACE_NTOHL (0x72616d6d), 
  ACE_NTOHL (0x61720000),  // name = InvalidGrammar
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_InvalidGrammar (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_InvalidGrammar),
    (char *) &_oc_CosNotifyFilter_InvalidGrammar,
    0,
    sizeof (CosNotifyFilter::InvalidGrammar)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_InvalidGrammar =
    &_tc_TAO_tc_CosNotifyFilter_InvalidGrammar;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::InvalidConstraint::InvalidConstraint (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0",
        "InvalidConstraint"
      )
{
}

CosNotifyFilter::InvalidConstraint::~InvalidConstraint (void)
{
}

CosNotifyFilter::InvalidConstraint::InvalidConstraint (const ::CosNotifyFilter::InvalidConstraint &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
  this->constr = _tao_excp.constr;
}

CosNotifyFilter::InvalidConstraint&
CosNotifyFilter::InvalidConstraint::operator= (const ::CosNotifyFilter::InvalidConstraint &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  this->constr = _tao_excp.constr;
  return *this;
}

void CosNotifyFilter::InvalidConstraint::_tao_any_destructor (void *_tao_void_pointer)
{
  InvalidConstraint *_tao_tmp_pointer =
    static_cast<InvalidConstraint*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::InvalidConstraint *
CosNotifyFilter::InvalidConstraint::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<InvalidConstraint *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::InvalidConstraint::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::InvalidConstraint, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::InvalidConstraint::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::InvalidConstraint (*this),
      0
    );
  return result;
}

void CosNotifyFilter::InvalidConstraint::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::InvalidConstraint::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::InvalidConstraint::_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

CosNotifyFilter::InvalidConstraint::InvalidConstraint (
    const CosNotifyFilter::ConstraintExp & _tao_constr
  )
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0",
        "InvalidConstraint"
      )
{
  this->constr = _tao_constr;
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::InvalidConstraint::_type (void) const
{
  return ::CosNotifyFilter::_tc_InvalidConstraint;
}

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

static const CORBA::Long _oc_CosNotifyFilter_InvalidConstraint[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  50,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x496e7661), 
  ACE_NTOHL (0x6c696443), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x743a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0
    18,
  ACE_NTOHL (0x496e7661), 
  ACE_NTOHL (0x6c696443), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x74000000),  // name = InvalidConstraint
  1, // member count
    7,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74720000),  // name = constr
    CORBA::tk_struct, // typecode kind
  352, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    46,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x703a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
        14,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x70000000),  // name = ConstraintExp
    2, // member count
        12,
    ACE_NTOHL (0x6576656e), 
    ACE_NTOHL (0x745f7479), 
    ACE_NTOHL (0x70657300),  // name = event_types
        CORBA::tk_alias, // typecode kind for typedefs
    220, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
            13,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x0),  // name = EventTypeSeq
            CORBA::tk_sequence, // typecode kind
      136, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        CORBA::tk_struct, // typecode kind
        120, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          42,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x653a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                    10,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65000000),  // name = EventType
          2, // member count
                    12,
          ACE_NTOHL (0x646f6d61), 
          ACE_NTOHL (0x696e5f6e), 
          ACE_NTOHL (0x616d6500),  // name = domain_name
                    CORBA::tk_string, 
          0U, // string length
          10,
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x5f6e616d), 
          ACE_NTOHL (0x65000000),  // name = type_name
                    CORBA::tk_string, 
          0U, // string length

        0U,


    16,
    ACE_NTOHL (0x636f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e745f65), 
    ACE_NTOHL (0x78707200),  // name = constraint_expr
        CORBA::tk_string, 
    0U, // string length

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_InvalidConstraint (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_InvalidConstraint),
    (char *) &_oc_CosNotifyFilter_InvalidConstraint,
    0,
    sizeof (CosNotifyFilter::InvalidConstraint)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_InvalidConstraint =
    &_tc_TAO_tc_CosNotifyFilter_InvalidConstraint;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::DuplicateConstraintID::DuplicateConstraintID (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/DuplicateConstraintID:1.0",
        "DuplicateConstraintID"
      )
{
}

CosNotifyFilter::DuplicateConstraintID::~DuplicateConstraintID (void)
{
}

CosNotifyFilter::DuplicateConstraintID::DuplicateConstraintID (const ::CosNotifyFilter::DuplicateConstraintID &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
  this->id = _tao_excp.id;
}

CosNotifyFilter::DuplicateConstraintID&
CosNotifyFilter::DuplicateConstraintID::operator= (const ::CosNotifyFilter::DuplicateConstraintID &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  this->id = _tao_excp.id;
  return *this;
}

void CosNotifyFilter::DuplicateConstraintID::_tao_any_destructor (void *_tao_void_pointer)
{
  DuplicateConstraintID *_tao_tmp_pointer =
    static_cast<DuplicateConstraintID*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::DuplicateConstraintID *
CosNotifyFilter::DuplicateConstraintID::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/DuplicateConstraintID:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<DuplicateConstraintID *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::DuplicateConstraintID::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::DuplicateConstraintID, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::DuplicateConstraintID::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::DuplicateConstraintID (*this),
      0
    );
  return result;
}

void CosNotifyFilter::DuplicateConstraintID::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::DuplicateConstraintID::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::DuplicateConstraintID::_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

CosNotifyFilter::DuplicateConstraintID::DuplicateConstraintID (
    CosNotifyFilter::ConstraintID _tao_id
  )
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/DuplicateConstraintID:1.0",
        "DuplicateConstraintID"
      )
{
  this->id = _tao_id;
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::DuplicateConstraintID::_type (void) const
{
  return ::CosNotifyFilter::_tc_DuplicateConstraintID;
}

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

static const CORBA::Long _oc_CosNotifyFilter_DuplicateConstraintID[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x4475706c), 
  ACE_NTOHL (0x69636174), 
  ACE_NTOHL (0x65436f6e), 
  ACE_NTOHL (0x73747261), 
  ACE_NTOHL (0x696e7449), 
  ACE_NTOHL (0x443a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/DuplicateConstraintID:1.0
    22,
  ACE_NTOHL (0x4475706c), 
  ACE_NTOHL (0x69636174), 
  ACE_NTOHL (0x65436f6e), 
  ACE_NTOHL (0x73747261), 
  ACE_NTOHL (0x696e7449), 
  ACE_NTOHL (0x44000000),  // name = DuplicateConstraintID
  1, // member count
    3,
  ACE_NTOHL (0x69640000),  // name = id
    CORBA::tk_alias, // typecode kind for typedefs
  80, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    45,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
        13,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x0),  // name = ConstraintID
        CORBA::tk_long,


};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_DuplicateConstraintID (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_DuplicateConstraintID),
    (char *) &_oc_CosNotifyFilter_DuplicateConstraintID,
    0,
    sizeof (CosNotifyFilter::DuplicateConstraintID)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_DuplicateConstraintID =
    &_tc_TAO_tc_CosNotifyFilter_DuplicateConstraintID;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::ConstraintNotFound::ConstraintNotFound (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0",
        "ConstraintNotFound"
      )
{
}

CosNotifyFilter::ConstraintNotFound::~ConstraintNotFound (void)
{
}

CosNotifyFilter::ConstraintNotFound::ConstraintNotFound (const ::CosNotifyFilter::ConstraintNotFound &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
  this->id = _tao_excp.id;
}

CosNotifyFilter::ConstraintNotFound&
CosNotifyFilter::ConstraintNotFound::operator= (const ::CosNotifyFilter::ConstraintNotFound &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  this->id = _tao_excp.id;
  return *this;
}

void CosNotifyFilter::ConstraintNotFound::_tao_any_destructor (void *_tao_void_pointer)
{
  ConstraintNotFound *_tao_tmp_pointer =
    static_cast<ConstraintNotFound*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::ConstraintNotFound *
CosNotifyFilter::ConstraintNotFound::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<ConstraintNotFound *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::ConstraintNotFound::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::ConstraintNotFound, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::ConstraintNotFound::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::ConstraintNotFound (*this),
      0
    );
  return result;
}

void CosNotifyFilter::ConstraintNotFound::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::ConstraintNotFound::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::ConstraintNotFound::_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

CosNotifyFilter::ConstraintNotFound::ConstraintNotFound (
    CosNotifyFilter::ConstraintID _tao_id
  )
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0",
        "ConstraintNotFound"
      )
{
  this->id = _tao_id;
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::ConstraintNotFound::_type (void) const
{
  return ::CosNotifyFilter::_tc_ConstraintNotFound;
}

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

static const CORBA::Long _oc_CosNotifyFilter_ConstraintNotFound[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  51,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744e6f), 
  ACE_NTOHL (0x74466f75), 
  ACE_NTOHL (0x6e643a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0
    19,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744e6f), 
  ACE_NTOHL (0x74466f75), 
  ACE_NTOHL (0x6e640000),  // name = ConstraintNotFound
  1, // member count
    3,
  ACE_NTOHL (0x69640000),  // name = id
    CORBA::tk_alias, // typecode kind for typedefs
  80, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    45,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintID:1.0
        13,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744944), 
    ACE_NTOHL (0x0),  // name = ConstraintID
        CORBA::tk_long,


};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_ConstraintNotFound (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_ConstraintNotFound),
    (char *) &_oc_CosNotifyFilter_ConstraintNotFound,
    0,
    sizeof (CosNotifyFilter::ConstraintNotFound)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_ConstraintNotFound =
    &_tc_TAO_tc_CosNotifyFilter_ConstraintNotFound;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::CallbackNotFound::CallbackNotFound (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/CallbackNotFound:1.0",
        "CallbackNotFound"
      )
{
}

CosNotifyFilter::CallbackNotFound::~CallbackNotFound (void)
{
}

CosNotifyFilter::CallbackNotFound::CallbackNotFound (const ::CosNotifyFilter::CallbackNotFound &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyFilter::CallbackNotFound&
CosNotifyFilter::CallbackNotFound::operator= (const ::CosNotifyFilter::CallbackNotFound &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyFilter::CallbackNotFound::_tao_any_destructor (void *_tao_void_pointer)
{
  CallbackNotFound *_tao_tmp_pointer =
    static_cast<CallbackNotFound*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::CallbackNotFound *
CosNotifyFilter::CallbackNotFound::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/CallbackNotFound:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<CallbackNotFound *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::CallbackNotFound::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::CallbackNotFound, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::CallbackNotFound::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::CallbackNotFound (*this),
      0
    );
  return result;
}

void CosNotifyFilter::CallbackNotFound::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::CallbackNotFound::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::CallbackNotFound::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::CallbackNotFound::_type (void) const
{
  return ::CosNotifyFilter::_tc_CallbackNotFound;
}

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

static const CORBA::Long _oc_CosNotifyFilter_CallbackNotFound[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x43616c6c), 
  ACE_NTOHL (0x6261636b), 
  ACE_NTOHL (0x4e6f7446), 
  ACE_NTOHL (0x6f756e64), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/CallbackNotFound:1.0
    17,
  ACE_NTOHL (0x43616c6c), 
  ACE_NTOHL (0x6261636b), 
  ACE_NTOHL (0x4e6f7446), 
  ACE_NTOHL (0x6f756e64), 
  ACE_NTOHL (0x0),  // name = CallbackNotFound
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_CallbackNotFound (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_CallbackNotFound),
    (char *) &_oc_CosNotifyFilter_CallbackNotFound,
    0,
    sizeof (CosNotifyFilter::CallbackNotFound)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_CallbackNotFound =
    &_tc_TAO_tc_CosNotifyFilter_CallbackNotFound;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::InvalidValue::InvalidValue (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/InvalidValue:1.0",
        "InvalidValue"
      )
{
}

CosNotifyFilter::InvalidValue::~InvalidValue (void)
{
}

CosNotifyFilter::InvalidValue::InvalidValue (const ::CosNotifyFilter::InvalidValue &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
  this->constr = _tao_excp.constr;
  this->value = _tao_excp.value;
}

CosNotifyFilter::InvalidValue&
CosNotifyFilter::InvalidValue::operator= (const ::CosNotifyFilter::InvalidValue &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  this->constr = _tao_excp.constr;
  this->value = _tao_excp.value;
  return *this;
}

void CosNotifyFilter::InvalidValue::_tao_any_destructor (void *_tao_void_pointer)
{
  InvalidValue *_tao_tmp_pointer =
    static_cast<InvalidValue*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::InvalidValue *
CosNotifyFilter::InvalidValue::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/InvalidValue:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<InvalidValue *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::InvalidValue::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::InvalidValue, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::InvalidValue::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::InvalidValue (*this),
      0
    );
  return result;
}

void CosNotifyFilter::InvalidValue::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::InvalidValue::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::InvalidValue::_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

CosNotifyFilter::InvalidValue::InvalidValue (
    const CosNotifyFilter::ConstraintExp & _tao_constr,
    const CORBA::Any & _tao_value
  )
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/InvalidValue:1.0",
        "InvalidValue"
      )
{
  this->constr = _tao_constr;
  this->value = _tao_value;
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::InvalidValue::_type (void) const
{
  return ::CosNotifyFilter::_tc_InvalidValue;
}

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

static const CORBA::Long _oc_CosNotifyFilter_InvalidValue[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  45,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x496e7661), 
  ACE_NTOHL (0x6c696456), 
  ACE_NTOHL (0x616c7565), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/InvalidValue:1.0
    13,
  ACE_NTOHL (0x496e7661), 
  ACE_NTOHL (0x6c696456), 
  ACE_NTOHL (0x616c7565), 
  ACE_NTOHL (0x0),  // name = InvalidValue
  2, // member count
    7,
  ACE_NTOHL (0x636f6e73), 
  ACE_NTOHL (0x74720000),  // name = constr
    CORBA::tk_struct, // typecode kind
  352, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    46,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x7946696c), 
    ACE_NTOHL (0x7465722f), 
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x703a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/ConstraintExp:1.0
        14,
    ACE_NTOHL (0x436f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e744578), 
    ACE_NTOHL (0x70000000),  // name = ConstraintExp
    2, // member count
        12,
    ACE_NTOHL (0x6576656e), 
    ACE_NTOHL (0x745f7479), 
    ACE_NTOHL (0x70657300),  // name = event_types
        CORBA::tk_alias, // typecode kind for typedefs
    220, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/EventTypeSeq:1.0
            13,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74547970), 
      ACE_NTOHL (0x65536571), 
      ACE_NTOHL (0x0),  // name = EventTypeSeq
            CORBA::tk_sequence, // typecode kind
      136, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        CORBA::tk_struct, // typecode kind
        120, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          42,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f734e), 
          ACE_NTOHL (0x6f746966), 
          ACE_NTOHL (0x69636174), 
          ACE_NTOHL (0x696f6e2f), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x653a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/EventType:1.0
                    10,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74547970), 
          ACE_NTOHL (0x65000000),  // name = EventType
          2, // member count
                    12,
          ACE_NTOHL (0x646f6d61), 
          ACE_NTOHL (0x696e5f6e), 
          ACE_NTOHL (0x616d6500),  // name = domain_name
                    CORBA::tk_string, 
          0U, // string length
          10,
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x5f6e616d), 
          ACE_NTOHL (0x65000000),  // name = type_name
                    CORBA::tk_string, 
          0U, // string length

        0U,


    16,
    ACE_NTOHL (0x636f6e73), 
    ACE_NTOHL (0x74726169), 
    ACE_NTOHL (0x6e745f65), 
    ACE_NTOHL (0x78707200),  // name = constraint_expr
        CORBA::tk_string, 
    0U, // string length

  6,
  ACE_NTOHL (0x76616c75), 
  ACE_NTOHL (0x65000000),  // name = value
    CORBA::tk_any,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_InvalidValue (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_InvalidValue),
    (char *) &_oc_CosNotifyFilter_InvalidValue,
    0,
    sizeof (CosNotifyFilter::InvalidValue)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_InvalidValue =
    &_tc_TAO_tc_CosNotifyFilter_InvalidValue;
}

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

// Traits specializations for CosNotifyFilter::Filter.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::Filter_ptr
TAO::Objref_Traits<CosNotifyFilter::Filter>::tao_duplicate (
    CosNotifyFilter::Filter_ptr p
  )
{
  return CosNotifyFilter::Filter::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyFilter::Filter>::tao_release (
    CosNotifyFilter::Filter_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::Filter_ptr
TAO::Objref_Traits<CosNotifyFilter::Filter>::tao_nil (void)
{
  return CosNotifyFilter::Filter::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyFilter::Filter>::tao_marshal (
    CosNotifyFilter::Filter_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

char * CosNotifyFilter::Filter::constraint_grammar (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CORBA::Char *>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_constraint_grammar",
      23,
      this->the_TAO_Filter_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
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyFilter::ConstraintInfoSeq * CosNotifyFilter::Filter::add_constraints (
    const ::CosNotifyFilter::ConstraintExpSeq & constraint_list
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::InvalidConstraint
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintInfoSeq>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintExpSeq>::in_arg_val _tao_constraint_list (constraint_list);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_constraint_list
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_Filter_add_constraints_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0",
        CosNotifyFilter::InvalidConstraint::_alloc,
        CosNotifyFilter::_tc_InvalidConstraint
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "add_constraints",
      15,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_Filter_add_constraints_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

void CosNotifyFilter::Filter::modify_constraints (
    const ::CosNotifyFilter::ConstraintIDSeq & del_list,
    const ::CosNotifyFilter::ConstraintInfoSeq & modify_list
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::InvalidConstraint,
    ::CosNotifyFilter::ConstraintNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintIDSeq>::in_arg_val _tao_del_list (del_list);
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintInfoSeq>::in_arg_val _tao_modify_list (modify_list);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_del_list,
      &_tao_modify_list
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_Filter_modify_constraints_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0",
        CosNotifyFilter::InvalidConstraint::_alloc,
        CosNotifyFilter::_tc_InvalidConstraint
      },
      
      {
        "IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0",
        CosNotifyFilter::ConstraintNotFound::_alloc,
        CosNotifyFilter::_tc_ConstraintNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "modify_constraints",
      18,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_Filter_modify_constraints_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

::CosNotifyFilter::ConstraintInfoSeq * CosNotifyFilter::Filter::get_constraints (
    const ::CosNotifyFilter::ConstraintIDSeq & id_list
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::ConstraintNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintInfoSeq>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintIDSeq>::in_arg_val _tao_id_list (id_list);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_id_list
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_Filter_get_constraints_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0",
        CosNotifyFilter::ConstraintNotFound::_alloc,
        CosNotifyFilter::_tc_ConstraintNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_constraints",
      15,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_Filter_get_constraints_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

::CosNotifyFilter::ConstraintInfoSeq * CosNotifyFilter::Filter::get_all_constraints (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintInfoSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_all_constraints",
      19,
      this->the_TAO_Filter_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
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyFilter::Filter::remove_all_constraints (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "remove_all_constraints",
      22,
      this->the_TAO_Filter_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 CosNotifyFilter::Filter::destroy (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "destroy",
      7,
      this->the_TAO_Filter_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

CORBA::Boolean CosNotifyFilter::Filter::match (
    const ::CORBA::Any & filterable_data
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::UnsupportedFilterableData
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_filterable_data (filterable_data);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filterable_data
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_Filter_match_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0",
        CosNotifyFilter::UnsupportedFilterableData::_alloc,
        CosNotifyFilter::_tc_UnsupportedFilterableData
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "match",
      5,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_Filter_match_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

CORBA::Boolean CosNotifyFilter::Filter::match_structured (
    const ::CosNotification::StructuredEvent & filterable_data
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::UnsupportedFilterableData
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::StructuredEvent>::in_arg_val _tao_filterable_data (filterable_data);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filterable_data
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_Filter_match_structured_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0",
        CosNotifyFilter::UnsupportedFilterableData::_alloc,
        CosNotifyFilter::_tc_UnsupportedFilterableData
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "match_structured",
      16,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_Filter_match_structured_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

CORBA::Boolean CosNotifyFilter::Filter::match_typed (
    const ::CosNotification::PropertySeq & filterable_data
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::UnsupportedFilterableData
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::PropertySeq>::in_arg_val _tao_filterable_data (filterable_data);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filterable_data
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_Filter_match_typed_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0",
        CosNotifyFilter::UnsupportedFilterableData::_alloc,
        CosNotifyFilter::_tc_UnsupportedFilterableData
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "match_typed",
      11,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_Filter_match_typed_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

CosNotifyFilter::CallbackID CosNotifyFilter::Filter::attach_callback (
    ::CosNotifyComm::NotifySubscribe_ptr callback
    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_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< CosNotifyFilter::CallbackID>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::NotifySubscribe>::in_arg_val _tao_callback (callback);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_callback
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "attach_callback",
      15,
      this->the_TAO_Filter_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
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyFilter::Filter::detach_callback (
    ::CosNotifyFilter::CallbackID callback
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::CallbackNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyFilter::CallbackID>::in_arg_val _tao_callback (callback);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_callback
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_Filter_detach_callback_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/CallbackNotFound:1.0",
        CosNotifyFilter::CallbackNotFound::_alloc,
        CosNotifyFilter::_tc_CallbackNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "detach_callback",
      15,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_Filter_detach_callback_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

::CosNotifyFilter::CallbackIDSeq * CosNotifyFilter::Filter::get_callbacks (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Filter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_Filter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::CallbackIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_callbacks",
      13,
      this->the_TAO_Filter_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosNotifyFilter::Filter::Filter (void)
 : the_TAO_Filter_Proxy_Broker_ (0)
{
  this->CosNotifyFilter_Filter_setup_collocation ();
}

void
CosNotifyFilter::Filter::CosNotifyFilter_Filter_setup_collocation ()
{
  if (::CosNotifyFilter__TAO_Filter_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_Filter_Proxy_Broker_ =
        ::CosNotifyFilter__TAO_Filter_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosNotifyFilter::Filter::~Filter (void)
{}

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

CosNotifyFilter::Filter_ptr
CosNotifyFilter::Filter::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<Filter>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/Filter:1.0",
        CosNotifyFilter__TAO_Filter_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::Filter_ptr
CosNotifyFilter::Filter::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<Filter>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/Filter:1.0",
        CosNotifyFilter__TAO_Filter_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::Filter_ptr
CosNotifyFilter::Filter::_duplicate (Filter_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyFilter::Filter::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/Filter: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* CosNotifyFilter::Filter::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyFilter/Filter:1.0";
}

CORBA::Boolean
CosNotifyFilter::Filter::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosNotifyFilter_Filter[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  39,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65723a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/Filter:1.0
    7,
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65720000),  // name = Filter
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_Filter (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyFilter_Filter),
    (char *) &_oc_CosNotifyFilter_Filter,
    0,
    sizeof (CosNotifyFilter::Filter)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_Filter =
    &_tc_TAO_tc_CosNotifyFilter_Filter;
}

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

// Traits specializations for CosNotifyFilter::MappingFilter.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::MappingFilter_ptr
TAO::Objref_Traits<CosNotifyFilter::MappingFilter>::tao_duplicate (
    CosNotifyFilter::MappingFilter_ptr p
  )
{
  return CosNotifyFilter::MappingFilter::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyFilter::MappingFilter>::tao_release (
    CosNotifyFilter::MappingFilter_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::MappingFilter_ptr
TAO::Objref_Traits<CosNotifyFilter::MappingFilter>::tao_nil (void)
{
  return CosNotifyFilter::MappingFilter::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyFilter::MappingFilter>::tao_marshal (
    CosNotifyFilter::MappingFilter_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

char * CosNotifyFilter::MappingFilter::constraint_grammar (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CORBA::Char *>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_constraint_grammar",
      23,
      this->the_TAO_MappingFilter_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
// be/be_visitor_operation/operation_cs.cpp:78

CORBA::TypeCode_ptr CosNotifyFilter::MappingFilter::value_type (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< CORBA::TypeCode>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_value_type",
      15,
      this->the_TAO_MappingFilter_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
// be/be_visitor_operation/operation_cs.cpp:78

CORBA::Any * CosNotifyFilter::MappingFilter::default_value (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< CORBA::Any>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_default_value",
      18,
      this->the_TAO_MappingFilter_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
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyFilter::MappingConstraintInfoSeq * CosNotifyFilter::MappingFilter::add_mapping_constraints (
    const ::CosNotifyFilter::MappingConstraintPairSeq & pair_list
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::InvalidConstraint,
    ::CosNotifyFilter::InvalidValue
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingConstraintInfoSeq>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::MappingConstraintPairSeq>::in_arg_val _tao_pair_list (pair_list);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pair_list
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_MappingFilter_add_mapping_constraints_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0",
        CosNotifyFilter::InvalidConstraint::_alloc,
        CosNotifyFilter::_tc_InvalidConstraint
      },
      
      {
        "IDL:omg.org/CosNotifyFilter/InvalidValue:1.0",
        CosNotifyFilter::InvalidValue::_alloc,
        CosNotifyFilter::_tc_InvalidValue
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "add_mapping_constraints",
      23,
      this->the_TAO_MappingFilter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_MappingFilter_add_mapping_constraints_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

void CosNotifyFilter::MappingFilter::modify_mapping_constraints (
    const ::CosNotifyFilter::ConstraintIDSeq & del_list,
    const ::CosNotifyFilter::MappingConstraintInfoSeq & modify_list
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::InvalidConstraint,
    ::CosNotifyFilter::InvalidValue,
    ::CosNotifyFilter::ConstraintNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintIDSeq>::in_arg_val _tao_del_list (del_list);
  TAO::Arg_Traits< ::CosNotifyFilter::MappingConstraintInfoSeq>::in_arg_val _tao_modify_list (modify_list);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_del_list,
      &_tao_modify_list
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_MappingFilter_modify_mapping_constraints_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/InvalidConstraint:1.0",
        CosNotifyFilter::InvalidConstraint::_alloc,
        CosNotifyFilter::_tc_InvalidConstraint
      },
      
      {
        "IDL:omg.org/CosNotifyFilter/InvalidValue:1.0",
        CosNotifyFilter::InvalidValue::_alloc,
        CosNotifyFilter::_tc_InvalidValue
      },
      
      {
        "IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0",
        CosNotifyFilter::ConstraintNotFound::_alloc,
        CosNotifyFilter::_tc_ConstraintNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "modify_mapping_constraints",
      26,
      this->the_TAO_MappingFilter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_MappingFilter_modify_mapping_constraints_exceptiondata,
      3
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

::CosNotifyFilter::MappingConstraintInfoSeq * CosNotifyFilter::MappingFilter::get_mapping_constraints (
    const ::CosNotifyFilter::ConstraintIDSeq & id_list
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::ConstraintNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingConstraintInfoSeq>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::ConstraintIDSeq>::in_arg_val _tao_id_list (id_list);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_id_list
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_MappingFilter_get_mapping_constraints_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/ConstraintNotFound:1.0",
        CosNotifyFilter::ConstraintNotFound::_alloc,
        CosNotifyFilter::_tc_ConstraintNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_mapping_constraints",
      23,
      this->the_TAO_MappingFilter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_MappingFilter_get_mapping_constraints_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

::CosNotifyFilter::MappingConstraintInfoSeq * CosNotifyFilter::MappingFilter::get_all_mapping_constraints (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingConstraintInfoSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_all_mapping_constraints",
      27,
      this->the_TAO_MappingFilter_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
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyFilter::MappingFilter::remove_all_mapping_constraints (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "remove_all_mapping_constraints",
      30,
      this->the_TAO_MappingFilter_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 CosNotifyFilter::MappingFilter::destroy (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "destroy",
      7,
      this->the_TAO_MappingFilter_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

CORBA::Boolean CosNotifyFilter::MappingFilter::match (
    const ::CORBA::Any & filterable_data,
    ::CORBA::Any_out result_to_set
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::UnsupportedFilterableData
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_filterable_data (filterable_data);
  TAO::Arg_Traits< CORBA::Any>::out_arg_val _tao_result_to_set (result_to_set);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filterable_data,
      &_tao_result_to_set
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_MappingFilter_match_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0",
        CosNotifyFilter::UnsupportedFilterableData::_alloc,
        CosNotifyFilter::_tc_UnsupportedFilterableData
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "match",
      5,
      this->the_TAO_MappingFilter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_MappingFilter_match_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

CORBA::Boolean CosNotifyFilter::MappingFilter::match_structured (
    const ::CosNotification::StructuredEvent & filterable_data,
    ::CORBA::Any_out result_to_set
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::UnsupportedFilterableData
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::StructuredEvent>::in_arg_val _tao_filterable_data (filterable_data);
  TAO::Arg_Traits< CORBA::Any>::out_arg_val _tao_result_to_set (result_to_set);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filterable_data,
      &_tao_result_to_set
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_MappingFilter_match_structured_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0",
        CosNotifyFilter::UnsupportedFilterableData::_alloc,
        CosNotifyFilter::_tc_UnsupportedFilterableData
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "match_structured",
      16,
      this->the_TAO_MappingFilter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_MappingFilter_match_structured_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

CORBA::Boolean CosNotifyFilter::MappingFilter::match_typed (
    const ::CosNotification::PropertySeq & filterable_data,
    ::CORBA::Any_out result_to_set
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::UnsupportedFilterableData
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_MappingFilter_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_MappingFilter_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::PropertySeq>::in_arg_val _tao_filterable_data (filterable_data);
  TAO::Arg_Traits< CORBA::Any>::out_arg_val _tao_result_to_set (result_to_set);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filterable_data,
      &_tao_result_to_set
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_MappingFilter_match_typed_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/UnsupportedFilterableData:1.0",
        CosNotifyFilter::UnsupportedFilterableData::_alloc,
        CosNotifyFilter::_tc_UnsupportedFilterableData
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "match_typed",
      11,
      this->the_TAO_MappingFilter_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_MappingFilter_match_typed_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosNotifyFilter::MappingFilter::MappingFilter (void)
 : the_TAO_MappingFilter_Proxy_Broker_ (0)
{
  this->CosNotifyFilter_MappingFilter_setup_collocation ();
}

void
CosNotifyFilter::MappingFilter::CosNotifyFilter_MappingFilter_setup_collocation ()
{
  if (::CosNotifyFilter__TAO_MappingFilter_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_MappingFilter_Proxy_Broker_ =
        ::CosNotifyFilter__TAO_MappingFilter_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosNotifyFilter::MappingFilter::~MappingFilter (void)
{}

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

CosNotifyFilter::MappingFilter_ptr
CosNotifyFilter::MappingFilter::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<MappingFilter>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/MappingFilter:1.0",
        CosNotifyFilter__TAO_MappingFilter_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::MappingFilter_ptr
CosNotifyFilter::MappingFilter::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<MappingFilter>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/MappingFilter:1.0",
        CosNotifyFilter__TAO_MappingFilter_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::MappingFilter_ptr
CosNotifyFilter::MappingFilter::_duplicate (MappingFilter_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyFilter::MappingFilter::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/MappingFilter: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* CosNotifyFilter::MappingFilter::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyFilter/MappingFilter:1.0";
}

CORBA::Boolean
CosNotifyFilter::MappingFilter::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosNotifyFilter_MappingFilter[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6746), 
  ACE_NTOHL (0x696c7465), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/MappingFilter:1.0
    14,
  ACE_NTOHL (0x4d617070), 
  ACE_NTOHL (0x696e6746), 
  ACE_NTOHL (0x696c7465), 
  ACE_NTOHL (0x72000000),  // name = MappingFilter
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_MappingFilter (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyFilter_MappingFilter),
    (char *) &_oc_CosNotifyFilter_MappingFilter,
    0,
    sizeof (CosNotifyFilter::MappingFilter)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_MappingFilter =
    &_tc_TAO_tc_CosNotifyFilter_MappingFilter;
}

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

// Traits specializations for CosNotifyFilter::FilterFactory.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::FilterFactory_ptr
TAO::Objref_Traits<CosNotifyFilter::FilterFactory>::tao_duplicate (
    CosNotifyFilter::FilterFactory_ptr p
  )
{
  return CosNotifyFilter::FilterFactory::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyFilter::FilterFactory>::tao_release (
    CosNotifyFilter::FilterFactory_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::FilterFactory_ptr
TAO::Objref_Traits<CosNotifyFilter::FilterFactory>::tao_nil (void)
{
  return CosNotifyFilter::FilterFactory::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyFilter::FilterFactory>::tao_marshal (
    CosNotifyFilter::FilterFactory_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

::CosNotifyFilter::Filter_ptr CosNotifyFilter::FilterFactory::create_filter (
    const char * constraint_grammar
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::InvalidGrammar
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_FilterFactory_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_FilterFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::Filter>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val _tao_constraint_grammar (constraint_grammar);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_constraint_grammar
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_FilterFactory_create_filter_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/InvalidGrammar:1.0",
        CosNotifyFilter::InvalidGrammar::_alloc,
        CosNotifyFilter::_tc_InvalidGrammar
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "create_filter",
      13,
      this->the_TAO_FilterFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_FilterFactory_create_filter_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

::CosNotifyFilter::MappingFilter_ptr CosNotifyFilter::FilterFactory::create_mapping_filter (
    const char * constraint_grammar,
    const ::CORBA::Any & default_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::InvalidGrammar
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_FilterFactory_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_FilterFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::Char *>::in_arg_val _tao_constraint_grammar (constraint_grammar);
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_default_value (default_value);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_constraint_grammar,
      &_tao_default_value
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_FilterFactory_create_mapping_filter_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/InvalidGrammar:1.0",
        CosNotifyFilter::InvalidGrammar::_alloc,
        CosNotifyFilter::_tc_InvalidGrammar
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "create_mapping_filter",
      21,
      this->the_TAO_FilterFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_FilterFactory_create_mapping_filter_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosNotifyFilter::FilterFactory::FilterFactory (void)
 : the_TAO_FilterFactory_Proxy_Broker_ (0)
{
  this->CosNotifyFilter_FilterFactory_setup_collocation ();
}

void
CosNotifyFilter::FilterFactory::CosNotifyFilter_FilterFactory_setup_collocation ()
{
  if (::CosNotifyFilter__TAO_FilterFactory_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_FilterFactory_Proxy_Broker_ =
        ::CosNotifyFilter__TAO_FilterFactory_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosNotifyFilter::FilterFactory::~FilterFactory (void)
{}

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

CosNotifyFilter::FilterFactory_ptr
CosNotifyFilter::FilterFactory::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<FilterFactory>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/FilterFactory:1.0",
        CosNotifyFilter__TAO_FilterFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::FilterFactory_ptr
CosNotifyFilter::FilterFactory::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<FilterFactory>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/FilterFactory:1.0",
        CosNotifyFilter__TAO_FilterFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::FilterFactory_ptr
CosNotifyFilter::FilterFactory::_duplicate (FilterFactory_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyFilter::FilterFactory::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterFactory: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* CosNotifyFilter::FilterFactory::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyFilter/FilterFactory:1.0";
}

CORBA::Boolean
CosNotifyFilter::FilterFactory::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosNotifyFilter_FilterFactory[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724661), 
  ACE_NTOHL (0x63746f72), 
  ACE_NTOHL (0x793a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyFilter/FilterFactory:1.0
    14,
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724661), 
  ACE_NTOHL (0x63746f72), 
  ACE_NTOHL (0x79000000),  // name = FilterFactory
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_FilterFactory (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyFilter_FilterFactory),
    (char *) &_oc_CosNotifyFilter_FilterFactory,
    0,
    sizeof (CosNotifyFilter::FilterFactory)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_FilterFactory =
    &_tc_TAO_tc_CosNotifyFilter_FilterFactory;
}

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

static const CORBA::Long _oc_CosNotifyFilter_FilterID[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  41,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724944), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/FilterID:1.0
    9,
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724944), 
  ACE_NTOHL (0x0),  // name = FilterID
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_FilterID (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_FilterID),
    (char *) &_oc_CosNotifyFilter_FilterID,
    0,
    sizeof (CosNotifyFilter::FilterID)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_FilterID =
    &_tc_TAO_tc_CosNotifyFilter_FilterID;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYFILTER_FILTERIDSEQ_CS_)
#define _COSNOTIFYFILTER_FILTERIDSEQ_CS_

CosNotifyFilter::FilterIDSeq::FilterIDSeq (void)
{}

CosNotifyFilter::FilterIDSeq::FilterIDSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::FilterID
      >
    (max)
{}

CosNotifyFilter::FilterIDSeq::FilterIDSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::Long * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::FilterID
      >
    (max, length, buffer, release)
{}

CosNotifyFilter::FilterIDSeq::FilterIDSeq (
    const FilterIDSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyFilter::FilterID
      >
    (seq)
{}

CosNotifyFilter::FilterIDSeq::~FilterIDSeq (void)
{}

void CosNotifyFilter::FilterIDSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  FilterIDSeq * _tao_tmp_pointer =
    static_cast<FilterIDSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

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

static const CORBA::Long _oc_CosNotifyFilter_FilterIDSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  44,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724944), 
  ACE_NTOHL (0x5365713a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyFilter/FilterIDSeq:1.0
    12,
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724944), 
  ACE_NTOHL (0x53657100),  // name = FilterIDSeq
    CORBA::tk_sequence, // typecode kind
  88, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_alias, // typecode kind for typedefs
    72, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      41,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x7946696c), 
      ACE_NTOHL (0x7465722f), 
      ACE_NTOHL (0x46696c74), 
      ACE_NTOHL (0x65724944), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyFilter/FilterID:1.0
            9,
      ACE_NTOHL (0x46696c74), 
      ACE_NTOHL (0x65724944), 
      ACE_NTOHL (0x0),  // name = FilterID
            CORBA::tk_long,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_FilterIDSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyFilter_FilterIDSeq),
    (char *) &_oc_CosNotifyFilter_FilterIDSeq,
    0,
    sizeof (CosNotifyFilter::FilterIDSeq)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_FilterIDSeq =
    &_tc_TAO_tc_CosNotifyFilter_FilterIDSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyFilter::FilterNotFound::FilterNotFound (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyFilter/FilterNotFound:1.0",
        "FilterNotFound"
      )
{
}

CosNotifyFilter::FilterNotFound::~FilterNotFound (void)
{
}

CosNotifyFilter::FilterNotFound::FilterNotFound (const ::CosNotifyFilter::FilterNotFound &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyFilter::FilterNotFound&
CosNotifyFilter::FilterNotFound::operator= (const ::CosNotifyFilter::FilterNotFound &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyFilter::FilterNotFound::_tao_any_destructor (void *_tao_void_pointer)
{
  FilterNotFound *_tao_tmp_pointer =
    static_cast<FilterNotFound*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyFilter::FilterNotFound *
CosNotifyFilter::FilterNotFound::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyFilter/FilterNotFound:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<FilterNotFound *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyFilter::FilterNotFound::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyFilter::FilterNotFound, 0);
  return retval;
}

CORBA::Exception *
CosNotifyFilter::FilterNotFound::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyFilter::FilterNotFound (*this),
      0
    );
  return result;
}

void CosNotifyFilter::FilterNotFound::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyFilter::FilterNotFound::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyFilter::FilterNotFound::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyFilter::FilterNotFound::_type (void) const
{
  return ::CosNotifyFilter::_tc_FilterNotFound;
}

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

static const CORBA::Long _oc_CosNotifyFilter_FilterNotFound[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  47,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724e6f), 
  ACE_NTOHL (0x74466f75), 
  ACE_NTOHL (0x6e643a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyFilter/FilterNotFound:1.0
    15,
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724e6f), 
  ACE_NTOHL (0x74466f75), 
  ACE_NTOHL (0x6e640000),  // name = FilterNotFound
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_FilterNotFound (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyFilter_FilterNotFound),
    (char *) &_oc_CosNotifyFilter_FilterNotFound,
    0,
    sizeof (CosNotifyFilter::FilterNotFound)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_FilterNotFound =
    &_tc_TAO_tc_CosNotifyFilter_FilterNotFound;
}

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

// Traits specializations for CosNotifyFilter::FilterAdmin.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::FilterAdmin_ptr
TAO::Objref_Traits<CosNotifyFilter::FilterAdmin>::tao_duplicate (
    CosNotifyFilter::FilterAdmin_ptr p
  )
{
  return CosNotifyFilter::FilterAdmin::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyFilter::FilterAdmin>::tao_release (
    CosNotifyFilter::FilterAdmin_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyFilter::FilterAdmin_ptr
TAO::Objref_Traits<CosNotifyFilter::FilterAdmin>::tao_nil (void)
{
  return CosNotifyFilter::FilterAdmin::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyFilter::FilterAdmin>::tao_marshal (
    CosNotifyFilter::FilterAdmin_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

CosNotifyFilter::FilterID CosNotifyFilter::FilterAdmin::add_filter (
    ::CosNotifyFilter::Filter_ptr new_filter
    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_FilterAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_FilterAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< CosNotifyFilter::FilterID>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::Filter>::in_arg_val _tao_new_filter (new_filter);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_new_filter
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "add_filter",
      10,
      this->the_TAO_FilterAdmin_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
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyFilter::FilterAdmin::remove_filter (
    ::CosNotifyFilter::FilterID filter
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::FilterNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_FilterAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_FilterAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyFilter::FilterID>::in_arg_val _tao_filter (filter);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filter
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_FilterAdmin_remove_filter_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/FilterNotFound:1.0",
        CosNotifyFilter::FilterNotFound::_alloc,
        CosNotifyFilter::_tc_FilterNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "remove_filter",
      13,
      this->the_TAO_FilterAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_FilterAdmin_remove_filter_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

::CosNotifyFilter::Filter_ptr CosNotifyFilter::FilterAdmin::get_filter (
    ::CosNotifyFilter::FilterID filter
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyFilter::FilterNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_FilterAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_FilterAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::Filter>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyFilter::FilterID>::in_arg_val _tao_filter (filter);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_filter
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyFilter_FilterAdmin_get_filter_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyFilter/FilterNotFound:1.0",
        CosNotifyFilter::FilterNotFound::_alloc,
        CosNotifyFilter::_tc_FilterNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_filter",
      10,
      this->the_TAO_FilterAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyFilter_FilterAdmin_get_filter_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

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

::CosNotifyFilter::FilterIDSeq * CosNotifyFilter::FilterAdmin::get_all_filters (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_FilterAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_FilterAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::FilterIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_all_filters",
      15,
      this->the_TAO_FilterAdmin_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
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyFilter::FilterAdmin::remove_all_filters (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_FilterAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyFilter_FilterAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "remove_all_filters",
      18,
      this->the_TAO_FilterAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

CosNotifyFilter::FilterAdmin::FilterAdmin (void)
 : the_TAO_FilterAdmin_Proxy_Broker_ (0)
{
  this->CosNotifyFilter_FilterAdmin_setup_collocation ();
}

void
CosNotifyFilter::FilterAdmin::CosNotifyFilter_FilterAdmin_setup_collocation ()
{
  if (::CosNotifyFilter__TAO_FilterAdmin_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_FilterAdmin_Proxy_Broker_ =
        ::CosNotifyFilter__TAO_FilterAdmin_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosNotifyFilter::FilterAdmin::~FilterAdmin (void)
{}

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

CosNotifyFilter::FilterAdmin_ptr
CosNotifyFilter::FilterAdmin::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<FilterAdmin>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0",
        CosNotifyFilter__TAO_FilterAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::FilterAdmin_ptr
CosNotifyFilter::FilterAdmin::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<FilterAdmin>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0",
        CosNotifyFilter__TAO_FilterAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyFilter::FilterAdmin_ptr
CosNotifyFilter::FilterAdmin::_duplicate (FilterAdmin_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyFilter::FilterAdmin::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin: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* CosNotifyFilter::FilterAdmin::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0";
}

CORBA::Boolean
CosNotifyFilter::FilterAdmin::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosNotifyFilter_FilterAdmin[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  44,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x7946696c), 
  ACE_NTOHL (0x7465722f), 
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724164), 
  ACE_NTOHL (0x6d696e3a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0
    12,
  ACE_NTOHL (0x46696c74), 
  ACE_NTOHL (0x65724164), 
  ACE_NTOHL (0x6d696e00),  // name = FilterAdmin
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyFilter_FilterAdmin (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyFilter_FilterAdmin),
    (char *) &_oc_CosNotifyFilter_FilterAdmin,
    0,
    sizeof (CosNotifyFilter::FilterAdmin)
  );

namespace CosNotifyFilter
{
  ::CORBA::TypeCode_ptr _tc_FilterAdmin =
    &_tc_TAO_tc_CosNotifyFilter_FilterAdmin;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintExp &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintExp>::insert_copy (
      _tao_any,
      CosNotifyFilter::ConstraintExp::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintExp,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintExp *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintExp>::insert (
      _tao_any,
      CosNotifyFilter::ConstraintExp::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintExp,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintExp *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::ConstraintExp *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintExp *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintExp>::extract (
        _tao_any,
        CosNotifyFilter::ConstraintExp::_tao_any_destructor,
        CosNotifyFilter::_tc_ConstraintExp,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintIDSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintIDSeq>::insert_copy (
      _tao_any,
      CosNotifyFilter::ConstraintIDSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintIDSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintIDSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintIDSeq>::insert (
      _tao_any,
      CosNotifyFilter::ConstraintIDSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintIDSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintIDSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::ConstraintIDSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintIDSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintIDSeq>::extract (
        _tao_any,
        CosNotifyFilter::ConstraintIDSeq::_tao_any_destructor,
        CosNotifyFilter::_tc_ConstraintIDSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintExpSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintExpSeq>::insert_copy (
      _tao_any,
      CosNotifyFilter::ConstraintExpSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintExpSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintExpSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintExpSeq>::insert (
      _tao_any,
      CosNotifyFilter::ConstraintExpSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintExpSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintExpSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::ConstraintExpSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintExpSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintExpSeq>::extract (
        _tao_any,
        CosNotifyFilter::ConstraintExpSeq::_tao_any_destructor,
        CosNotifyFilter::_tc_ConstraintExpSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintInfo &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintInfo>::insert_copy (
      _tao_any,
      CosNotifyFilter::ConstraintInfo::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintInfo,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintInfo *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintInfo>::insert (
      _tao_any,
      CosNotifyFilter::ConstraintInfo::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintInfo,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintInfo *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::ConstraintInfo *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintInfo *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintInfo>::extract (
        _tao_any,
        CosNotifyFilter::ConstraintInfo::_tao_any_destructor,
        CosNotifyFilter::_tc_ConstraintInfo,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintInfoSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintInfoSeq>::insert_copy (
      _tao_any,
      CosNotifyFilter::ConstraintInfoSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintInfoSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintInfoSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintInfoSeq>::insert (
      _tao_any,
      CosNotifyFilter::ConstraintInfoSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintInfoSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintInfoSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::ConstraintInfoSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintInfoSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintInfoSeq>::extract (
        _tao_any,
        CosNotifyFilter::ConstraintInfoSeq::_tao_any_destructor,
        CosNotifyFilter::_tc_ConstraintInfoSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintPair &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintPair>::insert_copy (
      _tao_any,
      CosNotifyFilter::MappingConstraintPair::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintPair,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintPair *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintPair>::insert (
      _tao_any,
      CosNotifyFilter::MappingConstraintPair::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintPair,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintPair *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::MappingConstraintPair *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintPair *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintPair>::extract (
        _tao_any,
        CosNotifyFilter::MappingConstraintPair::_tao_any_destructor,
        CosNotifyFilter::_tc_MappingConstraintPair,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintPairSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintPairSeq>::insert_copy (
      _tao_any,
      CosNotifyFilter::MappingConstraintPairSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintPairSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintPairSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintPairSeq>::insert (
      _tao_any,
      CosNotifyFilter::MappingConstraintPairSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintPairSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintPairSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::MappingConstraintPairSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintPairSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintPairSeq>::extract (
        _tao_any,
        CosNotifyFilter::MappingConstraintPairSeq::_tao_any_destructor,
        CosNotifyFilter::_tc_MappingConstraintPairSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintInfo &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintInfo>::insert_copy (
      _tao_any,
      CosNotifyFilter::MappingConstraintInfo::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintInfo,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintInfo *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintInfo>::insert (
      _tao_any,
      CosNotifyFilter::MappingConstraintInfo::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintInfo,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintInfo *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::MappingConstraintInfo *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintInfo *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintInfo>::extract (
        _tao_any,
        CosNotifyFilter::MappingConstraintInfo::_tao_any_destructor,
        CosNotifyFilter::_tc_MappingConstraintInfo,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintInfoSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintInfoSeq>::insert_copy (
      _tao_any,
      CosNotifyFilter::MappingConstraintInfoSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintInfoSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintInfoSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintInfoSeq>::insert (
      _tao_any,
      CosNotifyFilter::MappingConstraintInfoSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingConstraintInfoSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::MappingConstraintInfoSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::MappingConstraintInfoSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::MappingConstraintInfoSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::MappingConstraintInfoSeq>::extract (
        _tao_any,
        CosNotifyFilter::MappingConstraintInfoSeq::_tao_any_destructor,
        CosNotifyFilter::_tc_MappingConstraintInfoSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::CallbackIDSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::CallbackIDSeq>::insert_copy (
      _tao_any,
      CosNotifyFilter::CallbackIDSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_CallbackIDSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::CallbackIDSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::CallbackIDSeq>::insert (
      _tao_any,
      CosNotifyFilter::CallbackIDSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_CallbackIDSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::CallbackIDSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::CallbackIDSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::CallbackIDSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::CallbackIDSeq>::extract (
        _tao_any,
        CosNotifyFilter::CallbackIDSeq::_tao_any_destructor,
        CosNotifyFilter::_tc_CallbackIDSeq,
        _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<CosNotifyFilter::UnsupportedFilterableData>::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 CosNotifyFilter::UnsupportedFilterableData &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::UnsupportedFilterableData>::insert_copy (
      _tao_any,
      CosNotifyFilter::UnsupportedFilterableData::_tao_any_destructor,
      CosNotifyFilter::_tc_UnsupportedFilterableData,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::UnsupportedFilterableData *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::UnsupportedFilterableData>::insert (
      _tao_any,
      CosNotifyFilter::UnsupportedFilterableData::_tao_any_destructor,
      CosNotifyFilter::_tc_UnsupportedFilterableData,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::UnsupportedFilterableData *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::UnsupportedFilterableData *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::UnsupportedFilterableData *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::UnsupportedFilterableData>::extract (
        _tao_any,
        CosNotifyFilter::UnsupportedFilterableData::_tao_any_destructor,
        CosNotifyFilter::_tc_UnsupportedFilterableData,
        _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<CosNotifyFilter::InvalidGrammar>::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 CosNotifyFilter::InvalidGrammar &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidGrammar>::insert_copy (
      _tao_any,
      CosNotifyFilter::InvalidGrammar::_tao_any_destructor,
      CosNotifyFilter::_tc_InvalidGrammar,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::InvalidGrammar *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidGrammar>::insert (
      _tao_any,
      CosNotifyFilter::InvalidGrammar::_tao_any_destructor,
      CosNotifyFilter::_tc_InvalidGrammar,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::InvalidGrammar *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::InvalidGrammar *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::InvalidGrammar *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidGrammar>::extract (
        _tao_any,
        CosNotifyFilter::InvalidGrammar::_tao_any_destructor,
        CosNotifyFilter::_tc_InvalidGrammar,
        _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<CosNotifyFilter::InvalidConstraint>::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 CosNotifyFilter::InvalidConstraint &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidConstraint>::insert_copy (
      _tao_any,
      CosNotifyFilter::InvalidConstraint::_tao_any_destructor,
      CosNotifyFilter::_tc_InvalidConstraint,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::InvalidConstraint *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidConstraint>::insert (
      _tao_any,
      CosNotifyFilter::InvalidConstraint::_tao_any_destructor,
      CosNotifyFilter::_tc_InvalidConstraint,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::InvalidConstraint *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::InvalidConstraint *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::InvalidConstraint *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidConstraint>::extract (
        _tao_any,
        CosNotifyFilter::InvalidConstraint::_tao_any_destructor,
        CosNotifyFilter::_tc_InvalidConstraint,
        _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<CosNotifyFilter::DuplicateConstraintID>::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 CosNotifyFilter::DuplicateConstraintID &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::DuplicateConstraintID>::insert_copy (
      _tao_any,
      CosNotifyFilter::DuplicateConstraintID::_tao_any_destructor,
      CosNotifyFilter::_tc_DuplicateConstraintID,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::DuplicateConstraintID *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::DuplicateConstraintID>::insert (
      _tao_any,
      CosNotifyFilter::DuplicateConstraintID::_tao_any_destructor,
      CosNotifyFilter::_tc_DuplicateConstraintID,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::DuplicateConstraintID *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::DuplicateConstraintID *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::DuplicateConstraintID *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::DuplicateConstraintID>::extract (
        _tao_any,
        CosNotifyFilter::DuplicateConstraintID::_tao_any_destructor,
        CosNotifyFilter::_tc_DuplicateConstraintID,
        _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<CosNotifyFilter::ConstraintNotFound>::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 CosNotifyFilter::ConstraintNotFound &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintNotFound>::insert_copy (
      _tao_any,
      CosNotifyFilter::ConstraintNotFound::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintNotFound,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintNotFound *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintNotFound>::insert (
      _tao_any,
      CosNotifyFilter::ConstraintNotFound::_tao_any_destructor,
      CosNotifyFilter::_tc_ConstraintNotFound,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::ConstraintNotFound *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::ConstraintNotFound *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::ConstraintNotFound *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::ConstraintNotFound>::extract (
        _tao_any,
        CosNotifyFilter::ConstraintNotFound::_tao_any_destructor,
        CosNotifyFilter::_tc_ConstraintNotFound,
        _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<CosNotifyFilter::CallbackNotFound>::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 CosNotifyFilter::CallbackNotFound &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::CallbackNotFound>::insert_copy (
      _tao_any,
      CosNotifyFilter::CallbackNotFound::_tao_any_destructor,
      CosNotifyFilter::_tc_CallbackNotFound,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::CallbackNotFound *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::CallbackNotFound>::insert (
      _tao_any,
      CosNotifyFilter::CallbackNotFound::_tao_any_destructor,
      CosNotifyFilter::_tc_CallbackNotFound,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::CallbackNotFound *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::CallbackNotFound *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::CallbackNotFound *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::CallbackNotFound>::extract (
        _tao_any,
        CosNotifyFilter::CallbackNotFound::_tao_any_destructor,
        CosNotifyFilter::_tc_CallbackNotFound,
        _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<CosNotifyFilter::InvalidValue>::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 CosNotifyFilter::InvalidValue &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidValue>::insert_copy (
      _tao_any,
      CosNotifyFilter::InvalidValue::_tao_any_destructor,
      CosNotifyFilter::_tc_InvalidValue,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::InvalidValue *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidValue>::insert (
      _tao_any,
      CosNotifyFilter::InvalidValue::_tao_any_destructor,
      CosNotifyFilter::_tc_InvalidValue,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::InvalidValue *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::InvalidValue *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::InvalidValue *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::InvalidValue>::extract (
        _tao_any,
        CosNotifyFilter::InvalidValue::_tao_any_destructor,
        CosNotifyFilter::_tc_InvalidValue,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::Filter_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyFilter::Filter>::insert (
      _tao_any,
      CosNotifyFilter::Filter::_tao_any_destructor,
      CosNotifyFilter::_tc_Filter,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::Filter_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyFilter::Filter>::extract (
        _tao_any,
        CosNotifyFilter::Filter::_tao_any_destructor,
        CosNotifyFilter::_tc_Filter,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::MappingFilter_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyFilter::MappingFilter>::insert (
      _tao_any,
      CosNotifyFilter::MappingFilter::_tao_any_destructor,
      CosNotifyFilter::_tc_MappingFilter,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::MappingFilter_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyFilter::MappingFilter>::extract (
        _tao_any,
        CosNotifyFilter::MappingFilter::_tao_any_destructor,
        CosNotifyFilter::_tc_MappingFilter,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::FilterFactory_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyFilter::FilterFactory>::insert (
      _tao_any,
      CosNotifyFilter::FilterFactory::_tao_any_destructor,
      CosNotifyFilter::_tc_FilterFactory,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::FilterFactory_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyFilter::FilterFactory>::extract (
        _tao_any,
        CosNotifyFilter::FilterFactory::_tao_any_destructor,
        CosNotifyFilter::_tc_FilterFactory,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyFilter::FilterIDSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::FilterIDSeq>::insert_copy (
      _tao_any,
      CosNotifyFilter::FilterIDSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_FilterIDSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::FilterIDSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::FilterIDSeq>::insert (
      _tao_any,
      CosNotifyFilter::FilterIDSeq::_tao_any_destructor,
      CosNotifyFilter::_tc_FilterIDSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::FilterIDSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::FilterIDSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::FilterIDSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::FilterIDSeq>::extract (
        _tao_any,
        CosNotifyFilter::FilterIDSeq::_tao_any_destructor,
        CosNotifyFilter::_tc_FilterIDSeq,
        _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<CosNotifyFilter::FilterNotFound>::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 CosNotifyFilter::FilterNotFound &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::FilterNotFound>::insert_copy (
      _tao_any,
      CosNotifyFilter::FilterNotFound::_tao_any_destructor,
      CosNotifyFilter::_tc_FilterNotFound,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::FilterNotFound *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyFilter::FilterNotFound>::insert (
      _tao_any,
      CosNotifyFilter::FilterNotFound::_tao_any_destructor,
      CosNotifyFilter::_tc_FilterNotFound,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::FilterNotFound *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyFilter::FilterNotFound *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyFilter::FilterNotFound *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyFilter::FilterNotFound>::extract (
        _tao_any,
        CosNotifyFilter::FilterNotFound::_tao_any_destructor,
        CosNotifyFilter::_tc_FilterNotFound,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyFilter::FilterAdmin_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyFilter::FilterAdmin>::insert (
      _tao_any,
      CosNotifyFilter::FilterAdmin::_tao_any_destructor,
      CosNotifyFilter::_tc_FilterAdmin,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyFilter::FilterAdmin_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyFilter::FilterAdmin>::extract (
        _tao_any,
        CosNotifyFilter::FilterAdmin::_tao_any_destructor,
        CosNotifyFilter::_tc_FilterAdmin,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::ConstraintExp &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.event_types) &&
    (strm << _tao_aggregate.constraint_expr.in ());
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::ConstraintExp &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.event_types) &&
    (strm >> _tao_aggregate.constraint_expr.out ());
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyFilter_ConstraintIDSeq_CPP_
#define _TAO_CDR_OP_CosNotifyFilter_ConstraintIDSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::ConstraintIDSeq &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      return strm.write_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::ConstraintIDSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          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) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      return strm.read_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_CosNotifyFilter_ConstraintIDSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyFilter_ConstraintExpSeq_CPP_
#define _TAO_CDR_OP_CosNotifyFilter_ConstraintExpSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::ConstraintExpSeq &_tao_sequence
  )
{
  const 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;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::ConstraintExpSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          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) 
        {
          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_CosNotifyFilter_ConstraintExpSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::ConstraintInfo &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.constraint_expression) &&
    (strm << _tao_aggregate.constraint_id);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::ConstraintInfo &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.constraint_expression) &&
    (strm >> _tao_aggregate.constraint_id);
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyFilter_ConstraintInfoSeq_CPP_
#define _TAO_CDR_OP_CosNotifyFilter_ConstraintInfoSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::ConstraintInfoSeq &_tao_sequence
  )
{
  const 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;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::ConstraintInfoSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          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) 
        {
          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_CosNotifyFilter_ConstraintInfoSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::MappingConstraintPair &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.constraint_expression) &&
    (strm << _tao_aggregate.result_to_set);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::MappingConstraintPair &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.constraint_expression) &&
    (strm >> _tao_aggregate.result_to_set);
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyFilter_MappingConstraintPairSeq_CPP_
#define _TAO_CDR_OP_CosNotifyFilter_MappingConstraintPairSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::MappingConstraintPairSeq &_tao_sequence
  )
{
  const 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;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::MappingConstraintPairSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          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) 
        {
          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_CosNotifyFilter_MappingConstraintPairSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::MappingConstraintInfo &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.constraint_expression) &&
    (strm << _tao_aggregate.constraint_id) &&
    (strm << _tao_aggregate.value);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::MappingConstraintInfo &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.constraint_expression) &&
    (strm >> _tao_aggregate.constraint_id) &&
    (strm >> _tao_aggregate.value);
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyFilter_MappingConstraintInfoSeq_CPP_
#define _TAO_CDR_OP_CosNotifyFilter_MappingConstraintInfoSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::MappingConstraintInfoSeq &_tao_sequence
  )
{
  const 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;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::MappingConstraintInfoSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          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) 
        {
          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_CosNotifyFilter_MappingConstraintInfoSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyFilter_CallbackIDSeq_CPP_
#define _TAO_CDR_OP_CosNotifyFilter_CallbackIDSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::CallbackIDSeq &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      return strm.write_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::CallbackIDSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          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) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      return strm.read_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_CosNotifyFilter_CallbackIDSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::UnsupportedFilterableData &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyFilter::UnsupportedFilterableData&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::InvalidGrammar &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyFilter::InvalidGrammar&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::InvalidConstraint &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      // Now marshal the members (if any).
      if (
        (strm << _tao_aggregate.constr)
       )
        {
          return 1;
        }
      else
        {
          return 0;
        }
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::InvalidConstraint &_tao_aggregate
  )
{
  // Demarshal the members.
  if (
    (strm >> _tao_aggregate.constr)
  )
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::DuplicateConstraintID &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      // Now marshal the members (if any).
      if (
        (strm << _tao_aggregate.id)
       )
        {
          return 1;
        }
      else
        {
          return 0;
        }
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::DuplicateConstraintID &_tao_aggregate
  )
{
  // Demarshal the members.
  if (
    (strm >> _tao_aggregate.id)
  )
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::ConstraintNotFound &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      // Now marshal the members (if any).
      if (
        (strm << _tao_aggregate.id)
       )
        {
          return 1;
        }
      else
        {
          return 0;
        }
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::ConstraintNotFound &_tao_aggregate
  )
{
  // Demarshal the members.
  if (
    (strm >> _tao_aggregate.id)
  )
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::CallbackNotFound &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyFilter::CallbackNotFound&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::InvalidValue &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      // Now marshal the members (if any).
      if (
        (strm << _tao_aggregate.constr) &&
        (strm << _tao_aggregate.value)
       )
        {
          return 1;
        }
      else
        {
          return 0;
        }
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::InvalidValue &_tao_aggregate
  )
{
  // Demarshal the members.
  if (
    (strm >> _tao_aggregate.constr) &&
    (strm >> _tao_aggregate.value)
  )
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::Filter_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyFilter::Filter RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyFilter__TAO_Filter_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 CosNotifyFilter::MappingFilter_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::MappingFilter_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyFilter::MappingFilter RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyFilter__TAO_MappingFilter_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 CosNotifyFilter::FilterFactory_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

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

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyFilter_FilterIDSeq_CPP_
#define _TAO_CDR_OP_CosNotifyFilter_FilterIDSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::FilterIDSeq &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      return strm.write_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyFilter::FilterIDSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          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) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      return strm.read_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_CosNotifyFilter_FilterIDSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyFilter::FilterNotFound &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyFilter::FilterNotFound&
  )
{
  return 1;
}

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

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

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

