LayoutCheckpoint.mesa 
Copyright © 1986 by Xerox Corporation. All rights reversed.
Bertrand Serlet December 17, 1986 4:06:36 am PST
DIRECTORY CD, Core;
LayoutCheckpoint: CEDAR DEFINITIONS = BEGIN
Theory
This interface allows the user of PWCore to insert "layout checkpoints", that is places where the generated layout is stored on a file.
Conveniences
CellType : TYPE = Core.CellType;
ROPE: TYPE = Core.ROPE;
Wire: TYPE = Core.Wire;
Storing and retrieving entire Core + Layout
Store: PROC [cellType: CellType, withCuteFonts: BOOLFALSE];
Assumes that the cellType is decorated with layout.
Stores the Core itself on the file named "<nameOfCellType>.core".
Stores the layout on the file named "<nameOfCellType>Layout.dale".
Stores a shell of the layout on the file named "<nameOfCellType>Shell.dale".
Retrieve: PROC [name: ROPE] RETURNS [cellType: CellType];
Retrieves the Core itself from the file named "<nameOfCellType>.core".
Reattaches layout.
Decorates cellType with pins properties issued from a cell named "<nameOfCellType>" from the file named "<nameOfCellType>Shell.dale".
END.