DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦39713039d⟧ TextFile

    Length: 4786 (0x12b2)
    Types: TextFile
    Names: »V«

Derivation

└─⟦85b835f43⟧ Bits:30000549 8mm tape, Rational 1000, Xlib rev 6.00
    └─ ⟦0c20f784e⟧ »DATA« 
        └─⟦1abbe589f⟧ 
            └─⟦059497ac5⟧ 
                └─⟦this⟧ 

TextFile

with Xlbmt_Network_Types;  
use Xlbmt_Network_Types;

package Xlbmp_Generic_Converters is
------------------------------------------------------------------------------
-- X Library Machine Procedures
--
-- Xlbmp_Generic_Converters - Machine/Compiler dependent conversions to/from
--  system data types.
------------------------------------------------------------------------------
-- Copyright 1989 - 1991 by Rational, Santa Clara, California.
--
--                  All Rights Reserved.
--
-- Permission to use, copy, modify, and distribute this software and its
-- documentation for any purpose and without fee is hereby granted,
-- provided that the above copyright notice(s) appear in all copies and that
-- both that copyright notice(s) and this permission notice appear in
-- supporting documentation, and that the name of Rational not be used in
-- advertising or publicity pertaining to distribution of the software
-- without specific, written prior permission.
--
-- Rational disclaims all warranties with regard to this software, including
-- all implied warranties of merchantability and fitness, in no event shall
-- Rational be liable for any special, indirect or consequential damages or
-- any damages whatsoever resulting from loss of use, data or profits, whether
-- in an action of contract, negligence or other tortious action, arising out
-- of or in connection with the use or performance of this software.
------------------------------------------------------------------------------

--\f

------------------------------------------------------------------------------
-- Generic converters to the X_Raw_Data_Array type.
--
-- These take the compiler/machine specific steps that are necessary in order
-- to convert a value of some type into an instance of the X_Raw_Data_Array
-- type.  E.g. with array types we make sure that only the data portion of
-- the array is converted and not, for instance, the dope/array-index
-- information.
------------------------------------------------------------------------------

    generic  
        type Original is (<>);  
    procedure Convert_Discrete_To_Raw (Raw  : out X_Raw_Data_Array;  
                                       Orig :     Original);

    generic  
        type Original is private;  
    procedure Convert_Private_To_Raw (Raw  : out X_Raw_Data_Array;  
                                      Orig :     Original);

    generic  
        type Original       is private;  
        type Index          is (<>);  
        type Original_Array is array (Index range <>) of Original;  
    procedure Convert_Array_To_Raw (Raw  : out X_Raw_Data_Array;  
                                    Orig :     Original_Array);

    generic  
        type Original       is private;  
        type Index1         is (<>);  
        type Index2         is (<>);  
        type Original_Array is array (Index1 range <>,  
                                      Index2 range <>) of Original;  
    procedure Convert_2d_Array_To_Raw (Raw  : out X_Raw_Data_Array;  
                                       Orig :     Original_Array);


------------------------------------------------------------------------------
-- Generic converters from the X_Raw_Data_Array type.
--
-- These take the compiler/machine specific steps that are necessary in order
-- to convert an X_Raw_Data_Array value into an instance of the Original
-- type.  E.g. with array types we make sure that the converted information
-- occupies only the data portion of the array after conversion and not, for
-- instance, the dope/array-index portion.
------------------------------------------------------------------------------

    generic  
        type Original is (<>);  
    procedure Convert_Raw_To_Discrete (Orig : out Original;  
                                       Raw  :     X_Raw_Data_Array);

    generic  
        type Original is private;  
    procedure Convert_Raw_To_Private (Orig : out Original;  
                                      Raw  :     X_Raw_Data_Array);

    generic  
        type Original       is private;  
        type Index          is (<>);  
        type Original_Array is array (Index range <>) of Original;  
    procedure Convert_Raw_To_Array (Orig : out Original_Array;  
                                    Raw  :     X_Raw_Data_Array);
    ----Convert raw data into an array.

    generic  
        type Original       is private;  
        type Index1         is (<>);  
        type Index2         is (<>);  
        type Original_Array is array (Index1 range <>,  
                                      Index2 range <>) of Original;  
    procedure Convert_Raw_To_2d_Array (Orig : out Original_Array;  
                                       Raw  :     X_Raw_Data_Array);

end Xlbmp_Generic_Converters;