home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gnat-2.06-src.tgz / tar.out / fsf / gnat / ada / a-timoau.ads < prev    next >
Text File  |  1996-09-28  |  3KB  |  82 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT RUNTIME COMPONENTS                          --
  4. --                                                                          --
  5. --              A D A . T E X T _ I O . M O D U L A R _ A U X               --
  6. --                                                                          --
  7. --                                 S p e c                                  --
  8. --                                                                          --
  9. --                            $Revision: 1.3 $                              --
  10. --                                                                          --
  11. --        Copyright (c) 1992,1993,1994,1995 NYU, All Rights Reserved        --
  12. --                                                                          --
  13. -- The GNAT library is free software; you can redistribute it and/or modify --
  14. -- it under terms of the GNU Library General Public License as published by --
  15. -- the Free Software  Foundation; either version 2, or (at your option) any --
  16. -- later version.  The GNAT library is distributed in the hope that it will --
  17. -- be useful, but WITHOUT ANY WARRANTY;  without even  the implied warranty --
  18. -- of MERCHANTABILITY  or  FITNESS FOR  A PARTICULAR PURPOSE.  See the  GNU --
  19. -- Library  General  Public  License for  more  details.  You  should  have --
  20. -- received  a copy of the GNU  Library  General Public License  along with --
  21. -- the GNAT library;  see the file  COPYING.LIB.  If not, write to the Free --
  22. -- Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.        --
  23. --                                                                          --
  24. ------------------------------------------------------------------------------
  25.  
  26. --  This package contains the routines for Ada.Text_IO.Modular_IO that are
  27. --  shared among separate instantiations of this package. The routines in
  28. --  this package are identical semantically to those in Modular_IO itself,
  29. --  except that the generic parameter Num has been replaced by Unsigned or
  30. --  Long_Long_Unsigned, and the default parameters have been removed because
  31. --  they are supplied explicitly by the calls from within the generic template.
  32.  
  33. with System.Unsigned_Types;
  34.  
  35. private package Ada.Text_IO.Modular_Aux is
  36.  
  37.    use System.Unsigned_Types;
  38.  
  39.    procedure Get_Uns
  40.      (File  : in File_Type;
  41.       Item  : out Unsigned;
  42.       Width : in Field);
  43.  
  44.    procedure Get_LLU
  45.      (File  : in File_Type;
  46.       Item  : out Long_Long_Unsigned;
  47.       Width : in Field);
  48.  
  49.    procedure Put_Uns
  50.      (File  : in File_Type;
  51.       Item  : in Unsigned;
  52.       Width : in Field;
  53.       Base  : in Number_Base);
  54.  
  55.    procedure Put_LLU
  56.      (File  : in File_Type;
  57.       Item  : in Long_Long_Unsigned;
  58.       Width : in Field;
  59.       Base  : in Number_Base);
  60.  
  61.    procedure Gets_Uns
  62.      (From : in String;
  63.       Item : out Unsigned;
  64.       Last : out Positive);
  65.  
  66.    procedure Gets_LLU
  67.      (From : in String;
  68.       Item : out Long_Long_Unsigned;
  69.       Last : out Positive);
  70.  
  71.    procedure Puts_Uns
  72.      (To   : out String;
  73.       Item : in Unsigned;
  74.       Base : in Number_Base);
  75.  
  76.    procedure Puts_LLU
  77.      (To   : out String;
  78.       Item : in Long_Long_Unsigned;
  79.       Base : in Number_Base);
  80.  
  81. end Ada.Text_IO.Modular_Aux;
  82.