DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦1200bba20⟧ TextFile

    Length: 1761 (0x6e1)
    Types: TextFile
    Names: »V«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Class;
with Collection;
with Date;
with Instance;

package Sticker is

    Class_Name : constant String             := "STICKERS";
    Is_Dated   : constant Boolean            := True;
    Date_Mode  : constant Date.Overflow_Mode := Date.Error_Mode;

    Class_Reference : constant Class.Reference :=
       Class.Create (With_Name => Class_Name, Is_Dated => Is_Dated);
    subtype Object is Instance.Reference (Kind => Class_Reference);

    type Colors     is (White, Red, Yellow, Green, Blue);
    type States     is (Is_Unused, Is_Used);  
    type Existences is (Unused_Stickers, All_Stickers, White_Stickers,
                        Red_Stickers, Yellow_Stickers,
                        Green_Stickers, Blue_Stickers);

    Default_Color : constant Colors := White;
    Default_State : constant States := Is_Unused;


    function Color (O : Object) return Colors;
    function State (O : Object) return States;

    function Exist (With_Color : String; In_Kind_Of_Collection : Existences)
                   return Boolean;
    function Exist (With_State : States; In_Kind_Of_Collection : Existences)
                   return Boolean;

    function Instances return Collection.Object;

    function Instances (Kind : Existences := All_Stickers)
                       return Collection.Object;

    function Add (With_Color : Colors := Default_Color;
                  With_State : States := Default_State) return Object;

    procedure Change (O : Object; With_Color : Colors; With_State : States);
    procedure Change (O : Object; With_State : States);

    procedure Delete (O : Object);
    procedure Mask   (O : Object);
    procedure Unmask (O : Object);

    procedure Clean;
    procedure Mask_All;
    procedure Unmask_All;

end Sticker;