The QTPlgDicomDirectoryDocument class lets you deal with the Basic Directory Information data structure defined by the Dicom Standard. This structure shall contain a Media Storage Directory SOP Class.
Since version 6.3 of the plugin this class can be used in Console Applications
→ →
The QTPlgDicomDirectoryDocument class constructors are called when you create a new instance of the class, while the ˜QTPlgDicomDirectoryDocument class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. See the validity requirements for more details.
The class provides you with the following initializer methods:
()
This is the default constructor. Use it to create a new empty container in memory; the class automatically allocates a
default object and
sets its property to
the appropriate SOP Instance UID (see also the constant value listed into the
section)
(other as QTPlgDicomDirectoryDocument)
This is the copy constructor. The properties of the object to be copied will be used to initialize the
new class instance properties
(src as folderitem)
use this constructor version to load in memory the Basic Directory Information data structure stored into the file specified
by the src parameter; if the selected file is not a DICOMDIR file, the initialization fails
and the object
specifies the file–set information module along with the directory information module that make up the
Basic Directory Information data structure
specifies the root directory entity included into the
class property
as all that you need to work with Basic Directory Information data structures is the
object, this property has no effect