35 #include "dcmtk/config/osconfig.h"
37 #include "dcmtk/ofstd/oflist.h"
38 #include "dcmtk/ofstd/ofstring.h"
39 #include "dcmtk/ofstd/ofcond.h"
41 #include "dcmtk/dcmdata/dcitem.h"
42 #include "dcmtk/dcmdata/dctagkey.h"
44 #include "dcmtk/dcmsr/dsrtypes.h"
120 const size_t flags = 0)
const;
177 StudyStruct(
const OFString &studyUID);
214 const size_t flags = 0)
const;
290 OFBool
empty() const;
295 size_t getNumberOfInstances() const;
333 OFCondition writeXML(STD_NAMESPACE ostream &stream,
334 const
size_t flags = 0) const;
512 void removeIncompleteItems();
530 DSRSOPInstanceReferenceList &operator=(const DSRSOPInstanceReferenceList &);
a class representing a list of DICOM elements in which each element has a different tag and elements ...
class maintaining a attribute tag (group and element number)
OFCondition setStorageMediaFileSetUID(const OFString &value)
set the storage media file set UID of the currently selected entry
OFCondition read(DcmItem &dataset)
read instance level attributes from dataset
OFString StorageMediaFileSetID
optional: storage media file set ID (VR=SH, VM=1)
InstanceStruct * getCurrentInstance() const
get pointer to currently selected instance structure (if any)
StudyStruct * gotoStudy(const OFString &studyUID)
set cursor to the specified study entry (if existent)
OFString RetrieveAETitle
optional: retrieve application entity title (VR=AE, VM=1-n)
const OFString InstanceUID
SOP instance UID (VR=UI, VM=1)
OFCondition gotoItem(const OFString &sopClassUID, const OFString &instanceUID)
select the specified item as the current one
~SeriesStruct()
destructor
OFString StorageMediaFileSetUID
optional: storage media file set UID (VR=UI, VM=1)
const OFString & getSOPClassUID(OFString &stringValue) const
get the SOP class UID of the currently selected entry
InstanceStruct(const OFString &sopClassUID, const OFString &instanceUID)
constructor
OFCondition gotoNextItem()
select the next item in the list.
OFList< SeriesStruct * > SeriesList
list of referenced series
const OFString SeriesUID
series instance UID (VR=UI, VM=1)
OFCondition gotoFirstItem()
select the first item in the list.
SeriesStruct * getCurrentSeries() const
get pointer to currently selected series structure (if any)
InstanceStruct * gotoInstance(const OFString &instanceUID)
set cursor to the specified instance (if existent)
OFBool empty() const
check whether list of references is empty
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags=0) const
write series and instance level attributes in XML format
Internal structure defining the series list items.
SeriesStruct(const OFString &seriesUID)
constructor
OFCondition addItem(const OFString &sopClassUID, const OFString &instanceUID)
add new entry to the list of instances (if not already existent).
Internal structure defining the study list items.
OFListIterator(InstanceStruct *) Iterator
currently selected instance (cursor)
const OFString & getStorageMediaFileSetID(OFString &stringValue) const
get the storage media file set ID of the currently selected entry (optional)
Internal structure defining the instance list items.
const OFString & getStudyInstanceUID(OFString &stringValue) const
get the study instance UID of the currently selected entry
double linked list template class.
const OFString SOPClassUID
SOP class UID (VR=UI, VM=1)
const DcmTagKey SequenceTag
DICOM tag specifying the attribute (sequence) of the reference list.
void removeIncompleteItems()
remove empty/incomplete items from the list.
const OFString & getSOPInstanceUID(OFString &stringValue) const
get the SOP instance UID of the currently selected entry
size_t getNumberOfInstances() const
get number of instance stored in the list of instances
void clear()
clear list of references
const OFString & getSeriesInstanceUID(OFString &stringValue) const
get the series instance UID of the currently selected entry
OFList< InstanceStruct * > InstanceList
list of referenced instances
Class for SOP instance reference lists.
OFCondition setStorageMediaFileSetID(const OFString &value)
set the storage media file set ID of the currently selected entry
const OFString StudyUID
study instance UID (VR=UI, VM=1)
OFCondition removeItem()
remove the current item from the list of instances.
OFList< StudyStruct * > StudyList
list of studies
const OFString & getStorageMediaFileSetUID(OFString &stringValue) const
get the storage media file set UID of the currently selected entry (optional)
OFCondition write(DcmItem &dataset) const
write series and instance level attributes to dataset
General purpose class hiding global functions, constants and types from the global namespace...
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor)
read series and instance level attributes from XML document
OFCondition setRetrieveAETitle(const OFString &value)
set the retrieve application entity title of the currently selected entry.
a simple string class that implements a subset of std::string.
const OFString & getRetrieveAETitle(OFString &stringValue) const
get the retrieve application entity title of the currently selected entry (optional).
Class for XML document cursors.
StudyStruct * getCurrentStudy() const
get pointer to currently selected study structure (if any)
General purpose class for condition codes.