<> <> <> <> DIRECTORY CD, CDGenerate, Rope; CDGenerateRemote: CEDAR DEFINITIONS = BEGIN <> <> GetRemoteContext: PROC [remoteDesign: Rope.ROPE] RETURNS [CDGenerate.Context]; <<--Creates a generator context, "generating" = fetching an object from the remote design. >> <<--Generating objects with the context will cause reading remoteDesign if it >> <<--is not loaded; the design read will then be cached for the destination design. >> RemoteDesignName: PROC [context: CDGenerate.Context] RETURNS [Rope.ROPE]; <<--Returns design name of remote design, if context was generated using GetRemoteContext>> GetRemoteObject: PROC [for: CD.Design, remoteDesign: Rope.ROPE, object: Rope.ROPE] RETURNS [CD.Object]; <<--Transferes object (and its children) from other remoteDesign.>> <<--Reads remoteDesign if necessary. >> <<--Returns NIL if object not found.>> END.