// -*- 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 "CosPropertyServiceC.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/Any_Basic_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 "CosPropertyServiceC.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_Property_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:618

#if !defined (_COSPROPERTYSERVICE_PROPERTY__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTY__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::Property>
    : public
        Var_Size_Arg_Traits_T<
            CosPropertyService::Property,
            CosPropertyService::Property_var,
            CosPropertyService::Property_out
          >
  {
  };

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYMODETYPE__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYMODETYPE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertyModeType>
    : public
        Basic_Arg_Traits_T<
            CosPropertyService::PropertyModeType
          >
  {
  };

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYNAMES__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYNAMES__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertyNames>
    : public
        Var_Size_Arg_Traits_T<
            CosPropertyService::PropertyNames,
            CosPropertyService::PropertyNames_var,
            CosPropertyService::PropertyNames_out
          >
  {
  };

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

#if !defined (_COSPROPERTYSERVICE_PROPERTIES__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTIES__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::Properties>
    : public
        Var_Size_Arg_Traits_T<
            CosPropertyService::Properties,
            CosPropertyService::Properties_var,
            CosPropertyService::Properties_out
          >
  {
  };

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYDEFS__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYDEFS__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertyDefs>
    : public
        Var_Size_Arg_Traits_T<
            CosPropertyService::PropertyDefs,
            CosPropertyService::PropertyDefs_var,
            CosPropertyService::PropertyDefs_out
          >
  {
  };

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYMODES__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYMODES__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertyModes>
    : public
        Var_Size_Arg_Traits_T<
            CosPropertyService::PropertyModes,
            CosPropertyService::PropertyModes_var,
            CosPropertyService::PropertyModes_out
          >
  {
  };

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYTYPES__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYTYPES__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertyTypes>
    : public
        Var_Size_Arg_Traits_T<
            CosPropertyService::PropertyTypes,
            CosPropertyService::PropertyTypes_var,
            CosPropertyService::PropertyTypes_out
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSPROPERTYSERVICE_PROPERTYNAMESITERATOR__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYNAMESITERATOR__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertyNamesIterator>
    : public
        Object_Arg_Traits_T<
            CosPropertyService::PropertyNamesIterator_ptr,
            CosPropertyService::PropertyNamesIterator_var,
            CosPropertyService::PropertyNamesIterator_out,
            TAO::Objref_Traits<CosPropertyService::PropertyNamesIterator>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSPROPERTYSERVICE_PROPERTIESITERATOR__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTIESITERATOR__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertiesIterator>
    : public
        Object_Arg_Traits_T<
            CosPropertyService::PropertiesIterator_ptr,
            CosPropertyService::PropertiesIterator_var,
            CosPropertyService::PropertiesIterator_out,
            TAO::Objref_Traits<CosPropertyService::PropertiesIterator>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSPROPERTYSERVICE_PROPERTYSETDEF__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYSETDEF__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertySetDef>
    : public
        Object_Arg_Traits_T<
            CosPropertyService::PropertySetDef_ptr,
            CosPropertyService::PropertySetDef_var,
            CosPropertyService::PropertySetDef_out,
            TAO::Objref_Traits<CosPropertyService::PropertySetDef>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSPROPERTYSERVICE_PROPERTYSET__ARG_TRAITS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYSET__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Property_Export Arg_Traits<CosPropertyService::PropertySet>
    : public
        Object_Arg_Traits_T<
            CosPropertyService::PropertySet_ptr,
            CosPropertyService::PropertySet_var,
            CosPropertyService::PropertySet_out,
            TAO::Objref_Traits<CosPropertyService::PropertySet>
          >
  {
  };

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


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

static const CORBA::Long _oc_CosPropertyService_PropertyName[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794e), 
  ACE_NTOHL (0x616d653a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
    13,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x4e616d65), 
  ACE_NTOHL (0x0),  // name = PropertyName
    CORBA::tk_string, 
  0U, // string length
};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyName (
    CORBA::tk_alias,
    sizeof (_oc_CosPropertyService_PropertyName),
    (char *) &_oc_CosPropertyService_PropertyName,
    0,
    sizeof (CosPropertyService::PropertyName)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyName =
    &_tc_TAO_tc_CosPropertyService_PropertyName;
}

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

static const CORBA::Long _oc_CosPropertyService_Property[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  44,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274793a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/Property:1.0
    9,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x0),  // name = Property
  2, // member count
    14,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6e616d), 
  ACE_NTOHL (0x65000000),  // name = property_name
    CORBA::tk_alias, // typecode kind for typedefs
  84, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    48,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f50), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x7274794e), 
    ACE_NTOHL (0x616d653a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
        13,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4e616d65), 
    ACE_NTOHL (0x0),  // name = PropertyName
        CORBA::tk_string, 
    0U, // string length

  15,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f76616c), 
  ACE_NTOHL (0x75650000),  // name = property_value
    CORBA::tk_any,

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_Property (
    CORBA::tk_struct,
    sizeof (_oc_CosPropertyService_Property),
    (char *) &_oc_CosPropertyService_Property,
    0,
    sizeof (CosPropertyService::Property)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_Property =
    &_tc_TAO_tc_CosPropertyService_Property;
}

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

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

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

static const CORBA::Long _oc_CosPropertyService_PropertyModeType[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794d), 
  ACE_NTOHL (0x6f646554), 
  ACE_NTOHL (0x7970653a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyModeType:1.0
  17,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x4d6f6465), 
  ACE_NTOHL (0x54797065), 
  ACE_NTOHL (0x0),  // name = PropertyModeType
  5, // member count
  7,
  ACE_NTOHL (0x6e6f726d), 
  ACE_NTOHL (0x616c0000),  // name = normal
  10,
  ACE_NTOHL (0x72656164), 
  ACE_NTOHL (0x5f6f6e6c), 
  ACE_NTOHL (0x79000000),  // name = read_only
  13,
  ACE_NTOHL (0x66697865), 
  ACE_NTOHL (0x645f6e6f), 
  ACE_NTOHL (0x726d616c), 
  ACE_NTOHL (0x0),  // name = fixed_normal
  15,
  ACE_NTOHL (0x66697865), 
  ACE_NTOHL (0x645f7265), 
  ACE_NTOHL (0x61646f6e), 
  ACE_NTOHL (0x6c790000),  // name = fixed_readonly
  10,
  ACE_NTOHL (0x756e6465), 
  ACE_NTOHL (0x66696e65), 
  ACE_NTOHL (0x64000000),  // name = undefined
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyModeType (
    CORBA::tk_enum,
    sizeof (_oc_CosPropertyService_PropertyModeType),
    (char *) &_oc_CosPropertyService_PropertyModeType,
    0,
    sizeof (CosPropertyService::PropertyModeType)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyModeType =
    &_tc_TAO_tc_CosPropertyService_PropertyModeType;
}

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

static const CORBA::Long _oc_CosPropertyService_PropertyDef[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  47,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747944), 
  ACE_NTOHL (0x65663a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyDef:1.0
    12,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x44656600),  // name = PropertyDef
  3, // member count
    14,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6e616d), 
  ACE_NTOHL (0x65000000),  // name = property_name
    CORBA::tk_alias, // typecode kind for typedefs
  84, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    48,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f50), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x7274794e), 
    ACE_NTOHL (0x616d653a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
        13,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4e616d65), 
    ACE_NTOHL (0x0),  // name = PropertyName
        CORBA::tk_string, 
    0U, // string length

  15,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f76616c), 
  ACE_NTOHL (0x75650000),  // name = property_value
    CORBA::tk_any,

  14,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6d6f64), 
  ACE_NTOHL (0x65000000),  // name = property_mode
    CORBA::tk_enum, // typecode kind
  172, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
    52,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f50), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x7274794d), 
    ACE_NTOHL (0x6f646554), 
    ACE_NTOHL (0x7970653a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyModeType:1.0
    17,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4d6f6465), 
    ACE_NTOHL (0x54797065), 
    ACE_NTOHL (0x0),  // name = PropertyModeType
    5, // member count
    7,
    ACE_NTOHL (0x6e6f726d), 
    ACE_NTOHL (0x616c0000),  // name = normal
    10,
    ACE_NTOHL (0x72656164), 
    ACE_NTOHL (0x5f6f6e6c), 
    ACE_NTOHL (0x79000000),  // name = read_only
    13,
    ACE_NTOHL (0x66697865), 
    ACE_NTOHL (0x645f6e6f), 
    ACE_NTOHL (0x726d616c), 
    ACE_NTOHL (0x0),  // name = fixed_normal
    15,
    ACE_NTOHL (0x66697865), 
    ACE_NTOHL (0x645f7265), 
    ACE_NTOHL (0x61646f6e), 
    ACE_NTOHL (0x6c790000),  // name = fixed_readonly
    10,
    ACE_NTOHL (0x756e6465), 
    ACE_NTOHL (0x66696e65), 
    ACE_NTOHL (0x64000000),  // name = undefined
    
};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyDef (
    CORBA::tk_struct,
    sizeof (_oc_CosPropertyService_PropertyDef),
    (char *) &_oc_CosPropertyService_PropertyDef,
    0,
    sizeof (CosPropertyService::PropertyDef)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyDef =
    &_tc_TAO_tc_CosPropertyService_PropertyDef;
}

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

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

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

static const CORBA::Long _oc_CosPropertyService_PropertyMode[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794d), 
  ACE_NTOHL (0x6f64653a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyMode:1.0
    13,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x4d6f6465), 
  ACE_NTOHL (0x0),  // name = PropertyMode
  2, // member count
    14,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6e616d), 
  ACE_NTOHL (0x65000000),  // name = property_name
    CORBA::tk_alias, // typecode kind for typedefs
  84, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    48,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f50), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x7274794e), 
    ACE_NTOHL (0x616d653a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
        13,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4e616d65), 
    ACE_NTOHL (0x0),  // name = PropertyName
        CORBA::tk_string, 
    0U, // string length

  14,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6d6f64), 
  ACE_NTOHL (0x65000000),  // name = property_mode
    CORBA::tk_enum, // typecode kind
  172, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
    52,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f50), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x7274794d), 
    ACE_NTOHL (0x6f646554), 
    ACE_NTOHL (0x7970653a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyModeType:1.0
    17,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4d6f6465), 
    ACE_NTOHL (0x54797065), 
    ACE_NTOHL (0x0),  // name = PropertyModeType
    5, // member count
    7,
    ACE_NTOHL (0x6e6f726d), 
    ACE_NTOHL (0x616c0000),  // name = normal
    10,
    ACE_NTOHL (0x72656164), 
    ACE_NTOHL (0x5f6f6e6c), 
    ACE_NTOHL (0x79000000),  // name = read_only
    13,
    ACE_NTOHL (0x66697865), 
    ACE_NTOHL (0x645f6e6f), 
    ACE_NTOHL (0x726d616c), 
    ACE_NTOHL (0x0),  // name = fixed_normal
    15,
    ACE_NTOHL (0x66697865), 
    ACE_NTOHL (0x645f7265), 
    ACE_NTOHL (0x61646f6e), 
    ACE_NTOHL (0x6c790000),  // name = fixed_readonly
    10,
    ACE_NTOHL (0x756e6465), 
    ACE_NTOHL (0x66696e65), 
    ACE_NTOHL (0x64000000),  // name = undefined
    
};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyMode (
    CORBA::tk_struct,
    sizeof (_oc_CosPropertyService_PropertyMode),
    (char *) &_oc_CosPropertyService_PropertyMode,
    0,
    sizeof (CosPropertyService::PropertyMode)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyMode =
    &_tc_TAO_tc_CosPropertyService_PropertyMode;
}

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

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

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYNAMES_CS_)
#define _COSPROPERTYSERVICE_PROPERTYNAMES_CS_

CosPropertyService::PropertyNames::PropertyNames (void)
{}

CosPropertyService::PropertyNames::PropertyNames (
    CORBA::ULong max
  )
  : TAO_Unbounded_String_Sequence
    (max)
{}

CosPropertyService::PropertyNames::PropertyNames (
    CORBA::ULong max,
    CORBA::ULong length,
    char * * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_String_Sequence
    (max, length, buffer, release)
{}

CosPropertyService::PropertyNames::PropertyNames (
    const PropertyNames &seq
  )
  : TAO_Unbounded_String_Sequence
    (seq)
{}

CosPropertyService::PropertyNames::~PropertyNames (void)
{}

void CosPropertyService::PropertyNames::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  PropertyNames * _tao_tmp_pointer =
    static_cast<PropertyNames *> (_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_CosPropertyService_PropertyNames[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794e), 
  ACE_NTOHL (0x616d6573), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertyNames:1.0
    14,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x4e616d65), 
  ACE_NTOHL (0x73000000),  // name = PropertyNames
    CORBA::tk_sequence, // typecode kind
  100, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_alias, // typecode kind for typedefs
    84, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      48,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f7350), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x72747953), 
      ACE_NTOHL (0x65727669), 
      ACE_NTOHL (0x63652f50), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x7274794e), 
      ACE_NTOHL (0x616d653a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
            13,
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x4e616d65), 
      ACE_NTOHL (0x0),  // name = PropertyName
            CORBA::tk_string, 
      0U, // string length

    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyNames (
    CORBA::tk_alias,
    sizeof (_oc_CosPropertyService_PropertyNames),
    (char *) &_oc_CosPropertyService_PropertyNames,
    0,
    sizeof (CosPropertyService::PropertyNames)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyNames =
    &_tc_TAO_tc_CosPropertyService_PropertyNames;
}

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

