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 &);
OFCondition write(DcmItem &dataset) const
write list of referenced SOP instances.
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
size_t getNumberOfInstances() const
get number of instance stored in the list of references
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
OFCondition gotoNextItem()
select the next item in the list.
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
OFCondition gotoFirstItem()
select the first item in the list.
InstanceStruct(const OFString &sopClassUID, const OFString &instanceUID)
constructor
OFCondition readXML(const DSRXMLDocument &doc, DSRXMLCursor cursor, const size_t flags)
read list of references from XML document.
OFList< SeriesStruct * > SeriesList
list of referenced series
OFCondition addItem(const OFString &studyUID, const OFString &seriesUID, const OFString &sopClassUID, const OFString &instanceUID)
add the specified item to the list of references.
const OFString SeriesUID
series instance UID (VR=UI, VM=1)
SeriesStruct * getCurrentSeries() const
get pointer to currently selected series structure (if any)
OFBool empty() const
check whether list of references is empty
Internal structure defining the series list items.
Internal structure defining the study list items.
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.
OFCondition removeItem()
remove the current item from the list of referenced SOP instances.
OFListIterator(StudyStruct *) Iterator
internal cursor to current (selected) list item
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
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)
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)
General purpose class hiding global functions, constants and types from the global namespace...
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)
OFCondition read(DcmItem &dataset)
read list of referenced SOP instances.
OFCondition writeXML(STD_NAMESPACE ostream &stream, const size_t flags=0) const
write current list of references in XML format
General purpose class for condition codes.