DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦89a126e54⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Download_Times, seg_0211cb

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Io;  
with String_Utilities;
with Time_Utilities;

package body Download_Times is

    package Naming renames Directory.Naming;
    package Su     renames String_Utilities;

    function Match (The_Entry1, The_Entry2 : Table_Entry) return Boolean is
    begin
        if Directory."=" (The_Entry1.Obj, The_Entry2.Obj) then
            return True;
        else
            return False;
        end if;
    end Match;


    function Download_Times_File_Name
                (In_View : Directory.Object) return String is
    begin
        return Naming.Get_Full_Name (In_View) &
                  ".State.Tool_State.Download_Times";
    end Download_Times_File_Name;


    function Is_Empty (Element : Table_Entry) return Boolean is
    begin
        if Directory."=" (Element.Obj, Directory.Nil) or else
           Su.Equal (Naming.Get_Simple_Name (Element.Obj),
                     "{[<KEY_NOT_FOUND>]}") then
            return True;
        end if;

        return False;
    end Is_Empty;


    procedure Print_Element (Element : Table_Entry) is
    begin
        Io.Put_Line (Naming.Unique_Simple_Name (Element.Obj) &
                     ",  Downloaded: " &
                     Time_Utilities.Image
                        (Time_Utilities.Convert_Time (Element.Time)) &
                     ",  Full Name: " & Naming.Unique_Full_Name (Element.Obj));
    end Print_Element;

end Download_Times;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=23 rec1=00 rec2=01 rec3=00c
        [0x01] rec0=10 rec1=00 rec2=02 rec3=000
    tail 0x2151caf54838d6ae911c8 0x42a00088462065003