|
DCMTK
Version 3.6.9
OFFIS DICOM Toolkit
|
Internal structure defining the study list items. More...
Public Member Functions | |
| StudyStruct (const OFString &studyUID) | |
| constructor More... | |
| ~StudyStruct () | |
| destructor | |
| size_t | getNumberOfInstances () const |
| get number of instance stored in the list of series More... | |
| OFCondition | read (DcmItem &dataset, const size_t flags) |
| read series and instance level from dataset More... | |
| OFCondition | write (DcmItem &dataset) const |
| write study, series and instance level attributes to dataset More... | |
| OFCondition | readXML (const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags) |
| read study, series and instance level attributes from XML document More... | |
| OFCondition | writeXML (STD_NAMESPACE ostream &stream, const size_t flags) const |
| write study, series and instance level attributes in XML format More... | |
| SeriesStruct * | gotoSeries (const OFString &seriesUID) |
| set cursor to the specified series entry (if existent) More... | |
| InstanceStruct * | gotoInstance (const OFString &instanceUID) |
| set cursor to the specified instance entry (if existent) More... | |
| OFCondition | gotoFirstItem () |
| select the first item in the list. More... | |
| OFCondition | gotoNextItem () |
| select the next item in the list. More... | |
| OFCondition | addItem (const OFString &seriesUID, const OFString &sopClassUID, const OFString &instanceUID) |
| add new entry to the list of series and instances (if not already existent). More... | |
| OFCondition | removeItem () |
| remove the current item from the list of series and instances. More... | |
| void | removeIncompleteItems () |
| remove empty/incomplete items from the list. More... | |
| OFListIterator (SeriesStruct *) Iterator | |
| currently selected series (cursor) | |
Public Attributes | |
| const OFString | StudyUID |
| Study Instance UID (VR=UI, type 1) | |
| OFList< SeriesStruct * > | SeriesList |
| list of referenced series | |
Internal structure defining the study list items.
| DSRSOPInstanceReferenceList::StudyStruct::StudyStruct | ( | const OFString & | studyUID | ) |
constructor
| studyUID | study instance UID |
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::addItem | ( | const OFString & | seriesUID, |
| const OFString & | sopClassUID, | ||
| const OFString & | instanceUID | ||
| ) |
add new entry to the list of series and instances (if not already existent).
Finally, the specified items are selected as the current one.
| seriesUID | series instance UID of the entry to be added |
| sopClassUID | SOP class UID of the entry to be added |
| instanceUID | SOP instance UID of the entry to be added |
| size_t DSRSOPInstanceReferenceList::StudyStruct::getNumberOfInstances | ( | ) | const |
get number of instance stored in the list of series
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::gotoFirstItem | ( | ) |
select the first item in the list.
That means the first instance in the first series of the current study.
| InstanceStruct* DSRSOPInstanceReferenceList::StudyStruct::gotoInstance | ( | const OFString & | instanceUID | ) |
set cursor to the specified instance entry (if existent)
| instanceUID | SOP instance UID of the entry to be searched for |
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::gotoNextItem | ( | ) |
select the next item in the list.
That means the next instance in the current series, or the first instance in the next series (if available).
| SeriesStruct* DSRSOPInstanceReferenceList::StudyStruct::gotoSeries | ( | const OFString & | seriesUID | ) |
set cursor to the specified series entry (if existent)
| seriesUID | series instance UID of the entry to be searched for |
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::read | ( | DcmItem & | dataset, |
| const size_t | flags | ||
| ) |
read series and instance level from dataset
| dataset | DICOM dataset from which the list should be read |
| flags | flag used to customize the reading process (see DSRTypes::RF_xxx) |
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::readXML | ( | const DSRXMLDocument & | doc, |
| DSRXMLCursor | cursor, | ||
| const size_t | flags | ||
| ) |
read study, series and instance level attributes from XML document
| doc | document containing the XML file content |
| cursor | cursor pointing to the starting node |
| flags | flag used to customize the reading process (see DSRTypes::XF_xxx) |
| void DSRSOPInstanceReferenceList::StudyStruct::removeIncompleteItems | ( | ) |
remove empty/incomplete items from the list.
(e.g. series with no instances) Please note that this function modifies the value of 'Iterator'.
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::removeItem | ( | ) |
remove the current item from the list of series and instances.
After successful removal the cursors are set to the next valid position.
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::write | ( | DcmItem & | dataset | ) | const |
write study, series and instance level attributes to dataset
| dataset | DICOM dataset to which the list should be written |
| OFCondition DSRSOPInstanceReferenceList::StudyStruct::writeXML | ( | STD_NAMESPACE ostream & | stream, |
| const size_t | flags | ||
| ) | const |
write study, series and instance level attributes in XML format
| stream | output stream to which the XML document is written |
| flags | flag used to customize the output (see DSRTypes::XF_xxx) |