#if !defined (_COSPROPERTYSERVICE_PROPERTIES_CS_)
#define _COSPROPERTYSERVICE_PROPERTIES_CS_

CosPropertyService::Properties::Properties (void)
{}

CosPropertyService::Properties::Properties (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::Property
      >
    (max)
{}

CosPropertyService::Properties::Properties (
    CORBA::ULong max,
    CORBA::ULong length,
    CosPropertyService::Property * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::Property
      >
    (max, length, buffer, release)
{}

CosPropertyService::Properties::Properties (
    const Properties &seq
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::Property
      >
    (seq)
{}

CosPropertyService::Properties::~Properties (void)
{}

void CosPropertyService::Properties::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  Properties * _tao_tmp_pointer =
    static_cast<Properties *> (_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_CosPropertyService_Properties[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72746965), 
  ACE_NTOHL (0x733a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/Properties:1.0
    11,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727469), 
  ACE_NTOHL (0x65730000),  // name = Properties
    CORBA::tk_sequence, // typecode kind
  224, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    208, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      44,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f7350), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x72747953), 
      ACE_NTOHL (0x65727669), 
      ACE_NTOHL (0x63652f50), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x7274793a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/Property:1.0
            9,
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x0),  // name = Property
      2, // member count
            14,
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f6e616d), 
      ACE_NTOHL (0x65000000),  // name = property_name
            CORBA::tk_alias, // typecode kind for typedefs
      84, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        48,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f50), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x7274794e), 
        ACE_NTOHL (0x616d653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
                13,
        ACE_NTOHL (0x50726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x4e616d65), 
        ACE_NTOHL (0x0),  // name = PropertyName
                CORBA::tk_string, 
        0U, // string length

      15,
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f76616c), 
      ACE_NTOHL (0x75650000),  // name = property_value
            CORBA::tk_any,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_Properties (
    CORBA::tk_alias,
    sizeof (_oc_CosPropertyService_Properties),
    (char *) &_oc_CosPropertyService_Properties,
    0,
    sizeof (CosPropertyService::Properties)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_Properties =
    &_tc_TAO_tc_CosPropertyService_Properties;
}

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYDEFS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYDEFS_CS_

CosPropertyService::PropertyDefs::PropertyDefs (void)
{}

CosPropertyService::PropertyDefs::PropertyDefs (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyDef
      >
    (max)
{}

CosPropertyService::PropertyDefs::PropertyDefs (
    CORBA::ULong max,
    CORBA::ULong length,
    CosPropertyService::PropertyDef * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyDef
      >
    (max, length, buffer, release)
{}

CosPropertyService::PropertyDefs::PropertyDefs (
    const PropertyDefs &seq
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyDef
      >
    (seq)
{}

CosPropertyService::PropertyDefs::~PropertyDefs (void)
{}

void CosPropertyService::PropertyDefs::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  PropertyDefs * _tao_tmp_pointer =
    static_cast<PropertyDefs *> (_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_CosPropertyService_PropertyDefs[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747944), 
  ACE_NTOHL (0x6566733a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyDefs:1.0
    13,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x44656673), 
  ACE_NTOHL (0x0),  // name = PropertyDefs
    CORBA::tk_sequence, // typecode kind
  428, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    412, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      47,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f7350), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x72747953), 
      ACE_NTOHL (0x65727669), 
      ACE_NTOHL (0x63652f50), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x72747944), 
      ACE_NTOHL (0x65663a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyDef:1.0
            12,
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x44656600),  // name = PropertyDef
      3, // member count
            14,
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f6e616d), 
      ACE_NTOHL (0x65000000),  // name = property_name
            CORBA::tk_alias, // typecode kind for typedefs
      84, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        48,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f50), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x7274794e), 
        ACE_NTOHL (0x616d653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
                13,
        ACE_NTOHL (0x50726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x4e616d65), 
        ACE_NTOHL (0x0),  // name = PropertyName
                CORBA::tk_string, 
        0U, // string length

      15,
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f76616c), 
      ACE_NTOHL (0x75650000),  // name = property_value
            CORBA::tk_any,

      14,
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f6d6f64), 
      ACE_NTOHL (0x65000000),  // name = property_mode
            CORBA::tk_enum, // typecode kind
      172, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
        52,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f50), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x7274794d), 
        ACE_NTOHL (0x6f646554), 
        ACE_NTOHL (0x7970653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyModeType:1.0
        17,
        ACE_NTOHL (0x50726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x4d6f6465), 
        ACE_NTOHL (0x54797065), 
        ACE_NTOHL (0x0),  // name = PropertyModeType
        5, // member count
        7,
        ACE_NTOHL (0x6e6f726d), 
        ACE_NTOHL (0x616c0000),  // name = normal
        10,
        ACE_NTOHL (0x72656164), 
        ACE_NTOHL (0x5f6f6e6c), 
        ACE_NTOHL (0x79000000),  // name = read_only
        13,
        ACE_NTOHL (0x66697865), 
        ACE_NTOHL (0x645f6e6f), 
        ACE_NTOHL (0x726d616c), 
        ACE_NTOHL (0x0),  // name = fixed_normal
        15,
        ACE_NTOHL (0x66697865), 
        ACE_NTOHL (0x645f7265), 
        ACE_NTOHL (0x61646f6e), 
        ACE_NTOHL (0x6c790000),  // name = fixed_readonly
        10,
        ACE_NTOHL (0x756e6465), 
        ACE_NTOHL (0x66696e65), 
        ACE_NTOHL (0x64000000),  // name = undefined
        

    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyDefs (
    CORBA::tk_alias,
    sizeof (_oc_CosPropertyService_PropertyDefs),
    (char *) &_oc_CosPropertyService_PropertyDefs,
    0,
    sizeof (CosPropertyService::PropertyDefs)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyDefs =
    &_tc_TAO_tc_CosPropertyService_PropertyDefs;
}

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYMODES_CS_)
#define _COSPROPERTYSERVICE_PROPERTYMODES_CS_

CosPropertyService::PropertyModes::PropertyModes (void)
{}

CosPropertyService::PropertyModes::PropertyModes (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyMode
      >
    (max)
{}

CosPropertyService::PropertyModes::PropertyModes (
    CORBA::ULong max,
    CORBA::ULong length,
    CosPropertyService::PropertyMode * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyMode
      >
    (max, length, buffer, release)
{}

CosPropertyService::PropertyModes::PropertyModes (
    const PropertyModes &seq
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyMode
      >
    (seq)
{}

CosPropertyService::PropertyModes::~PropertyModes (void)
{}

void CosPropertyService::PropertyModes::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  PropertyModes * _tao_tmp_pointer =
    static_cast<PropertyModes *> (_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_CosPropertyService_PropertyModes[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794d), 
  ACE_NTOHL (0x6f646573), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertyModes:1.0
    14,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x4d6f6465), 
  ACE_NTOHL (0x73000000),  // name = PropertyModes
    CORBA::tk_sequence, // typecode kind
  408, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    392, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      48,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f7350), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x72747953), 
      ACE_NTOHL (0x65727669), 
      ACE_NTOHL (0x63652f50), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x7274794d), 
      ACE_NTOHL (0x6f64653a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyMode:1.0
            13,
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x4d6f6465), 
      ACE_NTOHL (0x0),  // name = PropertyMode
      2, // member count
            14,
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f6e616d), 
      ACE_NTOHL (0x65000000),  // name = property_name
            CORBA::tk_alias, // typecode kind for typedefs
      84, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        48,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f50), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x7274794e), 
        ACE_NTOHL (0x616d653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
                13,
        ACE_NTOHL (0x50726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x4e616d65), 
        ACE_NTOHL (0x0),  // name = PropertyName
                CORBA::tk_string, 
        0U, // string length

      14,
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f6d6f64), 
      ACE_NTOHL (0x65000000),  // name = property_mode
            CORBA::tk_enum, // typecode kind
      172, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
        52,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f50), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x7274794d), 
        ACE_NTOHL (0x6f646554), 
        ACE_NTOHL (0x7970653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyModeType:1.0
        17,
        ACE_NTOHL (0x50726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x4d6f6465), 
        ACE_NTOHL (0x54797065), 
        ACE_NTOHL (0x0),  // name = PropertyModeType
        5, // member count
        7,
        ACE_NTOHL (0x6e6f726d), 
        ACE_NTOHL (0x616c0000),  // name = normal
        10,
        ACE_NTOHL (0x72656164), 
        ACE_NTOHL (0x5f6f6e6c), 
        ACE_NTOHL (0x79000000),  // name = read_only
        13,
        ACE_NTOHL (0x66697865), 
        ACE_NTOHL (0x645f6e6f), 
        ACE_NTOHL (0x726d616c), 
        ACE_NTOHL (0x0),  // name = fixed_normal
        15,
        ACE_NTOHL (0x66697865), 
        ACE_NTOHL (0x645f7265), 
        ACE_NTOHL (0x61646f6e), 
        ACE_NTOHL (0x6c790000),  // name = fixed_readonly
        10,
        ACE_NTOHL (0x756e6465), 
        ACE_NTOHL (0x66696e65), 
        ACE_NTOHL (0x64000000),  // name = undefined
        

    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyModes (
    CORBA::tk_alias,
    sizeof (_oc_CosPropertyService_PropertyModes),
    (char *) &_oc_CosPropertyService_PropertyModes,
    0,
    sizeof (CosPropertyService::PropertyModes)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyModes =
    &_tc_TAO_tc_CosPropertyService_PropertyModes;
}

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYTYPES_CS_)
#define _COSPROPERTYSERVICE_PROPERTYTYPES_CS_

CosPropertyService::PropertyTypes::PropertyTypes (void)
{}

CosPropertyService::PropertyTypes::PropertyTypes (
    CORBA::ULong max
  )
  : TAO_Unbounded_Pseudo_Sequence<
        CORBA::TypeCode
      >
    (max)
{}

