pragma Style_Checks ("NM32766");
pragma Warnings (Off, "use of an anonymous access type allocator");
pragma Warnings (Off, "unnecessary with of ancestor");

---------------------------------------------------
--  This file has been generated automatically from
--  /pbulk/work/net/ada-polyorb/work/PolyORB-25.0/idls/cos/notification/CosNotifyFilter.idl
--  by IAC (IDL to Ada Compiler) 25.0w (rev. unknown).
---------------------------------------------------
--  NOTE: If you modify this file by hand, your
--  changes will be lost when you re-run the
--  IDL to Ada compiler.
---------------------------------------------------

with CosNotifyFilter.MappingFilter.Impl;
with CORBA;
pragma Elaborate_All (CORBA);
with PolyORB.Any;
with CORBA.ServerRequest;
with CORBA.NVList;
with CosNotifyFilter.Helper;
with CosNotification;
with CosNotification.Helper;
with PolyORB.CORBA_P.IR_Hooks;
with CORBA.Object;
with CORBA.Object.Helper;
with PolyORB.CORBA_P.Domain_Management;
with CosNotifyFilter_MappingFilter_Hash;
with PolyORB.Std;
with PortableServer;
with CORBA.ORB;
with PolyORB.CORBA_P.Exceptions;
with PolyORB.Qos.Exception_Informations;
with PolyORB.Utils.Strings;
with PolyORB.Utils.Strings.Lists;
with PolyORB.Initialization;

