Build.mesa
Ousterhout, April 9, 1985 3:08:15 pm PST
Barth, February 17, 1986 1:52:47 pm PST
This file defines the network-building interface, which consists of two routines, one to read .sim format files and the other to read .thy format files.
DIRECTORY Core, Globals, Rope;
Build: CEDAR DEFINITIONS = {
NetFromSim: PROC[file: Rope.ROPE] RETURNS[error: Rope.ROPE];
Reads in a file in .sim format and builds up the network structure, filling in NodeTable with all of the node names. The return result is either NIL to indicate success, or else it contains an error string.
NetFromThyme: PROC[file: Rope.ROPE];
Reads in a file in Thyme format and builds up the network structure, filling in NodeTable with all of the nodenames. Errors will be printed on StdOut if problems are encountered.
Stats: PROC[];
Prints out statistics gathered while reading in files.
BuildNode: PROC[name: Rope.ROPE] RETURNS [Globals.Node];
Returns a pointer to a node structure for the node named "name", creating a new node if one didn't already exist by that name.
Units: REAL;
Tells how many microns there are for each logical unit.
}.