33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmdata/dcitem.h"
148 const char *seriesUID,
149 const char *sopclassUID,
150 const char *instanceUID,
151 const char *frames=NULL,
152 const char *aetitle=NULL,
153 const char *filesetID=NULL,
154 const char *filesetUID=NULL);
void clear()
reset the object to initial state.
a class representing a list of DICOM elements in which each element has a different tag and elements ...
DVPSReferencedSeries * findSeriesReference(const char *seriesUID)
find series reference in this list.
size_t numberOfImageReferences()
gets the number of image references in all series managed by this list.
OFCondition write(DcmItem &dset)
writes the list of series references managed by this object to a DICOM dataset.
an item of the referenced series sequence in a presentation state (internal use only).
OFCondition addImageReference(const char *seriesUID, const char *sopclassUID, const char *instanceUID, const char *frames=NULL, const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL)
add new image reference.
DVPSReferencedSeries_PList()
default constructor
OFList< DVPSReferencedSeries * > list_
the list maintained by this object
void removeImageReference(const char *seriesUID, const char *instanceUID)
removes image reference.
OFCondition read(DcmItem &dset)
reads a list of series references (ReferencedSeriesSequence) from a DICOM dataset.
void removeSeriesReference(const char *seriesUID)
removes series reference.
an item of the referenced image sequence in a presentation state (internal use only).
DVPSReferencedSeries_PList & operator=(const DVPSReferencedSeries_PList &)
private undefined assignment operator
OFBool checkSOPClass(const char *uid)
checks whether all images referenced in this series use the passed SOP class UID. ...
OFBool isValid()
checks whether at least one series is referenced, whether all referenced series contain image referen...
DVPSReferencedSeries_PList * clone()
clone method.
the list of referenced series contained in a presentation state (internal use only).
a simple string class that implements a subset of std::string.
virtual ~DVPSReferencedSeries_PList()
destructor
OFCondition getImageReference(size_t idx, OFString &seriesUID, OFString &sopclassUID, OFString &instanceUID, OFString &frames, OFString &aetitle, OFString &filesetID, OFString &filesetUID)
gets an image reference with the given index.
DVPSReferencedImage * findImageReference(const char *seriesUID, const char *instanceUID)
find image reference in this list.
General purpose class for condition codes.