[BACK]Return to symbol_table_io.ads CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Polynomials

File: [local] / OpenXM_contrib / PHC / Ada / Math_Lib / Polynomials / symbol_table_io.ads (download)

Revision 1.1.1.1 (vendor branch), Sun Oct 29 17:45:27 2000 UTC (23 years, 7 months ago) by maekawa
Branch: PHC, MAIN
CVS Tags: v2, maekawa-ipv6, RELEASE_1_2_3, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, HEAD
Changes since 1.1: +0 -0 lines

Import the second public release of PHCpack.

OKed by Jan Verschelde.

with text_io;                            use text_io;
with Symbol_Table;                       use Symbol_Table;

package Symbol_Table_io is

-- DESCRIPTION :
--   This package provides i/o operations for symbols.

  procedure get ( sb : in out symbol );
  procedure get ( sb : in out symbol; delimiter : in character );
  procedure get ( ch : in out character; sb : in out symbol );
  procedure get ( ch : in out character; sb : in out symbol;
                  delimiter : in character );
  procedure get ( file : in file_type; sb : in out symbol );
  procedure get ( file : in file_type; sb : in out symbol;
                  delimiter : in character );
  procedure get ( file : in file_type;
                  ch : in out character; sb : in out symbol );
  procedure get ( file : in file_type;
                  ch : in out character; sb : in out symbol;
                  delimiter : in character );

  -- DESCRIPTION :
  --   Reads a symbol from standard input or from file.
  --   Skips blanks before and after the symbol.
  --   When a character is given as parameter, it can already
  --   contain the first character of the symbol.
  --   Reading stops when either the length of the symbol is reached,
  --   or when a blank or a delimiter is encountered.

  procedure put ( sb : in symbol );
  procedure put ( file : in file_type; sb : in symbol );

  -- DESCRIPTION :
  --   Writes a symbol on standard output or on file.
  --   Blanks after the symbol are not written.

end Symbol_Table_io;