package body CosNotifyFilter.MappingFilter.Skel is

   add_mapping_constraints_Arg_Name_pair_list_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("pair_list");

   modify_mapping_constraints_Arg_Name_del_list_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("del_list");

   modify_mapping_constraints_Arg_Name_modify_list_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("modify_list");

   get_mapping_constraints_Arg_Name_id_list_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("id_list");

   match_Arg_Name_filterable_data_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("filterable_data");

   match_Arg_Name_result_to_set_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("result_to_set");

   match_structured_Arg_Name_filterable_data_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("filterable_data");

   match_structured_Arg_Name_result_to_set_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("result_to_set");

   match_typed_Arg_Name_filterable_data_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("filterable_data");

   match_typed_Arg_Name_result_to_set_Ü : constant CORBA.Identifier :=
     CORBA.To_CORBA_String
        ("result_to_set");

   N_Operations : constant PolyORB.Std.Natural :=
     17;

   type String_Ptr is
     access PolyORB.Std.String;

   Invoke_Db : array (0 .. (N_Operations
      - 1)) of String_Ptr :=
     (others => null);

   procedure Register_Procedure
     (Operation_Name : PolyORB.Std.String);

   ------------------------
   -- Register_Procedure --
   ------------------------

   procedure Register_Procedure
     (Operation_Name : PolyORB.Std.String)
   is
      Index_Ü : PolyORB.Std.Natural;
      Invoke_Name_Access : String_Ptr;
   begin
      Index_Ü :=
        CosNotifyFilter_MappingFilter_Hash.Hash
           (Operation_Name);
      if (Invoke_Db
        (Index_Ü)
         /= null)
      then
         raise Program_Error;
      end if;
      Invoke_Name_Access :=
        new PolyORB.Std.String'
           (Operation_Name);
      Invoke_Db
        (Index_Ü) :=
        Invoke_Name_Access;
   end Register_Procedure;

   procedure Invoke
     (Self : PortableServer.Servant;
      Request : CORBA.ServerRequest.Object_Ptr);

   ------------
   -- Invoke --
   ------------

   procedure Invoke
     (Self : PortableServer.Servant;
      Request : CORBA.ServerRequest.Object_Ptr)
   is
      Operation_Ü : constant PolyORB.Std.String :=
        CORBA.To_Standard_String
           (CORBA.ServerRequest.Operation
              (Request.all));
      Argument_List_Ü : CORBA.NVList.Ref;
      Index_Ü : PolyORB.Std.Natural;
      Invoke_Name_Access : String_Ptr;

      procedure Invoke_Uget_constraint_grammar;

      ------------------------------------
      -- Invoke_Uget_constraint_grammar --
      ------------------------------------

      procedure Invoke_Uget_constraint_grammar is
         Result_Ü : CORBA.String;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Result_Ü'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_String,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         --  Call Implementation
         Result_Ü :=
           CosNotifyFilter.MappingFilter.Impl.get_constraint_grammar
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access);
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_Uget_constraint_grammar;

      procedure Invoke_Uget_value_type;

      ----------------------------
      -- Invoke_Uget_value_type --
      ----------------------------

      procedure Invoke_Uget_value_type is
         Result_Ü : CORBA.TypeCode.Object;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Result_Ü'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_TypeCode,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         --  Call Implementation
         Result_Ü :=
           CosNotifyFilter.MappingFilter.Impl.get_value_type
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access);
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_Uget_value_type;

      procedure Invoke_Uget_default_value;

      -------------------------------
      -- Invoke_Uget_default_value --
      -------------------------------

      procedure Invoke_Uget_default_value is
         Result_Ü : CORBA.Any;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Result_Ü'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Any,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         --  Call Implementation
         Result_Ü :=
           CosNotifyFilter.MappingFilter.Impl.get_default_value
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access);
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_Uget_default_value;

      procedure Invoke_add_mapping_constraints;

      ------------------------------------
      -- Invoke_add_mapping_constraints --
      ------------------------------------

      procedure Invoke_add_mapping_constraints is
         Argument_pair_list_Ü : CosNotifyFilter.MappingConstraintPairSeq;
         pragma Warnings (Off, Argument_pair_list_Ü);
         pragma Suppress (Validity_Check, Argument_pair_list_Ü);
         Arg_CC_pair_list_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotifyFilter.Helper.Internals.Wrap
              (CosNotifyFilter.IDL_SEQUENCE_CosNotifyFilter_MappingConstraintPair.Sequence
                 (Argument_pair_list_Ü)'Unrestricted_Access);
         Arg_Any_pair_list_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotifyFilter.Helper.TC_MappingConstraintPairSeq,
               Arg_CC_pair_list_Ü'Unchecked_Access);
         Result_Ü : CosNotifyFilter.MappingConstraintInfoSeq;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotifyFilter.Helper.Internals.Wrap
              (CosNotifyFilter.IDL_SEQUENCE_CosNotifyFilter_MappingConstraintInfo.Sequence
                 (Result_Ü)'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotifyFilter.Helper.TC_MappingConstraintInfoSeq,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            add_mapping_constraints_Arg_Name_pair_list_Ü,
            Arg_Any_pair_list_Ü,
            CORBA.ARG_IN);
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         begin
            --  Call Implementation
            Result_Ü :=
              CosNotifyFilter.MappingFilter.Impl.add_mapping_constraints
                 (CosNotifyFilter.MappingFilter.Impl.Object'Class
                    (Self.all)'Unchecked_Access,
                  Argument_pair_list_Ü);
         exception
            when E : CosNotifyFilter.InvalidConstraint =>
               declare
                  Members : CosNotifyFilter.InvalidConstraint_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
            when E : CosNotifyFilter.InvalidValue =>
               declare
                  Members : CosNotifyFilter.InvalidValue_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
         end;
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_add_mapping_constraints;

      procedure Invoke_modify_mapping_constraints;

      ---------------------------------------
      -- Invoke_modify_mapping_constraints --
      ---------------------------------------

      procedure Invoke_modify_mapping_constraints is
         Argument_del_list_Ü : CosNotifyFilter.ConstraintIDSeq;
         pragma Warnings (Off, Argument_del_list_Ü);
         pragma Suppress (Validity_Check, Argument_del_list_Ü);
         Arg_CC_del_list_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotifyFilter.Helper.Internals.Wrap
              (CosNotifyFilter.IDL_SEQUENCE_CosNotifyFilter_ConstraintID.Sequence
                 (Argument_del_list_Ü)'Unrestricted_Access);
         Arg_Any_del_list_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotifyFilter.Helper.TC_ConstraintIDSeq,
               Arg_CC_del_list_Ü'Unchecked_Access);
         Argument_modify_list_Ü : CosNotifyFilter.MappingConstraintInfoSeq;
         pragma Warnings (Off, Argument_modify_list_Ü);
         pragma Suppress (Validity_Check, Argument_modify_list_Ü);
         Arg_CC_modify_list_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotifyFilter.Helper.Internals.Wrap
              (CosNotifyFilter.IDL_SEQUENCE_CosNotifyFilter_MappingConstraintInfo.Sequence
                 (Argument_modify_list_Ü)'Unrestricted_Access);
         Arg_Any_modify_list_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotifyFilter.Helper.TC_MappingConstraintInfoSeq,
               Arg_CC_modify_list_Ü'Unchecked_Access);
      begin
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            modify_mapping_constraints_Arg_Name_del_list_Ü,
            Arg_Any_del_list_Ü,
            CORBA.ARG_IN);
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            modify_mapping_constraints_Arg_Name_modify_list_Ü,
            Arg_Any_modify_list_Ü,
            CORBA.ARG_IN);
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         begin
            --  Call Implementation
            CosNotifyFilter.MappingFilter.Impl.modify_mapping_constraints
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access,
               Argument_del_list_Ü,
               Argument_modify_list_Ü);
         exception
            when E : CosNotifyFilter.InvalidConstraint =>
               declare
                  Members : CosNotifyFilter.InvalidConstraint_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
            when E : CosNotifyFilter.InvalidValue =>
               declare
                  Members : CosNotifyFilter.InvalidValue_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
            when E : CosNotifyFilter.ConstraintNotFound =>
               declare
                  Members : CosNotifyFilter.ConstraintNotFound_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
         end;
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_modify_mapping_constraints;

      procedure Invoke_get_mapping_constraints;

      ------------------------------------
      -- Invoke_get_mapping_constraints --
      ------------------------------------

      procedure Invoke_get_mapping_constraints is
         Argument_id_list_Ü : CosNotifyFilter.ConstraintIDSeq;
         pragma Warnings (Off, Argument_id_list_Ü);
         pragma Suppress (Validity_Check, Argument_id_list_Ü);
         Arg_CC_id_list_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotifyFilter.Helper.Internals.Wrap
              (CosNotifyFilter.IDL_SEQUENCE_CosNotifyFilter_ConstraintID.Sequence
                 (Argument_id_list_Ü)'Unrestricted_Access);
         Arg_Any_id_list_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotifyFilter.Helper.TC_ConstraintIDSeq,
               Arg_CC_id_list_Ü'Unchecked_Access);
         Result_Ü : CosNotifyFilter.MappingConstraintInfoSeq;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotifyFilter.Helper.Internals.Wrap
              (CosNotifyFilter.IDL_SEQUENCE_CosNotifyFilter_MappingConstraintInfo.Sequence
                 (Result_Ü)'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotifyFilter.Helper.TC_MappingConstraintInfoSeq,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            get_mapping_constraints_Arg_Name_id_list_Ü,
            Arg_Any_id_list_Ü,
            CORBA.ARG_IN);
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         begin
            --  Call Implementation
            Result_Ü :=
              CosNotifyFilter.MappingFilter.Impl.get_mapping_constraints
                 (CosNotifyFilter.MappingFilter.Impl.Object'Class
                    (Self.all)'Unchecked_Access,
                  Argument_id_list_Ü);
         exception
            when E : CosNotifyFilter.ConstraintNotFound =>
               declare
                  Members : CosNotifyFilter.ConstraintNotFound_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
         end;
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_get_mapping_constraints;

      procedure Invoke_get_all_mapping_constraints;

      ----------------------------------------
      -- Invoke_get_all_mapping_constraints --
      ----------------------------------------

      procedure Invoke_get_all_mapping_constraints is
         Result_Ü : CosNotifyFilter.MappingConstraintInfoSeq;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotifyFilter.Helper.Internals.Wrap
              (CosNotifyFilter.IDL_SEQUENCE_CosNotifyFilter_MappingConstraintInfo.Sequence
                 (Result_Ü)'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotifyFilter.Helper.TC_MappingConstraintInfoSeq,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         --  Call Implementation
         Result_Ü :=
           CosNotifyFilter.MappingFilter.Impl.get_all_mapping_constraints
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access);
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_get_all_mapping_constraints;

      procedure Invoke_remove_all_mapping_constraints;

      -------------------------------------------
      -- Invoke_remove_all_mapping_constraints --
      -------------------------------------------

      procedure Invoke_remove_all_mapping_constraints is
      begin
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         --  Call Implementation
         CosNotifyFilter.MappingFilter.Impl.remove_all_mapping_constraints
           (CosNotifyFilter.MappingFilter.Impl.Object'Class
              (Self.all)'Unchecked_Access);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_remove_all_mapping_constraints;

      procedure Invoke_destroy;

      --------------------
      -- Invoke_destroy --
      --------------------

      procedure Invoke_destroy is
      begin
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         --  Call Implementation
         CosNotifyFilter.MappingFilter.Impl.destroy
           (CosNotifyFilter.MappingFilter.Impl.Object'Class
              (Self.all)'Unchecked_Access);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_destroy;

      procedure Invoke_match;

      ------------------
      -- Invoke_match --
      ------------------

      procedure Invoke_match is
         Argument_filterable_data_Ü : CORBA.Any;
         pragma Warnings (Off, Argument_filterable_data_Ü);
         pragma Suppress (Validity_Check, Argument_filterable_data_Ü);
         Arg_CC_filterable_data_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Argument_filterable_data_Ü'Unrestricted_Access);
         Arg_Any_filterable_data_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Any,
               Arg_CC_filterable_data_Ü'Unchecked_Access);
         Argument_result_to_set_Ü : CORBA.Any;
         pragma Warnings (Off, Argument_result_to_set_Ü);
         pragma Suppress (Validity_Check, Argument_result_to_set_Ü);
         Arg_CC_result_to_set_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Argument_result_to_set_Ü'Unrestricted_Access);
         Arg_Any_result_to_set_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Any,
               Arg_CC_result_to_set_Ü'Unchecked_Access);
         Result_Ü : CORBA.Boolean;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Result_Ü'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Boolean,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            match_Arg_Name_filterable_data_Ü,
            Arg_Any_filterable_data_Ü,
            CORBA.ARG_IN);
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            match_Arg_Name_result_to_set_Ü,
            Arg_Any_result_to_set_Ü,
            CORBA.ARG_OUT);
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         begin
            --  Call Implementation
            CosNotifyFilter.MappingFilter.Impl.match
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access,
               Argument_filterable_data_Ü,
               Argument_result_to_set_Ü,
               Result_Ü);
         exception
            when E : CosNotifyFilter.UnsupportedFilterableData =>
               declare
                  Members : CosNotifyFilter.UnsupportedFilterableData_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
         end;
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_match;

      procedure Invoke_match_structured;

      -----------------------------
      -- Invoke_match_structured --
      -----------------------------

      procedure Invoke_match_structured is
         Argument_filterable_data_Ü : CosNotification.StructuredEvent;
         pragma Warnings (Off, Argument_filterable_data_Ü);
         pragma Suppress (Validity_Check, Argument_filterable_data_Ü);
         Arg_CC_filterable_data_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotification.Helper.Internals.Wrap
              (Argument_filterable_data_Ü'Unrestricted_Access);
         Arg_Any_filterable_data_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotification.Helper.TC_StructuredEvent,
               Arg_CC_filterable_data_Ü'Unchecked_Access);
         Argument_result_to_set_Ü : CORBA.Any;
         pragma Warnings (Off, Argument_result_to_set_Ü);
         pragma Suppress (Validity_Check, Argument_result_to_set_Ü);
         Arg_CC_result_to_set_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Argument_result_to_set_Ü'Unrestricted_Access);
         Arg_Any_result_to_set_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Any,
               Arg_CC_result_to_set_Ü'Unchecked_Access);
         Result_Ü : CORBA.Boolean;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Result_Ü'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Boolean,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            match_structured_Arg_Name_filterable_data_Ü,
            Arg_Any_filterable_data_Ü,
            CORBA.ARG_IN);
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            match_structured_Arg_Name_result_to_set_Ü,
            Arg_Any_result_to_set_Ü,
            CORBA.ARG_OUT);
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         begin
            --  Call Implementation
            CosNotifyFilter.MappingFilter.Impl.match_structured
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access,
               Argument_filterable_data_Ü,
               Argument_result_to_set_Ü,
               Result_Ü);
         exception
            when E : CosNotifyFilter.UnsupportedFilterableData =>
               declare
                  Members : CosNotifyFilter.UnsupportedFilterableData_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
         end;
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_match_structured;

      procedure Invoke_match_typed;

      ------------------------
      -- Invoke_match_typed --
      ------------------------

      procedure Invoke_match_typed is
         Argument_filterable_data_Ü : CosNotification.PropertySeq;
         pragma Warnings (Off, Argument_filterable_data_Ü);
         pragma Suppress (Validity_Check, Argument_filterable_data_Ü);
         Arg_CC_filterable_data_Ü : aliased PolyORB.Any.Content'Class :=
           CosNotification.Helper.Internals.Wrap
              (CosNotification.IDL_SEQUENCE_CosNotification_Property.Sequence
                 (Argument_filterable_data_Ü)'Unrestricted_Access);
         Arg_Any_filterable_data_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CosNotification.Helper.TC_PropertySeq,
               Arg_CC_filterable_data_Ü'Unchecked_Access);
         Argument_result_to_set_Ü : CORBA.Any;
         pragma Warnings (Off, Argument_result_to_set_Ü);
         pragma Suppress (Validity_Check, Argument_result_to_set_Ü);
         Arg_CC_result_to_set_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Argument_result_to_set_Ü'Unrestricted_Access);
         Arg_Any_result_to_set_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Any,
               Arg_CC_result_to_set_Ü'Unchecked_Access);
         Result_Ü : CORBA.Boolean;
         pragma Warnings (Off, Result_Ü);
         pragma Suppress (Validity_Check, Result_Ü);
         Arg_CC_Result_Ü_Ü : aliased PolyORB.Any.Content'Class :=
           CORBA.Wrap
              (Result_Ü'Unrestricted_Access);
         Arg_Any_Result_Ü_Ü : constant CORBA.Any :=
           CORBA.Internals.Get_Wrapper_Any
              (CORBA.TC_Boolean,
               Arg_CC_Result_Ü_Ü'Unchecked_Access);
      begin
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            match_typed_Arg_Name_filterable_data_Ü,
            Arg_Any_filterable_data_Ü,
            CORBA.ARG_IN);
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            match_typed_Arg_Name_result_to_set_Ü,
            Arg_Any_result_to_set_Ü,
            CORBA.ARG_OUT);
         --  Processing request
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         begin
            --  Call Implementation
            CosNotifyFilter.MappingFilter.Impl.match_typed
              (CosNotifyFilter.MappingFilter.Impl.Object'Class
                 (Self.all)'Unchecked_Access,
               Argument_filterable_data_Ü,
               Argument_result_to_set_Ü,
               Result_Ü);
         exception
            when E : CosNotifyFilter.UnsupportedFilterableData =>
               declare
                  Members : CosNotifyFilter.UnsupportedFilterableData_Members;
               begin
                  CosNotifyFilter.Get_Members
                    (E,
                     Members);
                  CORBA.ServerRequest.Set_Exception
                    (Request,
                     CosNotifyFilter.Helper.To_Any
                       (Members));
                  return;
               end;
         end;
         --  Setting the result
         CORBA.ServerRequest.Set_Result
           (Request,
            Arg_Any_Result_Ü_Ü);
         CORBA.NVList.Internals.Clone_Out_Args
           (Argument_List_Ü);
      end Invoke_match_typed;

      procedure Invoke_Uis_a;

      ------------------
      -- Invoke_Uis_a --
      ------------------

      procedure Invoke_Uis_a is
         Type_Id_Ü : CORBA.String;
         Arg_Name_Type_Id_Ü : constant CORBA.Identifier :=
           CORBA.To_CORBA_String
              ("Type_Id_Ü");
         Argument_Type_Id_Ü : constant CORBA.Any :=
           CORBA.To_Any
              (Type_Id_Ü);
         Result_Ü : CORBA.Boolean;
      begin
         CORBA.NVList.Add_Item
           (Argument_List_Ü,
            Arg_Name_Type_Id_Ü,
            Argument_Type_Id_Ü,
            CORBA.ARG_IN);
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         Type_Id_Ü :=
           CORBA.From_Any
              (Argument_Type_Id_Ü);
         Result_Ü :=
           Is_A
              (CORBA.To_Standard_String
                 (Type_Id_Ü));
         CORBA.ServerRequest.Set_Result
           (Request,
            CORBA.To_Any
              (Result_Ü));
      end Invoke_Uis_a;

      procedure Invoke_Uinterface;

      -----------------------
      -- Invoke_Uinterface --
      -----------------------

      procedure Invoke_Uinterface is
      begin
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         CORBA.ServerRequest.Set_Result
           (Request,
            CORBA.Object.Helper.To_Any
              (CORBA.Object.Ref
                 (PolyORB.CORBA_P.IR_Hooks.Get_Interface_Definition
                    (CORBA.To_CORBA_String
                       (Repository_Id)))));
      end Invoke_Uinterface;

      procedure Invoke_Udomain_managers;

      -----------------------------
      -- Invoke_Udomain_managers --
      -----------------------------

      procedure Invoke_Udomain_managers is
      begin
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         CORBA.ServerRequest.Set_Result
           (Request,
            PolyORB.CORBA_P.Domain_Management.Get_Domain_Managers
              (Self));
      end Invoke_Udomain_managers;

      procedure Invoke_Unon_existent;

      --------------------------
      -- Invoke_Unon_existent --
      --------------------------

      procedure Invoke_Unon_existent is
      begin
         CORBA.ServerRequest.Arguments
           (Request,
            Argument_List_Ü);
         CORBA.ServerRequest.Set_Result
           (Request,
            CORBA.To_Any
              (CORBA.Boolean'
                 (False)));
      end Invoke_Unon_existent;

      procedure Dispatch;

      --------------
      -- Dispatch --
      --------------

      procedure Dispatch is
      begin
         case Index_Ü is
            when 0 =>
               Invoke_Uget_constraint_grammar;
            when 1 =>
               Invoke_Uget_value_type;
            when 2 =>
               Invoke_Uget_default_value;
            when 3 =>
               Invoke_add_mapping_constraints;
            when 4 =>
               Invoke_modify_mapping_constraints;
            when 5 =>
               Invoke_get_mapping_constraints;
            when 6 =>
               Invoke_get_all_mapping_constraints;
            when 7 =>
               Invoke_remove_all_mapping_constraints;
            when 8 =>
               Invoke_destroy;
            when 9 =>
               Invoke_match;
            when 10 =>
               Invoke_match_structured;
            when 11 =>
               Invoke_match_typed;
            when 13 =>
               Invoke_Uinterface;
            when 14 =>
               Invoke_Udomain_managers;
            when 15
               | 16 =>
               Invoke_Unon_existent;
            when 12 =>
               Invoke_Uis_a;
            pragma Warnings (Off);
            when others =>
               raise Program_Error;
            pragma Warnings (On);

         end case;
      end Dispatch;

   begin
      CORBA.ORB.Create_List
        (0,
         Argument_List_Ü);
      Index_Ü :=
        CosNotifyFilter_MappingFilter_Hash.Hash
           (Operation_Ü);
      Invoke_Name_Access :=
        Invoke_Db
           (Index_Ü);
      begin
         if (Operation_Ü
            = Invoke_Name_Access.all)
         then
            Dispatch;
         else
            CORBA.Raise_Bad_Operation
              (CORBA.Default_Sys_Member);
         end if;
      exception
         when E : others =>
            CORBA.ServerRequest.Set_Exception
              (Request,
               PolyORB.CORBA_P.Exceptions.System_Exception_To_Any
                 (E));
            PolyORB.Qos.Exception_Informations.Set_Exception_Information
              (Request.all,
               E);
      end;
   end Invoke;

   function Servant_Is_A
     (Obj : PortableServer.Servant)
     return Boolean;

   ------------------
   -- Servant_Is_A --
   ------------------

   function Servant_Is_A
     (Obj : PortableServer.Servant)
     return Boolean
   is
   begin
      return (Obj.all
         in CosNotifyFilter.MappingFilter.Impl.Object'Class);
   end Servant_Is_A;

   -----------------------------
   -- Deferred_Initialization --
   -----------------------------

   procedure Deferred_Initialization is
   begin
      PortableServer.Internals.Register_Skeleton
        (CosNotifyFilter.MappingFilter.Repository_Id,
         Servant_Is_A'Access,
         Is_A'Access,
         Invoke'Access);
      Register_Procedure
        ("_get_constraint_grammar");
      Register_Procedure
        ("_get_value_type");
      Register_Procedure
        ("_get_default_value");
      Register_Procedure
        ("add_mapping_constraints");
      Register_Procedure
        ("modify_mapping_constraints");
      Register_Procedure
        ("get_mapping_constraints");
      Register_Procedure
        ("get_all_mapping_constraints");
      Register_Procedure
        ("remove_all_mapping_constraints");
      Register_Procedure
        ("destroy");
      Register_Procedure
        ("match");
      Register_Procedure
        ("match_structured");
      Register_Procedure
        ("match_typed");
      Register_Procedure
        ("_is_a");
      Register_Procedure
        ("_interface");
      Register_Procedure
        ("_domain_managers");
      Register_Procedure
        ("_non_existent");
      Register_Procedure
        ("_not_existent");
   end Deferred_Initialization;

begin
   declare
      use PolyORB.Utils.Strings;
      use PolyORB.Utils.Strings.Lists;
   begin
      PolyORB.Initialization.Register_Module
        (PolyORB.Initialization.Module_Info'
           (Name => +"CosNotifyFilter.MappingFilter.Skel",
            Conflicts => PolyORB.Utils.Strings.Lists.Empty,
            Depends => PolyORB.Utils.Strings.Lists.Empty,
            Provides => PolyORB.Utils.Strings.Lists.Empty,
            Implicit => False,
            Init => Deferred_Initialization'Access,
            Shutdown => null));
   end;
end CosNotifyFilter.MappingFilter.Skel;
