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

⟦a85f9839f⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, function Get_Attribute_Info, seg_01b2bd, separate Template

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



separate (Template)
function Get_Attribute_Info return Attributes.Object is

    P_Types1 : Checking.Type_Set :=
       Checking.Build (Enforced_Type_Restrictions =>
                          (Checking.No_Private_Types => True, others => False),
                       Valid_Structural_Types =>
                          (Checking.Enumeration_Type => True, others => False),
                       For_Target => T_Name);


    Prefix1 : Attributes.Prefix :=
       Attributes.Build (Valid_Types => P_Types1, For_Target => T_Name);

    Result1 : Attributes.Result :=
       Attributes.Prefix_Value (For_Target => T_Name);

    Result2 : Attributes.Result :=
       Attributes.Build_With_Value_Result
          (Type_Name => "integer", For_Target => T_Name);

    Designator1 : Attributes.Designator :=
       Attributes.Prefix_Designator (For_Target => T_Name);

    Designator2 : Attributes.Designator :=
       Attributes.Build
          (Function_Parameter =>
              Checking.Build (Expression_Type => "Character",
                              Constraint => Checking.Null_Constraint (T_Name),
                              For_Target => T_Name),
           For_Target => T_Name);

    Attr1 : constant Attributes.Attribute :=
       Attributes.Build (The_Name => "attr1",
                         The_Prefix => Prefix1,
                         The_Result => Result1,
                         --The_Designator => Designator1,
                         For_Target => T_Name);

    Attr2 : constant Attributes.Attribute :=
       Attributes.Build (The_Name => "attr2",
                         The_Prefix => Prefix1,
                         The_Result => Result2,
                         The_Designator => Designator2,
                         For_Target => T_Name);

    Attrs : constant Attributes.Attribute_Array := (Attr1, Attr2);
begin
    return Attributes.Build (Attribute_List => Attrs, For_Target => T_Name);
end Get_Attribute_Info;

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=1c rec1=00 rec2=01 rec3=040
        [0x01] rec0=17 rec1=00 rec2=02 rec3=010
        [0x02] rec0=01 rec1=00 rec2=03 rec3=000
    tail 0x21517da3a83637e597fc5 0x42a00088462060003