Internal structure defining the series list items.
More...
Internal structure defining the series list items.
Definition at line 78 of file dsrsoprf.h.
DSRSOPInstanceReferenceList::SeriesStruct::SeriesStruct |
( |
const OFString & |
seriesUID | ) |
|
constructor
- Parameters
-
seriesUID | series instance UID |
add new entry to the list of instances (if not already existent).
Finally, the specified item is selected as the current one.
- Parameters
-
sopClassUID | SOP class UID of the entry to be added |
instanceUID | SOP instance UID of the entry to be added |
- Returns
- status, EC_Normal if successful, an error code otherwise
size_t DSRSOPInstanceReferenceList::SeriesStruct::getNumberOfInstances |
( |
| ) |
const |
get number of instance stored in the list of instances
- Returns
- number of instances
OFCondition DSRSOPInstanceReferenceList::SeriesStruct::gotoFirstItem |
( |
| ) |
|
select the first item in the list.
That means the first instance in the current series.
- Returns
- status, EC_Normal if successful, an error code otherwise
set cursor to the specified instance (if existent)
- Parameters
-
instanceUID | SOP instance UID of the entry to be searched for |
- Returns
- pointer to the instance structure if successful, NULL otherwise
OFCondition DSRSOPInstanceReferenceList::SeriesStruct::gotoNextItem |
( |
| ) |
|
select the next item in the list.
That means the next instance in the current series (if available).
- Returns
- status, EC_Normal if successful, an error code otherwise
read instance level attributes from dataset
- Parameters
-
dataset | DICOM dataset from which the list should be read |
- Returns
- status, EC_Normal if successful, an error code otherwise
read series and instance level attributes from XML document
- Parameters
-
doc | document containing the XML file content |
cursor | cursor pointing to the starting node |
- Returns
- status, EC_Normal if successful, an error code otherwise
OFCondition DSRSOPInstanceReferenceList::SeriesStruct::removeItem |
( |
| ) |
|
remove the current item from the list of instances.
After sucessful removal the cursor is set to the next valid position.
- Returns
- status, EC_Normal if successful, an error code otherwise
write series and instance level attributes to dataset
- Parameters
-
dataset | DICOM dataset to which the list should be written |
- Returns
- status, EC_Normal if successful, an error code otherwise
OFCondition DSRSOPInstanceReferenceList::SeriesStruct::writeXML |
( |
STD_NAMESPACE ostream & |
stream, |
|
|
const size_t |
flags = 0 |
|
) |
| const |
write series and instance level attributes in XML format
- Parameters
-
stream | output stream to which the XML document is written |
flags | optional flag used to customize the output (see DSRTypes::XF_xxx) |
- Returns
- status, EC_Normal if successful, an error code otherwise
The documentation for this struct was generated from the following file: