Runtime Library Overview

Ada95 standard library packages.

The Ada95 library is organized in a hierarchy as child packagesof a single root package Ada.

Ada

This is the root package in the Ada95 library. This package doesnot define any types, constants or procedures.

Ada.Calendar

This package provides rudimentary functionality for using datesand times. See the SbsSysClock package for more complete support.

Ada.Characters

This package is root package of all character packages. Thispackage does not define any types, constants or procedures.

Ada.Characters.Handling

This package provides procedure for manipulation of the characterand wide_character types.

Ada.Characters.Latin_1

This package replaces the ASCII package in the Standard package.The ASCII package is still defined but this package is the preferred package.

Ada.Command_Line

This package provides procedures for accessing the command lineused to run a program.

Ada.Exceptions

This package provides more extensive support for raising andhandling exceptions.

Ada.Numerics

This package is the root package for numeric packages and definesmathematical constants and numeric exceptions.

Ada.Numerics.Generic_Elementary_Functions

This package is a generic package that defines a standard setof mathematical functions.

These packages are instantiations of the generic package forspecific floating point types.

Ada.Direct_IO

This package provides procedures for reading and writing homogeneousfiles and pipes in binary format. You can access the file in a random manner.

Ada.Sequential_IO

This package provides procedures for reading and writing homogeneousfiles and pipes in binary format. You can access the file in a sequential mannerfrom a given point to the end of the file.

Ada.IO_Exceptions

This package defines the various exceptions predefined and usedby the Ada library IO packages.

Ada.Strings

This package is the root package of all string manipulation packages.This package also defines some constants and types used by the various string packages.

Ada.Strings.Fixed

This package provides procedures for manipulation of fixed sizestrings. The size of the string is the allocated size, never more, never less.

Ada.Strings.Maps

This package defines type and constants for using character maps(character sets).

Ada.Strings.Maps.Constants

This package defines constants for some commonly used charactermaps.

Ada.Text_IO

This package provides procedures for reading and writing files,pipes and text console in human readable text format. The package provides basicstring functions and generic packages for integer and floating point types.

The following packages are instantiations of the generic packagesin the Text_IO package for specific types. The type is identified by the name ofthe package.

All of the following packages are specific to Stony BrookAda95.

SbsEnvironment

This package provides procedures to access environment stringsand the command line string.

SbsRunProg

This package provides procedures to execute programs and commandinterpreter commands.

SbsConversions

This package provides numeric conversions for Integer, Long_Integertypes.

SbsElapsedTime

This package provides procedures for calculating an elapsed timebetween two procedure calls and executing timed delays.

SbsRandomNumbers

This package provides procedures for generating fast pseudo randomnumber sequences of type Natural.

SbsRealRandomNumbers

This package provides procedures for generating fast pseudo randomnumber sequences to type Float.

SbsFileFunc

This package provides provides extensive flexibility and capabilityfor dealing with disk storage devices and pipes.

SbsFormatString

This package provides a procedure that will generate a formattedstring from a format template string and a variable number of format items such asInteger and String.

SbsMemUtils

This package provides procedures for filling and moving memoryregions.

SbsStorage

This package provides extensive flexibility and capability indealing with dynamic memory allocation.

SbsStrings

This package provides procedures to manipulate String types.These string types have a compile time fixed maximum size and a dynamic runtime sizedetermined by a null character terminator. These strings are suitable for interfacingwith operating systems and other languages.

SbsGenCRC

This package provides functions for generating a 32-bit CRC.

SbsSortLib

This package provides functions for sorting data.

SbsBitVectors

This package provides functions for manipulating bit vectors.Bit vectors are very similar to sets.

SetSbsStorageDebugMode

This package provides a simple method of setting the defaultheap in SbsStorage to debug mode. This package is useful when you have package initializationcode that allocates memory. To use this package you simply import it as the firstpackage imported in your main program source file.

SbsExtUtils

This package is only available for 32-bit DOS extended applications. It provides procedures for accessing real mode memory addresses from 32-bitprotected mode.