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

---------------------------------------------------
--  This file has been generated automatically from
--  /work/a/ports/net/polyorb/work/polyorb-2.9.0/idls/cos/time/TimeBase.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 PolyORB.Any;
with PolyORB.Types;

package TimeBase.Helper is

   TC_TimeT : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return TimeBase.TimeT;

   function To_Any
     (Item : TimeBase.TimeT)
     return CORBA.Any;

   TC_InaccuracyT : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return TimeBase.InaccuracyT;

   function To_Any
     (Item : TimeBase.InaccuracyT)
     return CORBA.Any;

   TC_TdfT : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return TimeBase.TdfT;

   function To_Any
     (Item : TimeBase.TdfT)
     return CORBA.Any;

   TC_UtcT : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return TimeBase.UtcT;

   function To_Any
     (Item : TimeBase.UtcT)
     return CORBA.Any;

   TC_IntervalT : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return TimeBase.IntervalT;

   function To_Any
     (Item : TimeBase.IntervalT)
     return CORBA.Any;

   
   package Internals is

      function Wrap
        (X : access TimeBase.TimeT)
        return PolyORB.Any.Content'Class;

      procedure Initialize_TimeT;

      procedure Initialize_InaccuracyT;

      function Wrap
        (X : access TimeBase.TdfT)
        return PolyORB.Any.Content'Class;

      procedure Initialize_TdfT;

      type Ptr_Ü_UtcT is
        access all TimeBase.UtcT;

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

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

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

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

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

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

      function Wrap
        (X : access TimeBase.UtcT)
        return PolyORB.Any.Content'Class;

      procedure Initialize_UtcT;

      type Ptr_Ü_IntervalT is
        access all TimeBase.IntervalT;

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

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

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

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

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

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

      function Wrap
        (X : access TimeBase.IntervalT)
        return PolyORB.Any.Content'Class;

      procedure Initialize_IntervalT;

   end Internals;

end TimeBase.Helper;
