Inheritance diagram for DSRSOPInstanceReferenceList:
Public Member Functions | |
DSRSOPInstanceReferenceList (const DcmTagKey &sequence) | |
constructor | |
~DSRSOPInstanceReferenceList () | |
destructor | |
void | clear () |
clear list of references | |
OFBool | empty () const |
check whether list of references is empty | |
size_t | getNumberOfInstances () const |
get number of instance stored in the list of references | |
OFCondition | read (DcmItem &dataset, OFConsole *logStream) |
read list of referenced SOP instances. | |
OFCondition | write (DcmItem &dataset, OFConsole *logStream) const |
write list of referenced SOP instances. | |
OFCondition | readXML (const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags) |
read list of references from XML document. | |
OFCondition | writeXML (ostream &stream, const size_t flags=0) const |
write current list of references in XML format | |
OFCondition | addItem (const OFString &studyUID, const OFString &seriesUID, const OFString &sopClassUID, const OFString &instanceUID) |
add the specified item to the list of references. | |
OFCondition | addItem (DcmItem &dataset) |
add item from specified DICOM dataset to the list of references. | |
OFCondition | removeItem () |
remove the current item from the list of referenced SOP instances. | |
OFCondition | removeItem (const OFString &sopClassUID, const OFString &instanceUID) |
remove the specified item from the list of references. | |
OFCondition | removeItem (const OFString &studyUID, const OFString &seriesUID, const OFString &instanceUID) |
remove the specified item from the list of references. | |
OFCondition | gotoItem (const OFString &sopClassUID, const OFString &instanceUID) |
select the specified item as the current one | |
OFCondition | gotoItem (const OFString &studyUID, const OFString &seriesUID, const OFString &instanceUID) |
select the specified item as the current one | |
OFCondition | gotoFirstItem () |
select the first item in the list. | |
OFCondition | gotoNextItem () |
select the next item in the list. | |
const OFString & | getStudyInstanceUID (OFString &stringValue) const |
get the study instance UID of the currently selected entry | |
const OFString & | getSeriesInstanceUID (OFString &stringValue) const |
get the series instance UID of the currently selected entry | |
const OFString & | getSOPInstanceUID (OFString &stringValue) const |
get the SOP instance UID of the currently selected entry | |
const OFString & | getSOPClassUID (OFString &stringValue) const |
get the SOP class UID of the currently selected entry | |
const OFString & | getRetrieveAETitle (OFString &stringValue) const |
get the retrieve application entity title of the currently selected entry (optional). | |
const OFString & | getStorageMediaFileSetID (OFString &stringValue) const |
get the storage media file set ID of the currently selected entry (optional) | |
const OFString & | getStorageMediaFileSetUID (OFString &stringValue) const |
get the storage media file set UID of the currently selected entry (optional) | |
OFCondition | setRetrieveAETitle (const OFString &value) |
set the retrieve application entity title of the currently selected entry. | |
OFCondition | setStorageMediaFileSetID (const OFString &value) |
set the storage media file set ID of the currently selected entry | |
OFCondition | setStorageMediaFileSetUID (const OFString &value) |
set the storage media file set UID of the currently selected entry | |
OFBool | containsExtendedCharacters () |
check if this object contains non-ASCII characters in one of the strings affected by SpecificCharacterSet in DICOM | |
Protected Member Functions | |
StudyStruct * | gotoStudy (const OFString &studyUID) |
set cursor to the specified study entry (if existent) | |
StudyStruct * | getCurrentStudy () const |
get pointer to currently selected study structure (if any) | |
SeriesStruct * | getCurrentSeries () const |
get pointer to currently selected series structure (if any) | |
InstanceStruct * | getCurrentInstance () const |
get pointer to currently selected instance structure (if any) | |
void | removeIncompleteItems () |
remove empty/incomplete items from the list. | |
Private Member Functions | |
OFListIterator (StudyStruct *) Iterator | |
internal cursor to current (selected) list item | |
DSRSOPInstanceReferenceList (const DSRSOPInstanceReferenceList &) | |
DSRSOPInstanceReferenceList & | operator= (const DSRSOPInstanceReferenceList &) |
Private Attributes | |
const DcmTagKey | SequenceTag |
DICOM tag specifying the attribute (sequence) of the reference list. | |
OFList< StudyStruct * > | StudyList |
list of studies | |
Classes | |
struct | InstanceStruct |
Internal structure defining the instance list items. More... | |
struct | SeriesStruct |
Internal structure defining the series list items. More... | |
struct | StudyStruct |
Internal structure defining the study list items. More... |
Definition at line 58 of file dsrsoprf.h.
|
constructor
|
|
add item from specified DICOM dataset to the list of references. Internally an item representing the given dataset is inserted into the hierarchical structure of studies, series and instances, if not already contained in the list. In any case the specified item is selected as the current one.
|
|
add the specified item to the list of references. Internally the item is inserted into the hierarchical structure of studies, series and instances, if not already contained in the list. In any case the specified item is selected as the current one.
|
|
check if this object contains non-ASCII characters in one of the strings affected by SpecificCharacterSet in DICOM
|
|
check whether list of references is empty
|
|
get pointer to currently selected instance structure (if any)
|
|
get pointer to currently selected series structure (if any)
|
|
get pointer to currently selected study structure (if any)
|
|
get number of instance stored in the list of references
|
|
get the retrieve application entity title of the currently selected entry (optional). The resulting string may contain multiple values separated by a backslash ("\").
|
|
get the series instance UID of the currently selected entry
|
|
get the SOP class UID of the currently selected entry
|
|
get the SOP instance UID of the currently selected entry
|
|
get the storage media file set ID of the currently selected entry (optional)
|
|
get the storage media file set UID of the currently selected entry (optional)
|
|
get the study instance UID of the currently selected entry
|
|
select the first item in the list. That means the first instance in the first series of the first study is selected (if available).
|
|
select the specified item as the current one
|
|
select the specified item as the current one
|
|
select the next item in the list. That means the next instance in the current series, or the first instance in the next series, or the first instance in the first series of the next study is selected (if available). The combination of this function and gotoFirstItem() allows to iterate over all referenced SOP instances.
|
|
set cursor to the specified study entry (if existent)
|
|
read list of referenced SOP instances. The hierarchical structure is automatically reorganized in a way that each study, each series (within a study) and each instance (within a series) only exist once, i.e. the structure might look different when written back to a dataset. However, the content is identical and this way of storing information saves storage space.
|
|
read list of references from XML document. The hierarchical structure is automatically reorganized in a way that each study, each series (within a study) and each instance (within a series) only exist once, i.e. the structure might look different when written back to a dataset. However, the content is identical and this way of storing information saves storage space.
|
|
remove empty/incomplete items from the list. (e.g. series with no instances or studies with no series) Please note that this function modifies the value of 'Iterator'. |
|
remove the specified item from the list of references. After sucessful removal the cursor is set to the next valid position.
|
|
remove the specified item from the list of references. After sucessful removal the cursor is set to the next valid position.
|
|
remove the current item from the list of referenced SOP instances. After sucessful removal the cursor is set to the next valid position.
|
|
set the retrieve application entity title of the currently selected entry. Multiple values are to be separated by a backslash ("\").
|
|
set the storage media file set ID of the currently selected entry
|
|
set the storage media file set UID of the currently selected entry
|
|
write list of referenced SOP instances. Does nothing if list is empty.
|
|
write current list of references in XML format
|