CosPropertyService::PropertyTypes::PropertyTypes (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::TypeCode_ptr * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Pseudo_Sequence<
        CORBA::TypeCode
      >
    (max, length, buffer, release)
{}

CosPropertyService::PropertyTypes::PropertyTypes (
    const PropertyTypes &seq
  )
  : TAO_Unbounded_Pseudo_Sequence<
        CORBA::TypeCode
      >
    (seq)
{}

CosPropertyService::PropertyTypes::~PropertyTypes (void)
{}

void CosPropertyService::PropertyTypes::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  PropertyTypes * _tao_tmp_pointer =
    static_cast<PropertyTypes *> (_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_CosPropertyService_PropertyTypes[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747954), 
  ACE_NTOHL (0x79706573), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertyTypes:1.0
    14,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x54797065), 
  ACE_NTOHL (0x73000000),  // name = PropertyTypes
    CORBA::tk_sequence, // typecode kind
  12, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_TypeCode,

    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyTypes (
    CORBA::tk_alias,
    sizeof (_oc_CosPropertyService_PropertyTypes),
    (char *) &_oc_CosPropertyService_PropertyTypes,
    0,
    sizeof (CosPropertyService::PropertyTypes)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyTypes =
    &_tc_TAO_tc_CosPropertyService_PropertyTypes;
}

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

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

CosPropertyService::ConstraintNotSupported::~ConstraintNotSupported (void)
{
}

CosPropertyService::ConstraintNotSupported::ConstraintNotSupported (const ::CosPropertyService::ConstraintNotSupported &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::ConstraintNotSupported::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::ConstraintNotSupported::_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 CosPropertyService::ConstraintNotSupported::_type (void) const
{
  return ::CosPropertyService::_tc_ConstraintNotSupported;
}

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

static const CORBA::Long _oc_CosPropertyService_ConstraintNotSupported[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  58,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f43), 
  ACE_NTOHL (0x6f6e7374), 
  ACE_NTOHL (0x7261696e), 
  ACE_NTOHL (0x744e6f74), 
  ACE_NTOHL (0x53757070), 
  ACE_NTOHL (0x6f727465), 
  ACE_NTOHL (0x643a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/ConstraintNotSupported:1.0
    23,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x74726169), 
  ACE_NTOHL (0x6e744e6f), 
  ACE_NTOHL (0x74537570), 
  ACE_NTOHL (0x706f7274), 
  ACE_NTOHL (0x65640000),  // name = ConstraintNotSupported
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_ConstraintNotSupported (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_ConstraintNotSupported),
    (char *) &_oc_CosPropertyService_ConstraintNotSupported,
    0,
    sizeof (CosPropertyService::ConstraintNotSupported)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_ConstraintNotSupported =
    &_tc_TAO_tc_CosPropertyService_ConstraintNotSupported;
}

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

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

CosPropertyService::InvalidPropertyName::~InvalidPropertyName (void)
{
}

CosPropertyService::InvalidPropertyName::InvalidPropertyName (const ::CosPropertyService::InvalidPropertyName &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::InvalidPropertyName::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::InvalidPropertyName::_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 CosPropertyService::InvalidPropertyName::_type (void) const
{
  return ::CosPropertyService::_tc_InvalidPropertyName;
}

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

static const CORBA::Long _oc_CosPropertyService_InvalidPropertyName[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  55,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f49), 
  ACE_NTOHL (0x6e76616c), 
  ACE_NTOHL (0x69645072), 
  ACE_NTOHL (0x6f706572), 
  ACE_NTOHL (0x74794e61), 
  ACE_NTOHL (0x6d653a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0
    20,
  ACE_NTOHL (0x496e7661), 
  ACE_NTOHL (0x6c696450), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794e), 
  ACE_NTOHL (0x616d6500),  // name = InvalidPropertyName
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_InvalidPropertyName (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_InvalidPropertyName),
    (char *) &_oc_CosPropertyService_InvalidPropertyName,
    0,
    sizeof (CosPropertyService::InvalidPropertyName)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_InvalidPropertyName =
    &_tc_TAO_tc_CosPropertyService_InvalidPropertyName;
}

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

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

CosPropertyService::ConflictingProperty::~ConflictingProperty (void)
{
}

CosPropertyService::ConflictingProperty::ConflictingProperty (const ::CosPropertyService::ConflictingProperty &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::ConflictingProperty::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::ConflictingProperty::_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 CosPropertyService::ConflictingProperty::_type (void) const
{
  return ::CosPropertyService::_tc_ConflictingProperty;
}

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

static const CORBA::Long _oc_CosPropertyService_ConflictingProperty[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  55,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f43), 
  ACE_NTOHL (0x6f6e666c), 
  ACE_NTOHL (0x69637469), 
  ACE_NTOHL (0x6e675072), 
  ACE_NTOHL (0x6f706572), 
  ACE_NTOHL (0x74793a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/ConflictingProperty:1.0
    20,
  ACE_NTOHL (0x436f6e66), 
  ACE_NTOHL (0x6c696374), 
  ACE_NTOHL (0x696e6750), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747900),  // name = ConflictingProperty
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_ConflictingProperty (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_ConflictingProperty),
    (char *) &_oc_CosPropertyService_ConflictingProperty,
    0,
    sizeof (CosPropertyService::ConflictingProperty)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_ConflictingProperty =
    &_tc_TAO_tc_CosPropertyService_ConflictingProperty;
}

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

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

CosPropertyService::PropertyNotFound::~PropertyNotFound (void)
{
}

CosPropertyService::PropertyNotFound::PropertyNotFound (const ::CosPropertyService::PropertyNotFound &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::PropertyNotFound::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::PropertyNotFound::_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 CosPropertyService::PropertyNotFound::_type (void) const
{
  return ::CosPropertyService::_tc_PropertyNotFound;
}

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

static const CORBA::Long _oc_CosPropertyService_PropertyNotFound[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794e), 
  ACE_NTOHL (0x6f74466f), 
  ACE_NTOHL (0x756e643a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyNotFound:1.0
    17,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x4e6f7446), 
  ACE_NTOHL (0x6f756e64), 
  ACE_NTOHL (0x0),  // name = PropertyNotFound
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyNotFound (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_PropertyNotFound),
    (char *) &_oc_CosPropertyService_PropertyNotFound,
    0,
    sizeof (CosPropertyService::PropertyNotFound)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyNotFound =
    &_tc_TAO_tc_CosPropertyService_PropertyNotFound;
}

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

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

CosPropertyService::UnsupportedTypeCode::~UnsupportedTypeCode (void)
{
}

CosPropertyService::UnsupportedTypeCode::UnsupportedTypeCode (const ::CosPropertyService::UnsupportedTypeCode &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::UnsupportedTypeCode::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::UnsupportedTypeCode::_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 CosPropertyService::UnsupportedTypeCode::_type (void) const
{
  return ::CosPropertyService::_tc_UnsupportedTypeCode;
}

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

static const CORBA::Long _oc_CosPropertyService_UnsupportedTypeCode[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  55,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f55), 
  ACE_NTOHL (0x6e737570), 
  ACE_NTOHL (0x706f7274), 
  ACE_NTOHL (0x65645479), 
  ACE_NTOHL (0x7065436f), 
  ACE_NTOHL (0x64653a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/UnsupportedTypeCode:1.0
    20,
  ACE_NTOHL (0x556e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x74656454), 
  ACE_NTOHL (0x79706543), 
  ACE_NTOHL (0x6f646500),  // name = UnsupportedTypeCode
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_UnsupportedTypeCode (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_UnsupportedTypeCode),
    (char *) &_oc_CosPropertyService_UnsupportedTypeCode,
    0,
    sizeof (CosPropertyService::UnsupportedTypeCode)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_UnsupportedTypeCode =
    &_tc_TAO_tc_CosPropertyService_UnsupportedTypeCode;
}

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

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

CosPropertyService::UnsupportedProperty::~UnsupportedProperty (void)
{
}

CosPropertyService::UnsupportedProperty::UnsupportedProperty (const ::CosPropertyService::UnsupportedProperty &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::UnsupportedProperty::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::UnsupportedProperty::_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 CosPropertyService::UnsupportedProperty::_type (void) const
{
  return ::CosPropertyService::_tc_UnsupportedProperty;
}

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

static const CORBA::Long _oc_CosPropertyService_UnsupportedProperty[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  55,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f55), 
  ACE_NTOHL (0x6e737570), 
  ACE_NTOHL (0x706f7274), 
  ACE_NTOHL (0x65645072), 
  ACE_NTOHL (0x6f706572), 
  ACE_NTOHL (0x74793a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/UnsupportedProperty:1.0
    20,
  ACE_NTOHL (0x556e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x74656450), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747900),  // name = UnsupportedProperty
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_UnsupportedProperty (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_UnsupportedProperty),
    (char *) &_oc_CosPropertyService_UnsupportedProperty,
    0,
    sizeof (CosPropertyService::UnsupportedProperty)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_UnsupportedProperty =
    &_tc_TAO_tc_CosPropertyService_UnsupportedProperty;
}

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

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

CosPropertyService::UnsupportedMode::~UnsupportedMode (void)
{
}

CosPropertyService::UnsupportedMode::UnsupportedMode (const ::CosPropertyService::UnsupportedMode &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::UnsupportedMode::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::UnsupportedMode::_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 CosPropertyService::UnsupportedMode::_type (void) const
{
  return ::CosPropertyService::_tc_UnsupportedMode;
}

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

static const CORBA::Long _oc_CosPropertyService_UnsupportedMode[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  51,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f55), 
  ACE_NTOHL (0x6e737570), 
  ACE_NTOHL (0x706f7274), 
  ACE_NTOHL (0x65644d6f), 
  ACE_NTOHL (0x64653a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/UnsupportedMode:1.0
    16,
  ACE_NTOHL (0x556e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x7465644d), 
  ACE_NTOHL (0x6f646500),  // name = UnsupportedMode
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_UnsupportedMode (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_UnsupportedMode),
    (char *) &_oc_CosPropertyService_UnsupportedMode,
    0,
    sizeof (CosPropertyService::UnsupportedMode)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_UnsupportedMode =
    &_tc_TAO_tc_CosPropertyService_UnsupportedMode;
}

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

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

CosPropertyService::FixedProperty::~FixedProperty (void)
{
}

CosPropertyService::FixedProperty::FixedProperty (const ::CosPropertyService::FixedProperty &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::FixedProperty::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::FixedProperty::_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 CosPropertyService::FixedProperty::_type (void) const
{
  return ::CosPropertyService::_tc_FixedProperty;
}

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

static const CORBA::Long _oc_CosPropertyService_FixedProperty[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f46), 
  ACE_NTOHL (0x69786564), 
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/FixedProperty:1.0
    14,
  ACE_NTOHL (0x46697865), 
  ACE_NTOHL (0x6450726f), 
  ACE_NTOHL (0x70657274), 
  ACE_NTOHL (0x79000000),  // name = FixedProperty
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_FixedProperty (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_FixedProperty),
    (char *) &_oc_CosPropertyService_FixedProperty,
    0,
    sizeof (CosPropertyService::FixedProperty)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_FixedProperty =
    &_tc_TAO_tc_CosPropertyService_FixedProperty;
}

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

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

CosPropertyService::ReadOnlyProperty::~ReadOnlyProperty (void)
{
}

CosPropertyService::ReadOnlyProperty::ReadOnlyProperty (const ::CosPropertyService::ReadOnlyProperty &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

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

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

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

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

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

void CosPropertyService::ReadOnlyProperty::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::ReadOnlyProperty::_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 CosPropertyService::ReadOnlyProperty::_type (void) const
{
  return ::CosPropertyService::_tc_ReadOnlyProperty;
}

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

static const CORBA::Long _oc_CosPropertyService_ReadOnlyProperty[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f52), 
  ACE_NTOHL (0x6561644f), 
  ACE_NTOHL (0x6e6c7950), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274793a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/ReadOnlyProperty:1.0
    17,
  ACE_NTOHL (0x52656164), 
  ACE_NTOHL (0x4f6e6c79), 
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x0),  // name = ReadOnlyProperty
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_ReadOnlyProperty (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_ReadOnlyProperty),
    (char *) &_oc_CosPropertyService_ReadOnlyProperty,
    0,
    sizeof (CosPropertyService::ReadOnlyProperty)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_ReadOnlyProperty =
    &_tc_TAO_tc_CosPropertyService_ReadOnlyProperty;
}

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

static const CORBA::Long _oc_CosPropertyService_ExceptionReason[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  51,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f45), 
  ACE_NTOHL (0x78636570), 
  ACE_NTOHL (0x74696f6e), 
  ACE_NTOHL (0x52656173), 
  ACE_NTOHL (0x6f6e3a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/ExceptionReason:1.0
  16,
  ACE_NTOHL (0x45786365), 
  ACE_NTOHL (0x7074696f), 
  ACE_NTOHL (0x6e526561), 
  ACE_NTOHL (0x736f6e00),  // name = ExceptionReason
  8, // member count
  22,
  ACE_NTOHL (0x696e7661), 
  ACE_NTOHL (0x6c69645f), 
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6e616d), 
  ACE_NTOHL (0x65000000),  // name = invalid_property_name
  21,
  ACE_NTOHL (0x636f6e66), 
  ACE_NTOHL (0x6c696374), 
  ACE_NTOHL (0x696e675f), 
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x0),  // name = conflicting_property
  19,
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6e6f74), 
  ACE_NTOHL (0x5f666f75), 
  ACE_NTOHL (0x6e640000),  // name = property_not_found
  22,
  ACE_NTOHL (0x756e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x7465645f), 
  ACE_NTOHL (0x74797065), 
  ACE_NTOHL (0x5f636f64), 
  ACE_NTOHL (0x65000000),  // name = unsupported_type_code
  21,
  ACE_NTOHL (0x756e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x7465645f), 
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x0),  // name = unsupported_property
  17,
  ACE_NTOHL (0x756e7375), 
  ACE_NTOHL (0x70706f72), 
  ACE_NTOHL (0x7465645f), 
  ACE_NTOHL (0x6d6f6465), 
  ACE_NTOHL (0x0),  // name = unsupported_mode
  15,
  ACE_NTOHL (0x66697865), 
  ACE_NTOHL (0x645f7072), 
  ACE_NTOHL (0x6f706572), 
  ACE_NTOHL (0x74790000),  // name = fixed_property
  19,
  ACE_NTOHL (0x72656164), 
  ACE_NTOHL (0x5f6f6e6c), 
  ACE_NTOHL (0x795f7072), 
  ACE_NTOHL (0x6f706572), 
  ACE_NTOHL (0x74790000),  // name = read_only_property
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_ExceptionReason (
    CORBA::tk_enum,
    sizeof (_oc_CosPropertyService_ExceptionReason),
    (char *) &_oc_CosPropertyService_ExceptionReason,
    0,
    sizeof (CosPropertyService::ExceptionReason)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_ExceptionReason =
    &_tc_TAO_tc_CosPropertyService_ExceptionReason;
}

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

