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

⟦ece7b3925⟧ Ada Source

    Length: 6144 (0x1800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Cmvc_Hierarchy, pragma Module_Name 4 3702, pragma Subsystem Cmvc, seg_0015e1

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



package Cmvc_Hierarchy is


    -- Operations to manipulate Cmvc "Systems".  Each system has some
    -- number of children which may be either subsystems or other
    -- systems.

    -- A system contains "system views".  Each system view contains
    -- an activity called the "release activity" which selects a
    -- released view for each child subsystem of the system.
    -- Thus, a system view describes a complete implementation of the
    -- entire system in much the same way that a load view contains a
    -- complete implementation of a subsystem.

    -- Systems and system views are created by commands in the Cmvc.
    -- Releasing a system view creates a new released system view.


    procedure Add_Child (Child : String := ">>SYSTEM/SUBSYSTEM NAME<<";
                         To_System : String := "<CURSOR>";  
                         Comments : String := "";
                         Work_Order : String := "<DEFAULT>";
                         Response : String := "<PROFILE>");

    -- This operation creates a structural link between the designated
    -- system and child.
    -- These links may not form cycles through child systems.


    procedure Remove_Child (Child : String := ">>SYSTEM/SUBSYSTEM NAME<<";
                            From_System : String := "<CURSOR>";  
                            Comments : String := "";
                            Work_Order : String := "<DEFAULT>";
                            Response : String := "<PROFILE>");

    -- The opposite of the operation above, this call will sever the
    -- connection between a child and a parent.


    procedure Build_Activity (Working_System_View : String := "<CURSOR>";
                              Views_To_Include : String := "<LATEST>";
                              Update_Imports : Boolean := True;  
                              Allow_Code_Views : Boolean := False;
                              Comments : String := "";
                              Work_Order : String := "<DEFAULT>";
                              Response : String := "<PROFILE>");

    -- Builds or updates the "release activity" in the working system view
    -- to include the specified views.  If <LATEST> is specified then
    -- the latest releases of all the children of the system are included.
    -- Spec views or releases are included in the release activity if
    -- the views have been created after the last time that build_activity
    -- was run on the specified working system view.
    -- Path restrictions may be used to control which releases are included.

    -- If Update_Imports is set then the system view is made to import
    -- all of the subsystem views referenced by the release activity.
    -- Note that this importing is subject to the normal compatibility
    -- requirements.

    -- If Allow_Code_Views is true then code-only views are treated like
    -- release in that they can be included in the release activity.
    -- Otherwise, only regular released views will be included in the
    -- release activity.


    procedure Expand_Activity (New_Activity : String := ">>NEW ACTIVITY NAME<<";
                               System_View : String := "<CURSOR>";
                               Response : String := "<PROFILE>");

    -- Make a copy of a release activity which does not contain any
    -- release views - replace all references to releases with the
    -- contents of that release.


    function Contents (Of_System_View : String := "<CURSOR>";
                       Recursive : Boolean := True;
                       Response : String := "<WARN>") return String;

    -- Returns the contents of the release_activity of the system view.


    function Children (Of_System : String := "<CURSOR>";
                       Recursive : Boolean := True;
                       Response : String := "<WARN>") return String;

    -- This subprogram returns a list of the children of a system.


    function Parents (Of_Subsystem : String := "<CURSOR>";
                      Recursive : Boolean := False;
                      Response : String := "<WARN>") return String;

    -- This returns a list of parent Systems.


    pragma Subsystem (Cmvc);
    pragma Module_Name (4, 3702);

end Cmvc_Hierarchy;

E3 Meta Data

    nblk1=5
    nid=0
    hdr6=a
        [0x00] rec0=18 rec1=00 rec2=01 rec3=032
        [0x01] rec0=16 rec1=00 rec2=02 rec3=006
        [0x02] rec0=11 rec1=00 rec2=03 rec3=066
        [0x03] rec0=19 rec1=00 rec2=04 rec3=03c
        [0x04] rec0=0e rec1=00 rec2=05 rec3=000
    tail 0x20300381e7da160b36809 0x42a00088462060003