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: 2447 (0x98f) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧
with Log_Report; with Oo_Ada_Exception; with Unchecked_Conversion; with Unchecked_Deallocation; package body Sun is type State is record U : Natural; Offspring : Natural := 0; Heir : Root.Object; Origin : Root.Object; Multiple : Root.Object; end record; procedure Free is new Unchecked_Deallocation (State, Object); function Fruit_View_Of is new Unchecked_Conversion (Source => Root.Object, Target => Object); function Root_View_Of is new Unchecked_Conversion (Source => Object, Target => Root.Object); function Create (Offspring : Natural := 0) return Object is separate; procedure Delete (This_Object : in out Object; Marker : Boolean := False) is separate; procedure Set_U (This_Object : Object; This_U : Natural) is begin This_Object.U := This_U; end Set_U; function Get_U (This_Object : Object) return Natural is begin return This_Object.U; end Get_U; procedure Image (This_Object : Object) is separate; function Part_Of (This_Origin_Object : Root.Object) return Object is This_Object : Object; begin This_Object := Fruit_View_Of (S => Root.Get_Heir (This_Origin_Object)); return This_Object; end Part_Of; function Protected_Conv (Source : Root.Object) return Object is begin return Fruit_View_Of (Source); end Protected_Conv; procedure Set_Heir (This_Object : in out Object; Heir : Root.Object) is begin This_Object.Heir := Heir; end Set_Heir; function Get_Heir (This_Object : Object) return Root.Object is begin return This_Object.Heir; end Get_Heir; procedure Set_Origin (This_Object : in out Object; Origin : Root.Object) is begin This_Object.Origin := Origin; end Set_Origin; function Get_Origin (This_Object : Object) return Root.Object is begin return This_Object.Origin; end Get_Origin; procedure Set_Multiple (This_Object : in out Object; Multiple : Root.Object) is begin This_Object.Multiple := Multiple; end Set_Multiple; function Get_Multiple (This_Object : Object) return Root.Object is begin return This_Object.Multiple; end Get_Multiple; end Sun;