static const CORBA::Long _oc_CosPropertyService_PropertyException[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  53,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747945), 
  ACE_NTOHL (0x78636570), 
  ACE_NTOHL (0x74696f6e), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertyException:1.0
    18,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x45786365), 
  ACE_NTOHL (0x7074696f), 
  ACE_NTOHL (0x6e000000),  // name = PropertyException
  2, // member count
    7,
  ACE_NTOHL (0x72656173), 
  ACE_NTOHL (0x6f6e0000),  // name = reason
    CORBA::tk_enum, // typecode kind
  288, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
    51,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f45), 
    ACE_NTOHL (0x78636570), 
    ACE_NTOHL (0x74696f6e), 
    ACE_NTOHL (0x52656173), 
    ACE_NTOHL (0x6f6e3a31), 
    ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/ExceptionReason:1.0
    16,
    ACE_NTOHL (0x45786365), 
    ACE_NTOHL (0x7074696f), 
    ACE_NTOHL (0x6e526561), 
    ACE_NTOHL (0x736f6e00),  // name = ExceptionReason
    8, // member count
    22,
    ACE_NTOHL (0x696e7661), 
    ACE_NTOHL (0x6c69645f), 
    ACE_NTOHL (0x70726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x5f6e616d), 
    ACE_NTOHL (0x65000000),  // name = invalid_property_name
    21,
    ACE_NTOHL (0x636f6e66), 
    ACE_NTOHL (0x6c696374), 
    ACE_NTOHL (0x696e675f), 
    ACE_NTOHL (0x70726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x0),  // name = conflicting_property
    19,
    ACE_NTOHL (0x70726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x5f6e6f74), 
    ACE_NTOHL (0x5f666f75), 
    ACE_NTOHL (0x6e640000),  // name = property_not_found
    22,
    ACE_NTOHL (0x756e7375), 
    ACE_NTOHL (0x70706f72), 
    ACE_NTOHL (0x7465645f), 
    ACE_NTOHL (0x74797065), 
    ACE_NTOHL (0x5f636f64), 
    ACE_NTOHL (0x65000000),  // name = unsupported_type_code
    21,
    ACE_NTOHL (0x756e7375), 
    ACE_NTOHL (0x70706f72), 
    ACE_NTOHL (0x7465645f), 
    ACE_NTOHL (0x70726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x0),  // name = unsupported_property
    17,
    ACE_NTOHL (0x756e7375), 
    ACE_NTOHL (0x70706f72), 
    ACE_NTOHL (0x7465645f), 
    ACE_NTOHL (0x6d6f6465), 
    ACE_NTOHL (0x0),  // name = unsupported_mode
    15,
    ACE_NTOHL (0x66697865), 
    ACE_NTOHL (0x645f7072), 
    ACE_NTOHL (0x6f706572), 
    ACE_NTOHL (0x74790000),  // name = fixed_property
    19,
    ACE_NTOHL (0x72656164), 
    ACE_NTOHL (0x5f6f6e6c), 
    ACE_NTOHL (0x795f7072), 
    ACE_NTOHL (0x6f706572), 
    ACE_NTOHL (0x74790000),  // name = read_only_property
    
  22,
  ACE_NTOHL (0x6661696c), 
  ACE_NTOHL (0x696e675f), 
  ACE_NTOHL (0x70726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x5f6e616d), 
  ACE_NTOHL (0x65000000),  // name = failing_property_name
    CORBA::tk_alias, // typecode kind for typedefs
  84, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    48,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f50), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x7274794e), 
    ACE_NTOHL (0x616d653a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
        13,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4e616d65), 
    ACE_NTOHL (0x0),  // name = PropertyName
        CORBA::tk_string, 
    0U, // string length

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyException (
    CORBA::tk_struct,
    sizeof (_oc_CosPropertyService_PropertyException),
    (char *) &_oc_CosPropertyService_PropertyException,
    0,
    sizeof (CosPropertyService::PropertyException)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyException =
    &_tc_TAO_tc_CosPropertyService_PropertyException;
}

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

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

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

#if !defined (_COSPROPERTYSERVICE_PROPERTYEXCEPTIONS_CS_)
#define _COSPROPERTYSERVICE_PROPERTYEXCEPTIONS_CS_

CosPropertyService::PropertyExceptions::PropertyExceptions (void)
{}

CosPropertyService::PropertyExceptions::PropertyExceptions (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyException
      >
    (max)
{}

CosPropertyService::PropertyExceptions::PropertyExceptions (
    CORBA::ULong max,
    CORBA::ULong length,
    CosPropertyService::PropertyException * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyException
      >
    (max, length, buffer, release)
{}

CosPropertyService::PropertyExceptions::PropertyExceptions (
    const PropertyExceptions &seq
  )
  : TAO_Unbounded_Sequence<
        CosPropertyService::PropertyException
      >
    (seq)
{}

CosPropertyService::PropertyExceptions::~PropertyExceptions (void)
{}

void CosPropertyService::PropertyExceptions::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  PropertyExceptions * _tao_tmp_pointer =
    static_cast<PropertyExceptions *> (_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_CosPropertyService_PropertyExceptions[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747945), 
  ACE_NTOHL (0x78636570), 
  ACE_NTOHL (0x74696f6e), 
  ACE_NTOHL (0x733a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyExceptions:1.0
    19,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x45786365), 
  ACE_NTOHL (0x7074696f), 
  ACE_NTOHL (0x6e730000),  // name = PropertyExceptions
    CORBA::tk_sequence, // typecode kind
  536, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    520, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      53,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f7350), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x72747953), 
      ACE_NTOHL (0x65727669), 
      ACE_NTOHL (0x63652f50), 
      ACE_NTOHL (0x726f7065), 
      ACE_NTOHL (0x72747945), 
      ACE_NTOHL (0x78636570), 
      ACE_NTOHL (0x74696f6e), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertyException:1.0
            18,
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x45786365), 
      ACE_NTOHL (0x7074696f), 
      ACE_NTOHL (0x6e000000),  // name = PropertyException
      2, // member count
            7,
      ACE_NTOHL (0x72656173), 
      ACE_NTOHL (0x6f6e0000),  // name = reason
            CORBA::tk_enum, // typecode kind
      288, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
        51,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f45), 
        ACE_NTOHL (0x78636570), 
        ACE_NTOHL (0x74696f6e), 
        ACE_NTOHL (0x52656173), 
        ACE_NTOHL (0x6f6e3a31), 
        ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/ExceptionReason:1.0
        16,
        ACE_NTOHL (0x45786365), 
        ACE_NTOHL (0x7074696f), 
        ACE_NTOHL (0x6e526561), 
        ACE_NTOHL (0x736f6e00),  // name = ExceptionReason
        8, // member count
        22,
        ACE_NTOHL (0x696e7661), 
        ACE_NTOHL (0x6c69645f), 
        ACE_NTOHL (0x70726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x5f6e616d), 
        ACE_NTOHL (0x65000000),  // name = invalid_property_name
        21,
        ACE_NTOHL (0x636f6e66), 
        ACE_NTOHL (0x6c696374), 
        ACE_NTOHL (0x696e675f), 
        ACE_NTOHL (0x70726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x0),  // name = conflicting_property
        19,
        ACE_NTOHL (0x70726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x5f6e6f74), 
        ACE_NTOHL (0x5f666f75), 
        ACE_NTOHL (0x6e640000),  // name = property_not_found
        22,
        ACE_NTOHL (0x756e7375), 
        ACE_NTOHL (0x70706f72), 
        ACE_NTOHL (0x7465645f), 
        ACE_NTOHL (0x74797065), 
        ACE_NTOHL (0x5f636f64), 
        ACE_NTOHL (0x65000000),  // name = unsupported_type_code
        21,
        ACE_NTOHL (0x756e7375), 
        ACE_NTOHL (0x70706f72), 
        ACE_NTOHL (0x7465645f), 
        ACE_NTOHL (0x70726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x0),  // name = unsupported_property
        17,
        ACE_NTOHL (0x756e7375), 
        ACE_NTOHL (0x70706f72), 
        ACE_NTOHL (0x7465645f), 
        ACE_NTOHL (0x6d6f6465), 
        ACE_NTOHL (0x0),  // name = unsupported_mode
        15,
        ACE_NTOHL (0x66697865), 
        ACE_NTOHL (0x645f7072), 
        ACE_NTOHL (0x6f706572), 
        ACE_NTOHL (0x74790000),  // name = fixed_property
        19,
        ACE_NTOHL (0x72656164), 
        ACE_NTOHL (0x5f6f6e6c), 
        ACE_NTOHL (0x795f7072), 
        ACE_NTOHL (0x6f706572), 
        ACE_NTOHL (0x74790000),  // name = read_only_property
        
      22,
      ACE_NTOHL (0x6661696c), 
      ACE_NTOHL (0x696e675f), 
      ACE_NTOHL (0x70726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x5f6e616d), 
      ACE_NTOHL (0x65000000),  // name = failing_property_name
            CORBA::tk_alias, // typecode kind for typedefs
      84, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        48,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f50), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x7274794e), 
        ACE_NTOHL (0x616d653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
                13,
        ACE_NTOHL (0x50726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x4e616d65), 
        ACE_NTOHL (0x0),  // name = PropertyName
                CORBA::tk_string, 
        0U, // string length


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyExceptions (
    CORBA::tk_alias,
    sizeof (_oc_CosPropertyService_PropertyExceptions),
    (char *) &_oc_CosPropertyService_PropertyExceptions,
    0,
    sizeof (CosPropertyService::PropertyExceptions)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyExceptions =
    &_tc_TAO_tc_CosPropertyService_PropertyExceptions;
}

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

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

CosPropertyService::MultipleExceptions::~MultipleExceptions (void)
{
}

CosPropertyService::MultipleExceptions::MultipleExceptions (const ::CosPropertyService::MultipleExceptions &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
  this->exceptions = _tao_excp.exceptions;
}

CosPropertyService::MultipleExceptions&
CosPropertyService::MultipleExceptions::operator= (const ::CosPropertyService::MultipleExceptions &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  this->exceptions = _tao_excp.exceptions;
  return *this;
}

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

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

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

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

void CosPropertyService::MultipleExceptions::_raise (void) const
{
  TAO_RAISE (*this);
}

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

void CosPropertyService::MultipleExceptions::_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

CosPropertyService::MultipleExceptions::MultipleExceptions (
    const CosPropertyService::PropertyExceptions & _tao_exceptions
  )
  : CORBA::UserException (
        "IDL:omg.org/CosPropertyService/MultipleExceptions:1.0",
        "MultipleExceptions"
      )
{
  this->exceptions = _tao_exceptions;
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosPropertyService::MultipleExceptions::_type (void) const
{
  return ::CosPropertyService::_tc_MultipleExceptions;
}

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

static const CORBA::Long _oc_CosPropertyService_MultipleExceptions[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f4d), 
  ACE_NTOHL (0x756c7469), 
  ACE_NTOHL (0x706c6545), 
  ACE_NTOHL (0x78636570), 
  ACE_NTOHL (0x74696f6e), 
  ACE_NTOHL (0x733a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/MultipleExceptions:1.0
    19,
  ACE_NTOHL (0x4d756c74), 
  ACE_NTOHL (0x69706c65), 
  ACE_NTOHL (0x45786365), 
  ACE_NTOHL (0x7074696f), 
  ACE_NTOHL (0x6e730000),  // name = MultipleExceptions
  1, // member count
    11,
  ACE_NTOHL (0x65786365), 
  ACE_NTOHL (0x7074696f), 
  ACE_NTOHL (0x6e730000),  // name = exceptions
    CORBA::tk_alias, // typecode kind for typedefs
  632, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    54,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f7350), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747953), 
    ACE_NTOHL (0x65727669), 
    ACE_NTOHL (0x63652f50), 
    ACE_NTOHL (0x726f7065), 
    ACE_NTOHL (0x72747945), 
    ACE_NTOHL (0x78636570), 
    ACE_NTOHL (0x74696f6e), 
    ACE_NTOHL (0x733a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyExceptions:1.0
        19,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x45786365), 
    ACE_NTOHL (0x7074696f), 
    ACE_NTOHL (0x6e730000),  // name = PropertyExceptions
        CORBA::tk_sequence, // typecode kind
    536, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      CORBA::tk_struct, // typecode kind
      520, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        53,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f7350), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747953), 
        ACE_NTOHL (0x65727669), 
        ACE_NTOHL (0x63652f50), 
        ACE_NTOHL (0x726f7065), 
        ACE_NTOHL (0x72747945), 
        ACE_NTOHL (0x78636570), 
        ACE_NTOHL (0x74696f6e), 
        ACE_NTOHL (0x3a312e30), 
        ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertyException:1.0
                18,
        ACE_NTOHL (0x50726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x45786365), 
        ACE_NTOHL (0x7074696f), 
        ACE_NTOHL (0x6e000000),  // name = PropertyException
        2, // member count
                7,
        ACE_NTOHL (0x72656173), 
        ACE_NTOHL (0x6f6e0000),  // name = reason
                CORBA::tk_enum, // typecode kind
        288, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
          51,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f7350), 
          ACE_NTOHL (0x726f7065), 
          ACE_NTOHL (0x72747953), 
          ACE_NTOHL (0x65727669), 
          ACE_NTOHL (0x63652f45), 
          ACE_NTOHL (0x78636570), 
          ACE_NTOHL (0x74696f6e), 
          ACE_NTOHL (0x52656173), 
          ACE_NTOHL (0x6f6e3a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/ExceptionReason:1.0
          16,
          ACE_NTOHL (0x45786365), 
          ACE_NTOHL (0x7074696f), 
          ACE_NTOHL (0x6e526561), 
          ACE_NTOHL (0x736f6e00),  // name = ExceptionReason
          8, // member count
          22,
          ACE_NTOHL (0x696e7661), 
          ACE_NTOHL (0x6c69645f), 
          ACE_NTOHL (0x70726f70), 
          ACE_NTOHL (0x65727479), 
          ACE_NTOHL (0x5f6e616d), 
          ACE_NTOHL (0x65000000),  // name = invalid_property_name
          21,
          ACE_NTOHL (0x636f6e66), 
          ACE_NTOHL (0x6c696374), 
          ACE_NTOHL (0x696e675f), 
          ACE_NTOHL (0x70726f70), 
          ACE_NTOHL (0x65727479), 
          ACE_NTOHL (0x0),  // name = conflicting_property
          19,
          ACE_NTOHL (0x70726f70), 
          ACE_NTOHL (0x65727479), 
          ACE_NTOHL (0x5f6e6f74), 
          ACE_NTOHL (0x5f666f75), 
          ACE_NTOHL (0x6e640000),  // name = property_not_found
          22,
          ACE_NTOHL (0x756e7375), 
          ACE_NTOHL (0x70706f72), 
          ACE_NTOHL (0x7465645f), 
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x5f636f64), 
          ACE_NTOHL (0x65000000),  // name = unsupported_type_code
          21,
          ACE_NTOHL (0x756e7375), 
          ACE_NTOHL (0x70706f72), 
          ACE_NTOHL (0x7465645f), 
          ACE_NTOHL (0x70726f70), 
          ACE_NTOHL (0x65727479), 
          ACE_NTOHL (0x0),  // name = unsupported_property
          17,
          ACE_NTOHL (0x756e7375), 
          ACE_NTOHL (0x70706f72), 
          ACE_NTOHL (0x7465645f), 
          ACE_NTOHL (0x6d6f6465), 
          ACE_NTOHL (0x0),  // name = unsupported_mode
          15,
          ACE_NTOHL (0x66697865), 
          ACE_NTOHL (0x645f7072), 
          ACE_NTOHL (0x6f706572), 
          ACE_NTOHL (0x74790000),  // name = fixed_property
          19,
          ACE_NTOHL (0x72656164), 
          ACE_NTOHL (0x5f6f6e6c), 
          ACE_NTOHL (0x795f7072), 
          ACE_NTOHL (0x6f706572), 
          ACE_NTOHL (0x74790000),  // name = read_only_property
          
        22,
        ACE_NTOHL (0x6661696c), 
        ACE_NTOHL (0x696e675f), 
        ACE_NTOHL (0x70726f70), 
        ACE_NTOHL (0x65727479), 
        ACE_NTOHL (0x5f6e616d), 
        ACE_NTOHL (0x65000000),  // name = failing_property_name
                CORBA::tk_alias, // typecode kind for typedefs
        84, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          48,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x436f7350), 
          ACE_NTOHL (0x726f7065), 
          ACE_NTOHL (0x72747953), 
          ACE_NTOHL (0x65727669), 
          ACE_NTOHL (0x63652f50), 
          ACE_NTOHL (0x726f7065), 
          ACE_NTOHL (0x7274794e), 
          ACE_NTOHL (0x616d653a), 
          ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosPropertyService/PropertyName:1.0
                    13,
          ACE_NTOHL (0x50726f70), 
          ACE_NTOHL (0x65727479), 
          ACE_NTOHL (0x4e616d65), 
          ACE_NTOHL (0x0),  // name = PropertyName
                    CORBA::tk_string, 
          0U, // string length


      0U,


};

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_MultipleExceptions (
    CORBA::tk_except,
    sizeof (_oc_CosPropertyService_MultipleExceptions),
    (char *) &_oc_CosPropertyService_MultipleExceptions,
    0,
    sizeof (CosPropertyService::MultipleExceptions)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_MultipleExceptions =
    &_tc_TAO_tc_CosPropertyService_MultipleExceptions;
}

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

