pragma Style_Checks ("NM32766");
pragma Wide_Character_Encoding (Brackets);
pragma Warnings (Off, "use of an anonymous access type allocator");

---------------------------------------------------
--  This file has been generated automatically from
--  /pbulk/work/net/ada-polyorb/work/PolyORB-25.0/idls/CORBA_IDL/orb.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 CORBA;
pragma Elaborate_All (CORBA);
with CORBA.Object;
with PolyORB.Any;
with PolyORB.Types;

package CORBA.Repository_Root.InterfaceDef.Helper is

   TC_InterfaceDef : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CORBA.Repository_Root.InterfaceDef.Ref;

   function To_Any
     (Item : CORBA.Repository_Root.InterfaceDef.Ref)
     return CORBA.Any;

   function Unchecked_To_Ref
     (The_Ref : CORBA.Object.Ref'Class)
     return CORBA.Repository_Root.InterfaceDef.Ref;

   function To_Ref
     (The_Ref : CORBA.Object.Ref'Class)
     return CORBA.Repository_Root.InterfaceDef.Ref;

   TC_FullInterfaceDescription : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CORBA.Repository_Root.InterfaceDef.FullInterfaceDescription;

   function To_Any
     (Item : CORBA.Repository_Root.InterfaceDef.FullInterfaceDescription)
     return CORBA.Any;

   --  Description : inherited from CORBA.Container

   function From_Any
     (Item : CORBA.Any)
     return CORBA.Repository_Root.InterfaceDef.Description;

   function To_Any
     (Item : CORBA.Repository_Root.InterfaceDef.Description)
     return CORBA.Any;

   --  DescriptionSeq: inherited from CORBA.Container

   function From_Any
     (Item : CORBA.Any)
     return CORBA.Repository_Root.InterfaceDef.DescriptionSeq;

   function To_Any
     (Item : CORBA.Repository_Root.InterfaceDef.DescriptionSeq)
     return CORBA.Any;

   
   package Internals is

      procedure Initialize_InterfaceDef;

      type Ptr_Ü_FullInterfaceDescription is
        access all CORBA.Repository_Root.InterfaceDef.FullInterfaceDescription;

      type Content_Ü_FullInterfaceDescription is
        new PolyORB.Any.Aggregate_Content with record
            V : Ptr_Ü_FullInterfaceDescription;
         end record;

      function Get_Aggregate_Element
        (Acc : not null access Content_Ü_FullInterfaceDescription;
         Tc : PolyORB.Any.TypeCode.Object_Ptr;
         Index : PolyORB.Types.Unsigned_Long;
         Mech : not null access PolyORB.Any.Mechanism)
        return PolyORB.Any.Content'Class;

      function Get_Aggregate_Count
        (Acc : Content_Ü_FullInterfaceDescription)
        return PolyORB.Types.Unsigned_Long;

      procedure Set_Aggregate_Count
        (Acc : in out Content_Ü_FullInterfaceDescription;
         Count : PolyORB.Types.Unsigned_Long);

      function Unchecked_Get_V
        (Acc : not null access Content_Ü_FullInterfaceDescription)
        return PolyORB.Types.Address;

      function Clone
        (Acc : Content_Ü_FullInterfaceDescription;
         Into : PolyORB.Any.Content_Ptr := null)
        return PolyORB.Any.Content_Ptr;

      procedure Finalize_Value
        (Acc : in out Content_Ü_FullInterfaceDescription);

      function Wrap
        (X : access CORBA.Repository_Root.InterfaceDef.FullInterfaceDescription)
        return PolyORB.Any.Content'Class;

      procedure Initialize_FullInterfaceDescription;

   end Internals;

end CORBA.Repository_Root.InterfaceDef.Helper;
