DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ B T ┃
Length: 1360 (0x550) Types: TextFile Names: »B«
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04 └─ ⟦d65440be7⟧ »DATA« └─⟦this⟧
with Text_Io; package body Object is function Create (Ident_Classe : Classe; Ident_Object : Integer) return Reference is Result : Reference; begin Result.Id_Classe := Ident_Classe; Result.Id_Object := Ident_Object; return (Result); end Create; procedure Copy (Source : Reference; Target : in out Reference) is begin Target.Id_Classe := Source.Id_Classe; Target.Id_Object := Source.Id_Object; end Copy; function Get_Value (From_Object : Reference) return Integer is begin return (From_Object.Id_Object); end Get_Value; function Get_Classe (From_Object : Reference) return Classe is begin return (From_Object.Id_Classe); end Get_Classe; procedure En_Texte (The_Object : Reference) is begin Text_Io.Put_Line ("Object is a " & Classe'Image (Get_Classe (The_Object)) & " and his id is" & Integer'Image (Get_Value (The_Object))); end En_Texte; function Equal (A, B : Object.Reference) return Standard.Boolean is begin if A.Id_Classe = B.Id_Classe and A.Id_Object = B.Id_Object then return (Standard.True); else return (Standard.False); end if; end Equal; end Object;