The IDLffDICOM::DumpElements procedure method dumps a description of the DICOM data elements of the IDLffDICOM object to the screen or to a file.

Syntax


Obj->[IDLffDICOM::]DumpElements [, Filename]

Arguments


Filename

A scalar string containing the full path and filename of the file to which to dump the elements. The file is written as ASCII text.

Keywords


None

Examples


The columns output by DumpElements are the element reference, the (group, element) tuple, the value representation, the description, the value length, and some of the data values.

; Create a DICOM object, read a DICOM file and dump its contents:
obj = OBJ_NEW( 'IDLffDICOM' )
var = obj->Read(DIALOG_PICKFILE(FILTER='*'))
obj->DumpElements
 
; Dump the contents of the current DICOM object to a file under
; Windows:
obj->DumpElements, 'c:\myData\elements.dmp'
 
; Dump the contents of the current DICOM object to a file under
; UNIX:
obj->DumpElements, '/myData/elements.dmp'
 
OBJ_DESTROY, obj

Version History


5.2

Introduced