|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Generic_Condition, seg_02ba9e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Output_Stream; generic package Generic_Condition is Max_Term_Count : constant := 5; subtype Term_Count is Natural range 0 .. Max_Term_Count; type Object (Count : Term_Count := 0) is private; type Alias is (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z); -- value condition function Is_Equal (Value : Integer) return Object; function Is_Less (Value : Integer) return Object; function Is_Less_Or_Equal (Value : Integer) return Object; function Is_Greater (Value : Integer) return Object; function Is_Greater_Or_Equal (Value : Integer) return Object; function Is_Different (Value : Integer) return Object; -- alias condition function Is_Equal (Value : Alias) return Object; function Is_Less (Value : Alias) return Object; function Is_Less_Or_Equal (Value : Alias) return Object; function Is_Greater (Value : Alias) return Object; function Is_Greater_Or_Equal (Value : Alias) return Object; function Is_Different (Value : Alias) return Object; -- miscellaneous condition function Is_Any return Generic_Condition.Object; function Say_It_Is (Object : Alias) return Generic_Condition.Object; -- others function "and" (Left, Right : Object) return Object; function Match (Value : Integer; Against : Object) return Boolean; procedure Put (The_Condition : Object; Where : Output_Stream.Object); private type Operators is ( -- value operators Is_Equal, Is_Less, Is_Less_Or_Equal, Is_Greater, Is_Greater_Or_Equal, Is_Different, -- alias operators Is_Equal_To_Alias, Is_Less_Than_Alias, Is_Less_Or_Equal_Than_Alias, Is_Greater_Than_Alias, Is_Greater_Or_Equal_Than_Alias, Is_Different_Than_Alias, -- miscellaneous operators Is_Any, Say_It_Is); subtype Value_Operators is Operators range Is_Equal .. Is_Different; subtype Alias_Operators is Operators range Is_Equal_To_Alias .. Is_Different_Than_Alias; subtype Miscellaneous_Operators is Operators range Is_Any .. Say_It_Is; type Term is record Operator : Operators; Operand : Integer; end record; type Terms is array (Positive range <>) of Term; type Object (Count : Term_Count := 0) is record Value : Terms (1 .. Count); end record; end Generic_Condition;
nblk1=4 nid=4 hdr6=6 [0x00] rec0=1a rec1=00 rec2=01 rec3=07e [0x01] rec0=1a rec1=00 rec2=02 rec3=05c [0x02] rec0=19 rec1=00 rec2=03 rec3=000 [0x03] rec0=18 rec1=00 rec2=02 rec3=000 tail 0x21523817083eb6e661f32 0x42a00088462063c03 Free Block Chain: 0x4: 0000 00 00 03 41 80 15 73 5f 47 72 65 61 74 65 72 5f ┆ A s_Greater_┆