User's Guide

Example: Unlinking all instances of a class

Suppose you want to unlink instances of the class EmTimeStamp and unload them into a file. To do this, you use unlinkInstancesOfClasses: as shown in the following code fragment:

"Unlink instances of the class EmTimeStamp and unload them into removed.ic."
| result |
(result := ApplicationDumper new)
   ...
   unlinkInstancesOfClasses: (Array with: EmTimeStamp);
   ...
   dumpIntoFileNamed: 'removed.ic' path: '.' using: ComponentMaps.
   ...


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]