|
IDL Reference Guide: File Format Object Classes |
|
The IDLffDICOM::Cleanup procedure method destroys the IDLffDICOM object.
| Note Cleanup methods are special lifecycle methods, and as such cannot be called outside the context of object creation and destruction. This means that in most cases, you cannot call the Cleanup method directly. There is one exception to this rule: if you write your own subclass of this class, you can call the Cleanup method from within the Init or Cleanup method of the subclass. |
OBJ_DESTROY, Obj
or
Obj->[IDLffDICOM::]Cleanup (In a lifecycle method only.)
None
None
; Create a DICOM object, read a DICOM file and dump its contents: obj = OBJ_NEW( 'IDLffDICOM' ) var = obj->Read(DIALOG_PICKFILE(FILTER="*")) obj->DumpElements OBJ_DESTROY, obj ; Executing this statement should produce an invalid object ; reference error since obj no longer exists: obj->DumpElements
IDL Online Help (March 06, 2007)