|
DCMTK
Version 3.6.9
OFFIS DICOM Toolkit
|
Internal structure defining the series list items. More...
Public Member Functions | |
| SeriesStruct (const OFString &seriesUID) | |
| constructor More... | |
| ~SeriesStruct () | |
| destructor | |
| size_t | getNumberOfInstances () const |
| get number of instance stored in the list of instances More... | |
| OFCondition | read (DcmItem &dataset, const size_t flags) |
| read instance level attributes from dataset More... | |
| OFCondition | write (DcmItem &dataset) const |
| write series and instance level attributes to dataset More... | |
| OFCondition | readXML (const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags) |
| read series and instance level attributes from XML document More... | |
| OFCondition | writeXML (STD_NAMESPACE ostream &stream, const size_t flags) const |
| write series and instance level attributes in XML format More... | |
| InstanceStruct * | gotoInstance (const OFString &instanceUID) |
| set cursor to the specified instance (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 &sopClassUID, const OFString &instanceUID) |
| add new entry to the list of instances (if not already existent). More... | |
| OFCondition | removeItem () |
| remove the current item from the list of instances. More... | |
| OFListIterator (InstanceStruct *) Iterator | |
| currently selected instance (cursor) | |
Public Attributes | |
| const OFString | SeriesUID |
| Series Instance UID (VR=UI, VM=1, type 1) | |
| OFString | RetrieveAETitle |
| Retrieve Application Entity Title (VR=AE, VM=1-n, type 3) | |
| OFString | RetrieveLocationUID |
| Retrieve Location UID (VR=UI, VM=1, type 3) | |
| OFString | StorageMediaFileSetID |
| Storage Media File Set ID (VR=SH, VM=1, type 3) | |
| OFString | StorageMediaFileSetUID |
| Storage Media File Set UID (VR=UI, VM=1, type 3) | |
| OFList< InstanceStruct * > | InstanceList |
| list of referenced instances | |
Internal structure defining the series list items.
| DSRSOPInstanceReferenceList::SeriesStruct::SeriesStruct | ( | const OFString & | seriesUID | ) |
constructor
| seriesUID | series instance UID |
| OFCondition DSRSOPInstanceReferenceList::SeriesStruct::addItem | ( | const OFString & | sopClassUID, |
| const OFString & | instanceUID | ||
| ) |
add new entry to the list of instances (if not already existent).
Finally, the specified item is selected as the current one.
| sopClassUID | SOP class UID of the entry to be added |
| instanceUID | SOP instance UID of the entry to be added |
| size_t DSRSOPInstanceReferenceList::SeriesStruct::getNumberOfInstances | ( | ) | const |
get number of instance stored in the list of instances
| OFCondition DSRSOPInstanceReferenceList::SeriesStruct::gotoFirstItem | ( | ) |
select the first item in the list.
That means the first instance in the current series.
| InstanceStruct* DSRSOPInstanceReferenceList::SeriesStruct::gotoInstance | ( | const OFString & | instanceUID | ) |
set cursor to the specified instance (if existent)
| instanceUID | SOP instance UID of the entry to be searched for |
| OFCondition DSRSOPInstanceReferenceList::SeriesStruct::gotoNextItem | ( | ) |
select the next item in the list.
That means the next instance in the current series (if available).
| OFCondition DSRSOPInstanceReferenceList::SeriesStruct::read | ( | DcmItem & | dataset, |
| const size_t | flags | ||
| ) |
read instance level attributes 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::SeriesStruct::readXML | ( | const DSRXMLDocument & | doc, |
| DSRXMLCursor | cursor, | ||
| const size_t | flags | ||
| ) |
read 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) |
| OFCondition DSRSOPInstanceReferenceList::SeriesStruct::removeItem | ( | ) |
remove the current item from the list of instances.
After successful removal the cursor is set to the next valid position.
| OFCondition DSRSOPInstanceReferenceList::SeriesStruct::write | ( | DcmItem & | dataset | ) | const |
write series and instance level attributes to dataset
| dataset | DICOM dataset to which the list should be written |
| OFCondition DSRSOPInstanceReferenceList::SeriesStruct::writeXML | ( | STD_NAMESPACE ostream & | stream, |
| const size_t | flags | ||
| ) | const |
write 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) |