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/cos/naming/CosNaming.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;

package CosNaming.NamingContextExt.Helper is

   TC_NamingContextExt : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.Ref;

   function To_Any
     (Item : CosNaming.NamingContextExt.Ref)
     return CORBA.Any;

   function Unchecked_To_Ref
     (The_Ref : CORBA.Object.Ref'Class)
     return CosNaming.NamingContextExt.Ref;

   function To_Ref
     (The_Ref : CORBA.Object.Ref'Class)
     return CosNaming.NamingContextExt.Ref;

   TC_StringName : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.StringName;

   function To_Any
     (Item : CosNaming.NamingContextExt.StringName)
     return CORBA.Any;

   TC_Address : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.Address;

   function To_Any
     (Item : CosNaming.NamingContextExt.Address)
     return CORBA.Any;

   TC_URLString : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.URLString;

   function To_Any
     (Item : CosNaming.NamingContextExt.URLString)
     return CORBA.Any;

   TC_InvalidAddress : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.InvalidAddress_Members;

   function To_Any
     (Item : CosNaming.NamingContextExt.InvalidAddress_Members)
     return CORBA.Any;

   procedure Raise_InvalidAddress
     (Members : CosNaming.NamingContextExt.InvalidAddress_Members);

   pragma No_Return (Raise_InvalidAddress);

   --  NotFoundReason : inherited from CosNaming.NamingContext

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.NotFoundReason;

   function To_Any
     (Item : CosNaming.NamingContextExt.NotFoundReason)
     return CORBA.Any;

   --  NotFound : inherited from CosNaming.NamingContext

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.NotFound_Members;

   function To_Any
     (Item : CosNaming.NamingContextExt.NotFound_Members)
     return CORBA.Any;

   --  CannotProceed : inherited from CosNaming.NamingContext

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.CannotProceed_Members;

   function To_Any
     (Item : CosNaming.NamingContextExt.CannotProceed_Members)
     return CORBA.Any;

   --  InvalidName : inherited from CosNaming.NamingContext

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.InvalidName_Members;

   function To_Any
     (Item : CosNaming.NamingContextExt.InvalidName_Members)
     return CORBA.Any;

   --  AlreadyBound : inherited from CosNaming.NamingContext

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.AlreadyBound_Members;

   function To_Any
     (Item : CosNaming.NamingContextExt.AlreadyBound_Members)
     return CORBA.Any;

   --  NotEmpty : inherited from CosNaming.NamingContext

   function From_Any
     (Item : CORBA.Any)
     return CosNaming.NamingContextExt.NotEmpty_Members;

   function To_Any
     (Item : CosNaming.NamingContextExt.NotEmpty_Members)
     return CORBA.Any;

   
   package Internals is

      procedure Initialize_NamingContextExt;

      function Wrap
        (X : access CosNaming.NamingContextExt.StringName)
        return PolyORB.Any.Content'Class;

      procedure Initialize_StringName;

      function Wrap
        (X : access CosNaming.NamingContextExt.Address)
        return PolyORB.Any.Content'Class;

      procedure Initialize_Address;

      function Wrap
        (X : access CosNaming.NamingContextExt.URLString)
        return PolyORB.Any.Content'Class;

      procedure Initialize_URLString;

      procedure Initialize_InvalidAddress;

   end Internals;

end CosNaming.NamingContextExt.Helper;
