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/cos/time/CosTime.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 CosTime.Helper is

   TC_TimeComparison : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosTime.TimeComparison;

   function To_Any
     (Item : CosTime.TimeComparison)
     return CORBA.Any;

   TC_ComparisonType : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosTime.ComparisonType;

   function To_Any
     (Item : CosTime.ComparisonType)
     return CORBA.Any;

   TC_OverlapType : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosTime.OverlapType;

   function To_Any
     (Item : CosTime.OverlapType)
     return CORBA.Any;

   TC_TimeUnavailable : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosTime.TimeUnavailable_Members;

   function To_Any
     (Item : CosTime.TimeUnavailable_Members)
     return CORBA.Any;

   procedure Raise_TimeUnavailable
     (Members : CosTime.TimeUnavailable_Members);

   pragma No_Return (Raise_TimeUnavailable);

   TC_TIO : CORBA.TypeCode.Object;

   function From_Any
     (Item : CORBA.Any)
     return CosTime.TIO_Forward.Ref;

   function To_Any
     (Item : CosTime.TIO_Forward.Ref)
     return CORBA.Any;

   function Unchecked_To_Ref
     (The_Ref : CORBA.Object.Ref'Class)
     return CosTime.TIO_Forward.Ref;

   function To_Ref
     (The_Ref : CORBA.Object.Ref'Class)
     return CosTime.TIO_Forward.Ref;

   
   package Internals is

      function From_Any
        (C : PolyORB.Any.Any_Container'Class)
        return CosTime.TimeComparison;

      type Ptr_Ü_TimeComparison is
        access all CosTime.TimeComparison;

      type Content_Ü_TimeComparison is
        new PolyORB.Any.Aggregate_Content with record
            V : Ptr_Ü_TimeComparison;
            Repr_Cache : aliased PolyORB.Types.Unsigned_Long;
         end record;

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

      procedure Set_Aggregate_Element
        (Acc : in out Content_Ü_TimeComparison;
         Tc : PolyORB.Any.TypeCode.Object_Ptr;
         Index : PolyORB.Types.Unsigned_Long;
         From_C : in out PolyORB.Any.Any_Container'Class);

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

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

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

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

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

      function Wrap
        (X : access CosTime.TimeComparison)
        return PolyORB.Any.Content'Class;

      procedure Initialize_TimeComparison;

      function From_Any
        (C : PolyORB.Any.Any_Container'Class)
        return CosTime.ComparisonType;

      type Ptr_Ü_ComparisonType is
        access all CosTime.ComparisonType;

      type Content_Ü_ComparisonType is
        new PolyORB.Any.Aggregate_Content with record
            V : Ptr_Ü_ComparisonType;
            Repr_Cache : aliased PolyORB.Types.Unsigned_Long;
         end record;

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

      procedure Set_Aggregate_Element
        (Acc : in out Content_Ü_ComparisonType;
         Tc : PolyORB.Any.TypeCode.Object_Ptr;
         Index : PolyORB.Types.Unsigned_Long;
         From_C : in out PolyORB.Any.Any_Container'Class);

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

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

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

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

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

      function Wrap
        (X : access CosTime.ComparisonType)
        return PolyORB.Any.Content'Class;

      procedure Initialize_ComparisonType;

      function From_Any
        (C : PolyORB.Any.Any_Container'Class)
        return CosTime.OverlapType;

      type Ptr_Ü_OverlapType is
        access all CosTime.OverlapType;

      type Content_Ü_OverlapType is
        new PolyORB.Any.Aggregate_Content with record
            V : Ptr_Ü_OverlapType;
            Repr_Cache : aliased PolyORB.Types.Unsigned_Long;
         end record;

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

      procedure Set_Aggregate_Element
        (Acc : in out Content_Ü_OverlapType;
         Tc : PolyORB.Any.TypeCode.Object_Ptr;
         Index : PolyORB.Types.Unsigned_Long;
         From_C : in out PolyORB.Any.Any_Container'Class);

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

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

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

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

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

      function Wrap
        (X : access CosTime.OverlapType)
        return PolyORB.Any.Content'Class;

      procedure Initialize_OverlapType;

      procedure Initialize_TimeUnavailable;

      procedure Initialize_TIO;

   end Internals;

end CosTime.Helper;
