Oberon || Library || Module Index || Search Engine || Definition || Module
TYPE NameSpace = POINTER TO NameSpaceRec; TYPE NameSpaceRec = RECORD (Disciplines.ObjectRec) END;
PROCEDURE GetObject(space: NameSpace; path: Streams.Stream; VAR obj: NamedObjects.Object): BOOLEAN; PROCEDURE InsertObject(space: NameSpace; path: Streams.Stream; obj: NamedObjects.Object): BOOLEAN; PROCEDURE DeleteObject(space: NameSpace; path: Streams.Stream): BOOLEAN; PROCEDURE CreateNameSpace(VAR space: NameSpace);
CreateNameSpace creates a new name space.
InsertObject inserts an object into the given name-space space under the supplied path. Necessary directory-nodes are inserted, too. With a successful insert the result is TRUE.
DeleteObject deletes object with given path from name-space space. Directory-nodes up to last fork are also deleted. The procedure returns FALSE if there are errors.
GetObject fetches object of a given path from name-space space. Returns FALSE if there are errors or if there is no object with that path in the space.
Oberon || Library || Module Index || Search Engine || Definition || Module