pragma Style_Checks ("NM32766");
pragma Wide_Character_Encoding (Brackets);

---------------------------------------------------
--  This file has been generated automatically from
--  /wrkdirs/usr/ports/net/polyorb/work/polyorb-2.9.0/idls/CORBA_IDL/orb.idl
--  by IAC (IDL to Ada Compiler) 2.9.0 (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.ValueDef.Helper is

   TC_ValueDef : CORBA.TypeCode.Object;

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

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

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

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

   TC_FullValueDescription : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CORBA.Repository_Root.ValueDef.FullValueDescription;

   function To_Any
     (Item : CORBA.Repository_Root.ValueDef.FullValueDescription)
     return CORBA.Any;

   --  Description : inherited from CORBA.Container

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

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

   --  DescriptionSeq: inherited from CORBA.Container

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

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

   
   package Internals is

      procedure Initialize_ValueDef;

      type Ptr_Ü_FullValueDescription is
        access all CORBA.Repository_Root.ValueDef.FullValueDescription;

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

      function Get_Aggregate_Element
        (Acc : not null access Content_Ü_FullValueDescription;
         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_Ü_FullValueDescription)
        return PolyORB.Types.Unsigned_Long;

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

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

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

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

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

      procedure Initialize_FullValueDescription;

   end Internals;

end CORBA.Repository_Root.ValueDef.Helper;