// Traits specializations for CosPropertyService::PropertySetFactory.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySetFactory_ptr
TAO::Objref_Traits<CosPropertyService::PropertySetFactory>::tao_duplicate (
    CosPropertyService::PropertySetFactory_ptr p
  )
{
  return CosPropertyService::PropertySetFactory::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosPropertyService::PropertySetFactory>::tao_release (
    CosPropertyService::PropertySetFactory_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySetFactory_ptr
TAO::Objref_Traits<CosPropertyService::PropertySetFactory>::tao_nil (void)
{
  return CosPropertyService::PropertySetFactory::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosPropertyService::PropertySetFactory>::tao_marshal (
    CosPropertyService::PropertySetFactory_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

::CosPropertyService::PropertySet_ptr CosPropertyService::PropertySetFactory::create_propertyset (
    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_PropertySetFactory_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosPropertyService::PropertySet>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "create_propertyset",
      18,
      this->the_TAO_PropertySetFactory_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

::CosPropertyService::PropertySet_ptr CosPropertyService::PropertySetFactory::create_constrained_propertyset (
    const ::CosPropertyService::PropertyTypes & allowed_property_types,
    const ::CosPropertyService::Properties & allowed_properties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::ConstraintNotSupported
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetFactory_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosPropertyService::PropertySet>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyTypes>::in_arg_val _tao_allowed_property_types (allowed_property_types);
  TAO::Arg_Traits< ::CosPropertyService::Properties>::in_arg_val _tao_allowed_properties (allowed_properties);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_allowed_property_types,
      &_tao_allowed_properties
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetFactory_create_constrained_propertyset_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/ConstraintNotSupported:1.0",
        CosPropertyService::ConstraintNotSupported::_alloc,
        CosPropertyService::_tc_ConstraintNotSupported
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "create_constrained_propertyset",
      30,
      this->the_TAO_PropertySetFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetFactory_create_constrained_propertyset_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

::CosPropertyService::PropertySet_ptr CosPropertyService::PropertySetFactory::create_initial_propertyset (
    const ::CosPropertyService::Properties & initial_properties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetFactory_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosPropertyService::PropertySet>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::Properties>::in_arg_val _tao_initial_properties (initial_properties);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_initial_properties
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetFactory_create_initial_propertyset_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/MultipleExceptions:1.0",
        CosPropertyService::MultipleExceptions::_alloc,
        CosPropertyService::_tc_MultipleExceptions
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "create_initial_propertyset",
      26,
      this->the_TAO_PropertySetFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetFactory_create_initial_propertyset_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosPropertyService::PropertySetFactory::PropertySetFactory (void)
 : the_TAO_PropertySetFactory_Proxy_Broker_ (0)
{
  this->CosPropertyService_PropertySetFactory_setup_collocation ();
}

void
CosPropertyService::PropertySetFactory::CosPropertyService_PropertySetFactory_setup_collocation ()
{
  if (::CosPropertyService__TAO_PropertySetFactory_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_PropertySetFactory_Proxy_Broker_ =
        ::CosPropertyService__TAO_PropertySetFactory_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosPropertyService::PropertySetFactory::~PropertySetFactory (void)
{}

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

CosPropertyService::PropertySetFactory_ptr
CosPropertyService::PropertySetFactory::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySetFactory>::narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySetFactory:1.0",
        CosPropertyService__TAO_PropertySetFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySetFactory_ptr
CosPropertyService::PropertySetFactory::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySetFactory>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySetFactory:1.0",
        CosPropertyService__TAO_PropertySetFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySetFactory_ptr
CosPropertyService::PropertySetFactory::_duplicate (PropertySetFactory_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

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

CORBA::Boolean
CosPropertyService::PropertySetFactory::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosPropertyService_PropertySetFactory[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65744661), 
  ACE_NTOHL (0x63746f72), 
  ACE_NTOHL (0x793a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/PropertySetFactory:1.0
    19,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x53657446), 
  ACE_NTOHL (0x6163746f), 
  ACE_NTOHL (0x72790000),  // name = PropertySetFactory
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertySetFactory (
    CORBA::tk_objref,
    sizeof (_oc_CosPropertyService_PropertySetFactory),
    (char *) &_oc_CosPropertyService_PropertySetFactory,
    0,
    sizeof (CosPropertyService::PropertySetFactory)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertySetFactory =
    &_tc_TAO_tc_CosPropertyService_PropertySetFactory;
}

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

// Traits specializations for CosPropertyService::PropertySetDefFactory.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySetDefFactory_ptr
TAO::Objref_Traits<CosPropertyService::PropertySetDefFactory>::tao_duplicate (
    CosPropertyService::PropertySetDefFactory_ptr p
  )
{
  return CosPropertyService::PropertySetDefFactory::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosPropertyService::PropertySetDefFactory>::tao_release (
    CosPropertyService::PropertySetDefFactory_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySetDefFactory_ptr
TAO::Objref_Traits<CosPropertyService::PropertySetDefFactory>::tao_nil (void)
{
  return CosPropertyService::PropertySetDefFactory::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosPropertyService::PropertySetDefFactory>::tao_marshal (
    CosPropertyService::PropertySetDefFactory_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

::CosPropertyService::PropertySetDef_ptr CosPropertyService::PropertySetDefFactory::create_propertysetdef (
    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_PropertySetDefFactory_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDefFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosPropertyService::PropertySetDef>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "create_propertysetdef",
      21,
      this->the_TAO_PropertySetDefFactory_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

::CosPropertyService::PropertySetDef_ptr CosPropertyService::PropertySetDefFactory::create_constrained_propertysetdef (
    const ::CosPropertyService::PropertyTypes & allowed_property_types,
    const ::CosPropertyService::PropertyDefs & allowed_property_defs
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::ConstraintNotSupported
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetDefFactory_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDefFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosPropertyService::PropertySetDef>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyTypes>::in_arg_val _tao_allowed_property_types (allowed_property_types);
  TAO::Arg_Traits< ::CosPropertyService::PropertyDefs>::in_arg_val _tao_allowed_property_defs (allowed_property_defs);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_allowed_property_types,
      &_tao_allowed_property_defs
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetDefFactory_create_constrained_propertysetdef_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/ConstraintNotSupported:1.0",
        CosPropertyService::ConstraintNotSupported::_alloc,
        CosPropertyService::_tc_ConstraintNotSupported
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "create_constrained_propertysetdef",
      33,
      this->the_TAO_PropertySetDefFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetDefFactory_create_constrained_propertysetdef_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

::CosPropertyService::PropertySetDef_ptr CosPropertyService::PropertySetDefFactory::create_initial_propertysetdef (
    const ::CosPropertyService::PropertyDefs & initial_property_defs
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetDefFactory_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDefFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosPropertyService::PropertySetDef>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyDefs>::in_arg_val _tao_initial_property_defs (initial_property_defs);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_initial_property_defs
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetDefFactory_create_initial_propertysetdef_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/MultipleExceptions:1.0",
        CosPropertyService::MultipleExceptions::_alloc,
        CosPropertyService::_tc_MultipleExceptions
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "create_initial_propertysetdef",
      29,
      this->the_TAO_PropertySetDefFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetDefFactory_create_initial_propertysetdef_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosPropertyService::PropertySetDefFactory::PropertySetDefFactory (void)
 : the_TAO_PropertySetDefFactory_Proxy_Broker_ (0)
{
  this->CosPropertyService_PropertySetDefFactory_setup_collocation ();
}

void
CosPropertyService::PropertySetDefFactory::CosPropertyService_PropertySetDefFactory_setup_collocation ()
{
  if (::CosPropertyService__TAO_PropertySetDefFactory_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_PropertySetDefFactory_Proxy_Broker_ =
        ::CosPropertyService__TAO_PropertySetDefFactory_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosPropertyService::PropertySetDefFactory::~PropertySetDefFactory (void)
{}

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

CosPropertyService::PropertySetDefFactory_ptr
CosPropertyService::PropertySetDefFactory::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySetDefFactory>::narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySetDefFactory:1.0",
        CosPropertyService__TAO_PropertySetDefFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySetDefFactory_ptr
CosPropertyService::PropertySetDefFactory::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySetDefFactory>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySetDefFactory:1.0",
        CosPropertyService__TAO_PropertySetDefFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySetDefFactory_ptr
CosPropertyService::PropertySetDefFactory::_duplicate (PropertySetDefFactory_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

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

CORBA::Boolean
CosPropertyService::PropertySetDefFactory::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosPropertyService_PropertySetDefFactory[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  57,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65744465), 
  ACE_NTOHL (0x66466163), 
  ACE_NTOHL (0x746f7279), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertySetDefFactory:1.0
    22,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x53657444), 
  ACE_NTOHL (0x65664661), 
  ACE_NTOHL (0x63746f72), 
  ACE_NTOHL (0x79000000),  // name = PropertySetDefFactory
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertySetDefFactory (
    CORBA::tk_objref,
    sizeof (_oc_CosPropertyService_PropertySetDefFactory),
    (char *) &_oc_CosPropertyService_PropertySetDefFactory,
    0,
    sizeof (CosPropertyService::PropertySetDefFactory)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertySetDefFactory =
    &_tc_TAO_tc_CosPropertyService_PropertySetDefFactory;
}

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

// Traits specializations for CosPropertyService::PropertySet.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySet_ptr
TAO::Objref_Traits<CosPropertyService::PropertySet>::tao_duplicate (
    CosPropertyService::PropertySet_ptr p
  )
{
  return CosPropertyService::PropertySet::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosPropertyService::PropertySet>::tao_release (
    CosPropertyService::PropertySet_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySet_ptr
TAO::Objref_Traits<CosPropertyService::PropertySet>::tao_nil (void)
{
  return CosPropertyService::PropertySet::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosPropertyService::PropertySet>::tao_marshal (
    CosPropertyService::PropertySet_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

void CosPropertyService::PropertySet::define_property (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::in_arg_val _tao_property_name (property_name);
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_property_value (property_value);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name,
      &_tao_property_value
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySet_define_property_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0",
        CosPropertyService::InvalidPropertyName::_alloc,
        CosPropertyService::_tc_InvalidPropertyName
      },
      
      {
        "IDL:omg.org/CosPropertyService/ConflictingProperty:1.0",
        CosPropertyService::ConflictingProperty::_alloc,
        CosPropertyService::_tc_ConflictingProperty
      },
      
      {
        "IDL:omg.org/CosPropertyService/UnsupportedTypeCode:1.0",
        CosPropertyService::UnsupportedTypeCode::_alloc,
        CosPropertyService::_tc_UnsupportedTypeCode
      },
      
      {
        "IDL:omg.org/CosPropertyService/UnsupportedProperty:1.0",
        CosPropertyService::UnsupportedProperty::_alloc,
        CosPropertyService::_tc_UnsupportedProperty
      },
      
      {
        "IDL:omg.org/CosPropertyService/ReadOnlyProperty:1.0",
        CosPropertyService::ReadOnlyProperty::_alloc,
        CosPropertyService::_tc_ReadOnlyProperty
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "define_property",
      15,
      this->the_TAO_PropertySet_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySet_define_property_exceptiondata,
      5
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

void CosPropertyService::PropertySet::define_properties (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::Properties>::in_arg_val _tao_nproperties (nproperties);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_nproperties
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySet_define_properties_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/MultipleExceptions:1.0",
        CosPropertyService::MultipleExceptions::_alloc,
        CosPropertyService::_tc_MultipleExceptions
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "define_properties",
      17,
      this->the_TAO_PropertySet_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySet_define_properties_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

CORBA::ULong CosPropertyService::PropertySet::get_number_of_properties (
    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_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< CORBA::ULong>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_number_of_properties",
      24,
      this->the_TAO_PropertySet_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 CosPropertyService::PropertySet::get_all_property_names (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    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_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::ULong>::in_arg_val _tao_how_many (how_many);
  TAO::Arg_Traits< ::CosPropertyService::PropertyNames>::out_arg_val _tao_property_names (property_names);
  TAO::Arg_Traits< ::CosPropertyService::PropertyNamesIterator>::out_arg_val _tao_rest (rest);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_how_many,
      &_tao_property_names,
      &_tao_rest
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      4,
      "get_all_property_names",
      22,
      this->the_TAO_PropertySet_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::Any * CosPropertyService::PropertySet::get_property_value (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< CORBA::Any>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::in_arg_val _tao_property_name (property_name);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySet_get_property_value_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/PropertyNotFound:1.0",
        CosPropertyService::PropertyNotFound::_alloc,
        CosPropertyService::_tc_PropertyNotFound
      },
      
      {
        "IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0",
        CosPropertyService::InvalidPropertyName::_alloc,
        CosPropertyService::_tc_InvalidPropertyName
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_property_value",
      18,
      this->the_TAO_PropertySet_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySet_get_property_value_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

CORBA::Boolean CosPropertyService::PropertySet::get_properties (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    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_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyNames>::in_arg_val _tao_property_names (property_names);
  TAO::Arg_Traits< ::CosPropertyService::Properties>::out_arg_val _tao_nproperties (nproperties);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_names,
      &_tao_nproperties
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "get_properties",
      14,
      this->the_TAO_PropertySet_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 CosPropertyService::PropertySet::get_all_properties (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    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_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::ULong>::in_arg_val _tao_how_many (how_many);
  TAO::Arg_Traits< ::CosPropertyService::Properties>::out_arg_val _tao_nproperties (nproperties);
  TAO::Arg_Traits< ::CosPropertyService::PropertiesIterator>::out_arg_val _tao_rest (rest);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_how_many,
      &_tao_nproperties,
      &_tao_rest
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      4,
      "get_all_properties",
      18,
      this->the_TAO_PropertySet_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 CosPropertyService::PropertySet::delete_property (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::in_arg_val _tao_property_name (property_name);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySet_delete_property_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/PropertyNotFound:1.0",
        CosPropertyService::PropertyNotFound::_alloc,
        CosPropertyService::_tc_PropertyNotFound
      },
      
      {
        "IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0",
        CosPropertyService::InvalidPropertyName::_alloc,
        CosPropertyService::_tc_InvalidPropertyName
      },
      
      {
        "IDL:omg.org/CosPropertyService/FixedProperty:1.0",
        CosPropertyService::FixedProperty::_alloc,
        CosPropertyService::_tc_FixedProperty
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "delete_property",
      15,
      this->the_TAO_PropertySet_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySet_delete_property_exceptiondata,
      3
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

void CosPropertyService::PropertySet::delete_properties (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyNames>::in_arg_val _tao_property_names (property_names);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_names
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySet_delete_properties_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/MultipleExceptions:1.0",
        CosPropertyService::MultipleExceptions::_alloc,
        CosPropertyService::_tc_MultipleExceptions
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "delete_properties",
      17,
      this->the_TAO_PropertySet_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySet_delete_properties_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

CORBA::Boolean CosPropertyService::PropertySet::delete_all_properties (
    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_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "delete_all_properties",
      21,
      this->the_TAO_PropertySet_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::Boolean CosPropertyService::PropertySet::is_property_defined (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySet_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySet_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::in_arg_val _tao_property_name (property_name);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySet_is_property_defined_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0",
        CosPropertyService::InvalidPropertyName::_alloc,
        CosPropertyService::_tc_InvalidPropertyName
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "is_property_defined",
      19,
      this->the_TAO_PropertySet_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySet_is_property_defined_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosPropertyService::PropertySet::PropertySet (void)
 : the_TAO_PropertySet_Proxy_Broker_ (0)
{
  this->CosPropertyService_PropertySet_setup_collocation ();
}

void
CosPropertyService::PropertySet::CosPropertyService_PropertySet_setup_collocation ()
{
  if (::CosPropertyService__TAO_PropertySet_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_PropertySet_Proxy_Broker_ =
        ::CosPropertyService__TAO_PropertySet_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosPropertyService::PropertySet::~PropertySet (void)
{}

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

CosPropertyService::PropertySet_ptr
CosPropertyService::PropertySet::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySet>::narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySet:1.0",
        CosPropertyService__TAO_PropertySet_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySet_ptr
CosPropertyService::PropertySet::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySet>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySet:1.0",
        CosPropertyService__TAO_PropertySet_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySet_ptr
CosPropertyService::PropertySet::_duplicate (PropertySet_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

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

CORBA::Boolean
CosPropertyService::PropertySet::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosPropertyService_PropertySet[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  47,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65743a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosPropertyService/PropertySet:1.0
    12,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x53657400),  // name = PropertySet
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertySet (
    CORBA::tk_objref,
    sizeof (_oc_CosPropertyService_PropertySet),
    (char *) &_oc_CosPropertyService_PropertySet,
    0,
    sizeof (CosPropertyService::PropertySet)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertySet =
    &_tc_TAO_tc_CosPropertyService_PropertySet;
}

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

// Traits specializations for CosPropertyService::PropertySetDef.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySetDef_ptr
TAO::Objref_Traits<CosPropertyService::PropertySetDef>::tao_duplicate (
    CosPropertyService::PropertySetDef_ptr p
  )
{
  return CosPropertyService::PropertySetDef::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosPropertyService::PropertySetDef>::tao_release (
    CosPropertyService::PropertySetDef_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertySetDef_ptr
TAO::Objref_Traits<CosPropertyService::PropertySetDef>::tao_nil (void)
{
  return CosPropertyService::PropertySetDef::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosPropertyService::PropertySetDef>::tao_marshal (
    CosPropertyService::PropertySetDef_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

void CosPropertyService::PropertySetDef::get_allowed_property_types (
    ::CosPropertyService::PropertyTypes_out property_types
    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_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyTypes>::out_arg_val _tao_property_types (property_types);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_types
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_allowed_property_types",
      26,
      this->the_TAO_PropertySetDef_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 CosPropertyService::PropertySetDef::get_allowed_properties (
    ::CosPropertyService::PropertyDefs_out property_defs
    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_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyDefs>::out_arg_val _tao_property_defs (property_defs);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_defs
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_allowed_properties",
      22,
      this->the_TAO_PropertySetDef_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 CosPropertyService::PropertySetDef::define_property_with_mode (
    const char * property_name,
    const ::CORBA::Any & property_value,
    ::CosPropertyService::PropertyModeType property_mode
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::UnsupportedMode,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::in_arg_val _tao_property_name (property_name);
  TAO::Arg_Traits< CORBA::Any>::in_arg_val _tao_property_value (property_value);
  TAO::Arg_Traits< ::CosPropertyService::PropertyModeType>::in_arg_val _tao_property_mode (property_mode);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name,
      &_tao_property_value,
      &_tao_property_mode
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetDef_define_property_with_mode_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0",
        CosPropertyService::InvalidPropertyName::_alloc,
        CosPropertyService::_tc_InvalidPropertyName
      },
      
      {
        "IDL:omg.org/CosPropertyService/ConflictingProperty:1.0",
        CosPropertyService::ConflictingProperty::_alloc,
        CosPropertyService::_tc_ConflictingProperty
      },
      
      {
        "IDL:omg.org/CosPropertyService/UnsupportedTypeCode:1.0",
        CosPropertyService::UnsupportedTypeCode::_alloc,
        CosPropertyService::_tc_UnsupportedTypeCode
      },
      
      {
        "IDL:omg.org/CosPropertyService/UnsupportedProperty:1.0",
        CosPropertyService::UnsupportedProperty::_alloc,
        CosPropertyService::_tc_UnsupportedProperty
      },
      
      {
        "IDL:omg.org/CosPropertyService/UnsupportedMode:1.0",
        CosPropertyService::UnsupportedMode::_alloc,
        CosPropertyService::_tc_UnsupportedMode
      },
      
      {
        "IDL:omg.org/CosPropertyService/ReadOnlyProperty:1.0",
        CosPropertyService::ReadOnlyProperty::_alloc,
        CosPropertyService::_tc_ReadOnlyProperty
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      4,
      "define_property_with_mode",
      25,
      this->the_TAO_PropertySetDef_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetDef_define_property_with_mode_exceptiondata,
      6
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

void CosPropertyService::PropertySetDef::define_properties_with_modes (
    const ::CosPropertyService::PropertyDefs & property_defs
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyDefs>::in_arg_val _tao_property_defs (property_defs);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_defs
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetDef_define_properties_with_modes_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/MultipleExceptions:1.0",
        CosPropertyService::MultipleExceptions::_alloc,
        CosPropertyService::_tc_MultipleExceptions
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "define_properties_with_modes",
      28,
      this->the_TAO_PropertySetDef_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetDef_define_properties_with_modes_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

::CosPropertyService::PropertyModeType CosPropertyService::PropertySetDef::get_property_mode (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosPropertyService::PropertyModeType>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::in_arg_val _tao_property_name (property_name);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetDef_get_property_mode_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/PropertyNotFound:1.0",
        CosPropertyService::PropertyNotFound::_alloc,
        CosPropertyService::_tc_PropertyNotFound
      },
      
      {
        "IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0",
        CosPropertyService::InvalidPropertyName::_alloc,
        CosPropertyService::_tc_InvalidPropertyName
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_property_mode",
      17,
      this->the_TAO_PropertySetDef_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetDef_get_property_mode_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

CORBA::Boolean CosPropertyService::PropertySetDef::get_property_modes (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::PropertyModes_out property_modes
    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_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyNames>::in_arg_val _tao_property_names (property_names);
  TAO::Arg_Traits< ::CosPropertyService::PropertyModes>::out_arg_val _tao_property_modes (property_modes);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_names,
      &_tao_property_modes
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "get_property_modes",
      18,
      this->the_TAO_PropertySetDef_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 CosPropertyService::PropertySetDef::set_property_mode (
    const char * property_name,
    ::CosPropertyService::PropertyModeType property_mode
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::UnsupportedMode
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::in_arg_val _tao_property_name (property_name);
  TAO::Arg_Traits< ::CosPropertyService::PropertyModeType>::in_arg_val _tao_property_mode (property_mode);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name,
      &_tao_property_mode
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetDef_set_property_mode_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/InvalidPropertyName:1.0",
        CosPropertyService::InvalidPropertyName::_alloc,
        CosPropertyService::_tc_InvalidPropertyName
      },
      
      {
        "IDL:omg.org/CosPropertyService/PropertyNotFound:1.0",
        CosPropertyService::PropertyNotFound::_alloc,
        CosPropertyService::_tc_PropertyNotFound
      },
      
      {
        "IDL:omg.org/CosPropertyService/UnsupportedMode:1.0",
        CosPropertyService::UnsupportedMode::_alloc,
        CosPropertyService::_tc_UnsupportedMode
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "set_property_mode",
      17,
      this->the_TAO_PropertySetDef_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetDef_set_property_mode_exceptiondata,
      3
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

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

void CosPropertyService::PropertySetDef::set_property_modes (
    const ::CosPropertyService::PropertyModes & property_modes
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_PropertySetDef_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertySetDef_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyModes>::in_arg_val _tao_property_modes (property_modes);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_modes
    };
  
  static TAO::Exception_Data
  _tao_CosPropertyService_PropertySetDef_set_property_modes_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosPropertyService/MultipleExceptions:1.0",
        CosPropertyService::MultipleExceptions::_alloc,
        CosPropertyService::_tc_MultipleExceptions
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "set_property_modes",
      18,
      this->the_TAO_PropertySetDef_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosPropertyService_PropertySetDef_set_property_modes_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosPropertyService::PropertySetDef::PropertySetDef (void)
 : the_TAO_PropertySetDef_Proxy_Broker_ (0)
{
  this->CosPropertyService_PropertySetDef_setup_collocation ();
}

void
CosPropertyService::PropertySetDef::CosPropertyService_PropertySetDef_setup_collocation ()
{
  if (::CosPropertyService__TAO_PropertySetDef_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_PropertySetDef_Proxy_Broker_ =
        ::CosPropertyService__TAO_PropertySetDef_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosPropertyService_PropertySet_setup_collocation ();
}

CosPropertyService::PropertySetDef::~PropertySetDef (void)
{}

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

CosPropertyService::PropertySetDef_ptr
CosPropertyService::PropertySetDef::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySetDef>::narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySetDef:1.0",
        CosPropertyService__TAO_PropertySetDef_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySetDef_ptr
CosPropertyService::PropertySetDef::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertySetDef>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertySetDef:1.0",
        CosPropertyService__TAO_PropertySetDef_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertySetDef_ptr
CosPropertyService::PropertySetDef::_duplicate (PropertySetDef_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

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

CORBA::Boolean
CosPropertyService::PropertySetDef::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosPropertyService_PropertySetDef[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  50,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65744465), 
  ACE_NTOHL (0x663a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/PropertySetDef:1.0
    15,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x53657444), 
  ACE_NTOHL (0x65660000),  // name = PropertySetDef
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertySetDef (
    CORBA::tk_objref,
    sizeof (_oc_CosPropertyService_PropertySetDef),
    (char *) &_oc_CosPropertyService_PropertySetDef,
    0,
    sizeof (CosPropertyService::PropertySetDef)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertySetDef =
    &_tc_TAO_tc_CosPropertyService_PropertySetDef;
}

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

// Traits specializations for CosPropertyService::PropertyNamesIterator.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertyNamesIterator_ptr
TAO::Objref_Traits<CosPropertyService::PropertyNamesIterator>::tao_duplicate (
    CosPropertyService::PropertyNamesIterator_ptr p
  )
{
  return CosPropertyService::PropertyNamesIterator::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosPropertyService::PropertyNamesIterator>::tao_release (
    CosPropertyService::PropertyNamesIterator_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertyNamesIterator_ptr
TAO::Objref_Traits<CosPropertyService::PropertyNamesIterator>::tao_nil (void)
{
  return CosPropertyService::PropertyNamesIterator::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosPropertyService::PropertyNamesIterator>::tao_marshal (
    CosPropertyService::PropertyNamesIterator_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

void CosPropertyService::PropertyNamesIterator::reset (
    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_PropertyNamesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertyNamesIterator_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,
      "reset",
      5,
      this->the_TAO_PropertyNamesIterator_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 CosPropertyService::PropertyNamesIterator::next_one (
    CORBA::String_out property_name
    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_PropertyNamesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertyNamesIterator_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::PropertyName>::out_arg_val _tao_property_name (property_name);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_property_name
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "next_one",
      8,
      this->the_TAO_PropertyNamesIterator_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::Boolean CosPropertyService::PropertyNamesIterator::next_n (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names
    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_PropertyNamesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertyNamesIterator_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::ULong>::in_arg_val _tao_how_many (how_many);
  TAO::Arg_Traits< ::CosPropertyService::PropertyNames>::out_arg_val _tao_property_names (property_names);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_how_many,
      &_tao_property_names
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "next_n",
      6,
      this->the_TAO_PropertyNamesIterator_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 CosPropertyService::PropertyNamesIterator::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_PropertyNamesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertyNamesIterator_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_PropertyNamesIterator_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

CosPropertyService::PropertyNamesIterator::PropertyNamesIterator (void)
 : the_TAO_PropertyNamesIterator_Proxy_Broker_ (0)
{
  this->CosPropertyService_PropertyNamesIterator_setup_collocation ();
}

void
CosPropertyService::PropertyNamesIterator::CosPropertyService_PropertyNamesIterator_setup_collocation ()
{
  if (::CosPropertyService__TAO_PropertyNamesIterator_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_PropertyNamesIterator_Proxy_Broker_ =
        ::CosPropertyService__TAO_PropertyNamesIterator_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosPropertyService::PropertyNamesIterator::~PropertyNamesIterator (void)
{}

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

CosPropertyService::PropertyNamesIterator_ptr
CosPropertyService::PropertyNamesIterator::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertyNamesIterator>::narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertyNamesIterator:1.0",
        CosPropertyService__TAO_PropertyNamesIterator_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertyNamesIterator_ptr
CosPropertyService::PropertyNamesIterator::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertyNamesIterator>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertyNamesIterator:1.0",
        CosPropertyService__TAO_PropertyNamesIterator_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertyNamesIterator_ptr
CosPropertyService::PropertyNamesIterator::_duplicate (PropertyNamesIterator_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

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

CORBA::Boolean
CosPropertyService::PropertyNamesIterator::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosPropertyService_PropertyNamesIterator[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  57,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x7274794e), 
  ACE_NTOHL (0x616d6573), 
  ACE_NTOHL (0x49746572), 
  ACE_NTOHL (0x61746f72), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosPropertyService/PropertyNamesIterator:1.0
    22,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727479), 
  ACE_NTOHL (0x4e616d65), 
  ACE_NTOHL (0x73497465), 
  ACE_NTOHL (0x7261746f), 
  ACE_NTOHL (0x72000000),  // name = PropertyNamesIterator
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertyNamesIterator (
    CORBA::tk_objref,
    sizeof (_oc_CosPropertyService_PropertyNamesIterator),
    (char *) &_oc_CosPropertyService_PropertyNamesIterator,
    0,
    sizeof (CosPropertyService::PropertyNamesIterator)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertyNamesIterator =
    &_tc_TAO_tc_CosPropertyService_PropertyNamesIterator;
}

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

// Traits specializations for CosPropertyService::PropertiesIterator.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertiesIterator_ptr
TAO::Objref_Traits<CosPropertyService::PropertiesIterator>::tao_duplicate (
    CosPropertyService::PropertiesIterator_ptr p
  )
{
  return CosPropertyService::PropertiesIterator::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosPropertyService::PropertiesIterator>::tao_release (
    CosPropertyService::PropertiesIterator_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosPropertyService::PropertiesIterator_ptr
TAO::Objref_Traits<CosPropertyService::PropertiesIterator>::tao_nil (void)
{
  return CosPropertyService::PropertiesIterator::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosPropertyService::PropertiesIterator>::tao_marshal (
    CosPropertyService::PropertiesIterator_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

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

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

void CosPropertyService::PropertiesIterator::reset (
    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_PropertiesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertiesIterator_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,
      "reset",
      5,
      this->the_TAO_PropertiesIterator_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 CosPropertyService::PropertiesIterator::next_one (
    ::CosPropertyService::Property_out aproperty
    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_PropertiesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertiesIterator_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosPropertyService::Property>::out_arg_val _tao_aproperty (aproperty);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_aproperty
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "next_one",
      8,
      this->the_TAO_PropertiesIterator_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::Boolean CosPropertyService::PropertiesIterator::next_n (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties
    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_PropertiesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertiesIterator_setup_collocation ();
    }
  
  TAO::Arg_Traits< ACE_InputCDR::to_boolean>::ret_val _tao_retval;
  TAO::Arg_Traits< CORBA::ULong>::in_arg_val _tao_how_many (how_many);
  TAO::Arg_Traits< ::CosPropertyService::Properties>::out_arg_val _tao_nproperties (nproperties);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_how_many,
      &_tao_nproperties
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "next_n",
      6,
      this->the_TAO_PropertiesIterator_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 CosPropertyService::PropertiesIterator::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_PropertiesIterator_Proxy_Broker_ == 0)
    {
      CosPropertyService_PropertiesIterator_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_PropertiesIterator_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

CosPropertyService::PropertiesIterator::PropertiesIterator (void)
 : the_TAO_PropertiesIterator_Proxy_Broker_ (0)
{
  this->CosPropertyService_PropertiesIterator_setup_collocation ();
}

void
CosPropertyService::PropertiesIterator::CosPropertyService_PropertiesIterator_setup_collocation ()
{
  if (::CosPropertyService__TAO_PropertiesIterator_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_PropertiesIterator_Proxy_Broker_ =
        ::CosPropertyService__TAO_PropertiesIterator_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosPropertyService::PropertiesIterator::~PropertiesIterator (void)
{}

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

CosPropertyService::PropertiesIterator_ptr
CosPropertyService::PropertiesIterator::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertiesIterator>::narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertiesIterator:1.0",
        CosPropertyService__TAO_PropertiesIterator_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertiesIterator_ptr
CosPropertyService::PropertiesIterator::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<PropertiesIterator>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosPropertyService/PropertiesIterator:1.0",
        CosPropertyService__TAO_PropertiesIterator_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosPropertyService::PropertiesIterator_ptr
CosPropertyService::PropertiesIterator::_duplicate (PropertiesIterator_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

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

CORBA::Boolean
CosPropertyService::PropertiesIterator::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

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

static const CORBA::Long _oc_CosPropertyService_PropertiesIterator[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f7350), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72747953), 
  ACE_NTOHL (0x65727669), 
  ACE_NTOHL (0x63652f50), 
  ACE_NTOHL (0x726f7065), 
  ACE_NTOHL (0x72746965), 
  ACE_NTOHL (0x73497465), 
  ACE_NTOHL (0x7261746f), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosPropertyService/PropertiesIterator:1.0
    19,
  ACE_NTOHL (0x50726f70), 
  ACE_NTOHL (0x65727469), 
  ACE_NTOHL (0x65734974), 
  ACE_NTOHL (0x65726174), 
  ACE_NTOHL (0x6f720000),  // name = PropertiesIterator
  };

static CORBA::TypeCode _tc_TAO_tc_CosPropertyService_PropertiesIterator (
    CORBA::tk_objref,
    sizeof (_oc_CosPropertyService_PropertiesIterator),
    (char *) &_oc_CosPropertyService_PropertiesIterator,
    0,
    sizeof (CosPropertyService::PropertiesIterator)
  );

namespace CosPropertyService
{
  ::CORBA::TypeCode_ptr _tc_PropertiesIterator =
    &_tc_TAO_tc_CosPropertyService_PropertiesIterator;
}

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

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

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

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

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

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::PropertyModeType _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<CosPropertyService::PropertyModeType>::insert (
      _tao_any,
      CosPropertyService::_tc_PropertyModeType,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::PropertyModeType &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<CosPropertyService::PropertyModeType>::extract (
        _tao_any,
        CosPropertyService::_tc_PropertyModeType,
        _tao_elem 
      );
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::PropertyTypes *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::PropertyTypes>::extract (
        _tao_any,
        CosPropertyService::PropertyTypes::_tao_any_destructor,
        CosPropertyService::_tc_PropertyTypes,
        _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<CosPropertyService::ConstraintNotSupported>::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 CosPropertyService::ConstraintNotSupported &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::ConstraintNotSupported>::insert_copy (
      _tao_any,
      CosPropertyService::ConstraintNotSupported::_tao_any_destructor,
      CosPropertyService::_tc_ConstraintNotSupported,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::ConstraintNotSupported *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::ConstraintNotSupported>::extract (
        _tao_any,
        CosPropertyService::ConstraintNotSupported::_tao_any_destructor,
        CosPropertyService::_tc_ConstraintNotSupported,
        _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<CosPropertyService::InvalidPropertyName>::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 CosPropertyService::InvalidPropertyName &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::InvalidPropertyName>::insert_copy (
      _tao_any,
      CosPropertyService::InvalidPropertyName::_tao_any_destructor,
      CosPropertyService::_tc_InvalidPropertyName,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::InvalidPropertyName *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::InvalidPropertyName>::extract (
        _tao_any,
        CosPropertyService::InvalidPropertyName::_tao_any_destructor,
        CosPropertyService::_tc_InvalidPropertyName,
        _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<CosPropertyService::ConflictingProperty>::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 CosPropertyService::ConflictingProperty &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::ConflictingProperty>::insert_copy (
      _tao_any,
      CosPropertyService::ConflictingProperty::_tao_any_destructor,
      CosPropertyService::_tc_ConflictingProperty,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::ConflictingProperty *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::ConflictingProperty>::extract (
        _tao_any,
        CosPropertyService::ConflictingProperty::_tao_any_destructor,
        CosPropertyService::_tc_ConflictingProperty,
        _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<CosPropertyService::PropertyNotFound>::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 CosPropertyService::PropertyNotFound &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::PropertyNotFound>::insert_copy (
      _tao_any,
      CosPropertyService::PropertyNotFound::_tao_any_destructor,
      CosPropertyService::_tc_PropertyNotFound,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::PropertyNotFound *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::PropertyNotFound>::extract (
        _tao_any,
        CosPropertyService::PropertyNotFound::_tao_any_destructor,
        CosPropertyService::_tc_PropertyNotFound,
        _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<CosPropertyService::UnsupportedTypeCode>::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 CosPropertyService::UnsupportedTypeCode &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::UnsupportedTypeCode>::insert_copy (
      _tao_any,
      CosPropertyService::UnsupportedTypeCode::_tao_any_destructor,
      CosPropertyService::_tc_UnsupportedTypeCode,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::UnsupportedTypeCode *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::UnsupportedTypeCode>::extract (
        _tao_any,
        CosPropertyService::UnsupportedTypeCode::_tao_any_destructor,
        CosPropertyService::_tc_UnsupportedTypeCode,
        _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<CosPropertyService::UnsupportedProperty>::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 CosPropertyService::UnsupportedProperty &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::UnsupportedProperty>::insert_copy (
      _tao_any,
      CosPropertyService::UnsupportedProperty::_tao_any_destructor,
      CosPropertyService::_tc_UnsupportedProperty,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::UnsupportedProperty *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::UnsupportedProperty>::extract (
        _tao_any,
        CosPropertyService::UnsupportedProperty::_tao_any_destructor,
        CosPropertyService::_tc_UnsupportedProperty,
        _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<CosPropertyService::UnsupportedMode>::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 CosPropertyService::UnsupportedMode &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::UnsupportedMode>::insert_copy (
      _tao_any,
      CosPropertyService::UnsupportedMode::_tao_any_destructor,
      CosPropertyService::_tc_UnsupportedMode,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::UnsupportedMode *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::UnsupportedMode>::extract (
        _tao_any,
        CosPropertyService::UnsupportedMode::_tao_any_destructor,
        CosPropertyService::_tc_UnsupportedMode,
        _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<CosPropertyService::FixedProperty>::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 CosPropertyService::FixedProperty &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::FixedProperty>::insert_copy (
      _tao_any,
      CosPropertyService::FixedProperty::_tao_any_destructor,
      CosPropertyService::_tc_FixedProperty,
      _tao_elem
    );
}

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::FixedProperty *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::FixedProperty>::extract (
        _tao_any,
        CosPropertyService::FixedProperty::_tao_any_destructor,
        CosPropertyService::_tc_FixedProperty,
        _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<CosPropertyService::ReadOnlyProperty>::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 CosPropertyService::ReadOnlyProperty &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::ReadOnlyProperty>::insert_copy (
      _tao_any,
      CosPropertyService::ReadOnlyProperty::_tao_any_destructor,
      CosPropertyService::_tc_ReadOnlyProperty,
      _tao_elem
    );
}

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

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

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

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::ExceptionReason _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<CosPropertyService::ExceptionReason>::insert (
      _tao_any,
      CosPropertyService::_tc_ExceptionReason,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::ExceptionReason &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<CosPropertyService::ExceptionReason>::extract (
        _tao_any,
        CosPropertyService::_tc_ExceptionReason,
        _tao_elem 
      );
}

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

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

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

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

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

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

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

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

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

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosPropertyService::PropertyExceptions *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosPropertyService::PropertyExceptions>::extract (
        _tao_any,
        CosPropertyService::PropertyExceptions::_tao_any_destructor,
        CosPropertyService::_tc_PropertyExceptions,
        _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<CosPropertyService::MultipleExceptions>::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 CosPropertyService::MultipleExceptions &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosPropertyService::MultipleExceptions>::insert_copy (
      _tao_any,
      CosPropertyService::MultipleExceptions::_tao_any_destructor,
      CosPropertyService::_tc_MultipleExceptions,
      _tao_elem
    );
}

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

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

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

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::PropertySetFactory_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosPropertyService::PropertySetFactory>::insert (
      _tao_any,
      CosPropertyService::PropertySetFactory::_tao_any_destructor,
      CosPropertyService::_tc_PropertySetFactory,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::PropertySetFactory_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosPropertyService::PropertySetFactory>::extract (
        _tao_any,
        CosPropertyService::PropertySetFactory::_tao_any_destructor,
        CosPropertyService::_tc_PropertySetFactory,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::PropertySetDefFactory_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosPropertyService::PropertySetDefFactory>::insert (
      _tao_any,
      CosPropertyService::PropertySetDefFactory::_tao_any_destructor,
      CosPropertyService::_tc_PropertySetDefFactory,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::PropertySetDefFactory_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosPropertyService::PropertySetDefFactory>::extract (
        _tao_any,
        CosPropertyService::PropertySetDefFactory::_tao_any_destructor,
        CosPropertyService::_tc_PropertySetDefFactory,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::PropertySet_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosPropertyService::PropertySet>::insert (
      _tao_any,
      CosPropertyService::PropertySet::_tao_any_destructor,
      CosPropertyService::_tc_PropertySet,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::PropertySet_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosPropertyService::PropertySet>::extract (
        _tao_any,
        CosPropertyService::PropertySet::_tao_any_destructor,
        CosPropertyService::_tc_PropertySet,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::PropertySetDef_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosPropertyService::PropertySetDef>::insert (
      _tao_any,
      CosPropertyService::PropertySetDef::_tao_any_destructor,
      CosPropertyService::_tc_PropertySetDef,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::PropertySetDef_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosPropertyService::PropertySetDef>::extract (
        _tao_any,
        CosPropertyService::PropertySetDef::_tao_any_destructor,
        CosPropertyService::_tc_PropertySetDef,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::PropertyNamesIterator_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosPropertyService::PropertyNamesIterator>::insert (
      _tao_any,
      CosPropertyService::PropertyNamesIterator::_tao_any_destructor,
      CosPropertyService::_tc_PropertyNamesIterator,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::PropertyNamesIterator_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosPropertyService::PropertyNamesIterator>::extract (
        _tao_any,
        CosPropertyService::PropertyNamesIterator::_tao_any_destructor,
        CosPropertyService::_tc_PropertyNamesIterator,
        _tao_elem
      );
}

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

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

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosPropertyService::PropertiesIterator_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosPropertyService::PropertiesIterator>::insert (
      _tao_any,
      CosPropertyService::PropertiesIterator::_tao_any_destructor,
      CosPropertyService::_tc_PropertiesIterator,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosPropertyService::PropertiesIterator_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosPropertyService::PropertiesIterator>::extract (
        _tao_any,
        CosPropertyService::PropertiesIterator::_tao_any_destructor,
        CosPropertyService::_tc_PropertiesIterator,
        _tao_elem
      );
}

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

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::Property &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.property_name.in ()) &&
    (strm << _tao_aggregate.property_value);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosPropertyService::Property &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.property_name.out ()) &&
    (strm >> _tao_aggregate.property_value);
}

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CosPropertyService::PropertyModeType &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, CosPropertyService::PropertyModeType &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<CosPropertyService::PropertyModeType> (_tao_temp);
    }
  
  return _tao_result;
}

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

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyDef &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.property_name.in ()) &&
    (strm << _tao_aggregate.property_value) &&
    (strm << _tao_aggregate.property_mode);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosPropertyService::PropertyDef &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.property_name.out ()) &&
    (strm >> _tao_aggregate.property_value) &&
    (strm >> _tao_aggregate.property_mode);
}

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

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyMode &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.property_name.in ()) &&
    (strm << _tao_aggregate.property_mode);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosPropertyService::PropertyMode &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.property_name.out ()) &&
    (strm >> _tao_aggregate.property_mode);
}

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

#if !defined _TAO_CDR_OP_CosPropertyService_PropertyNames_CPP_
#define _TAO_CDR_OP_CosPropertyService_PropertyNames_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyNames &_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].in ());
        }
      
      return _tao_marshal_flag;
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosPropertyService::PropertyNames &_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].out ());
        
      }
    
    return _tao_marshal_flag;
  
  }

return 0;
}

#endif /* _TAO_CDR_OP_CosPropertyService_PropertyNames_CPP_ */

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

#if !defined _TAO_CDR_OP_CosPropertyService_Properties_CPP_
#define _TAO_CDR_OP_CosPropertyService_Properties_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::Properties &_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,
    CosPropertyService::Properties &_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_CosPropertyService_Properties_CPP_ */

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

#if !defined _TAO_CDR_OP_CosPropertyService_PropertyDefs_CPP_
#define _TAO_CDR_OP_CosPropertyService_PropertyDefs_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyDefs &_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,
    CosPropertyService::PropertyDefs &_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_CosPropertyService_PropertyDefs_CPP_ */

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

#if !defined _TAO_CDR_OP_CosPropertyService_PropertyModes_CPP_
#define _TAO_CDR_OP_CosPropertyService_PropertyModes_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyModes &_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,
    CosPropertyService::PropertyModes &_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_CosPropertyService_PropertyModes_CPP_ */

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

#if !defined _TAO_CDR_OP_CosPropertyService_PropertyTypes_CPP_
#define _TAO_CDR_OP_CosPropertyService_PropertyTypes_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyTypes &_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].in ());
        }
      
      return _tao_marshal_flag;
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosPropertyService::PropertyTypes &_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].out ());
        }
      
      return _tao_marshal_flag;
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_CosPropertyService_PropertyTypes_CPP_ */

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::ConstraintNotSupported&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::InvalidPropertyName&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::ConflictingProperty&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::PropertyNotFound&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::UnsupportedTypeCode&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::UnsupportedProperty&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::UnsupportedMode&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::FixedProperty&
  )
{
  return 1;
}

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosPropertyService::ReadOnlyProperty&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CosPropertyService::ExceptionReason &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, CosPropertyService::ExceptionReason &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<CosPropertyService::ExceptionReason> (_tao_temp);
    }
  
  return _tao_result;
}

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

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyException &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.reason) &&
    (strm << _tao_aggregate.failing_property_name.in ());
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosPropertyService::PropertyException &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.reason) &&
    (strm >> _tao_aggregate.failing_property_name.out ());
}

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

#if !defined _TAO_CDR_OP_CosPropertyService_PropertyExceptions_CPP_
#define _TAO_CDR_OP_CosPropertyService_PropertyExceptions_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosPropertyService::PropertyExceptions &_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,
    CosPropertyService::PropertyExceptions &_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_CosPropertyService_PropertyExceptions_CPP_ */

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

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

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosPropertyService::MultipleExceptions &_tao_aggregate
  )
{
  // Demarshal the members.
  if (
    (strm >> _tao_aggregate.exceptions)
  )
    {
      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 CosPropertyService::PropertySetFactory_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

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

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

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

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

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

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

