Public Member Functions | |
DVPSReferencedSeries () | |
default constructor | |
DVPSReferencedSeries (const DVPSReferencedSeries ©) | |
copy constructor | |
DVPSReferencedSeries * | clone () |
clone method. | |
virtual | ~DVPSReferencedSeries () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads an series reference from a DICOM dataset. | |
OFCondition | write (DcmItem &dset) |
writes the series reference managed by this object to a DICOM dataset. | |
OFBool | isValid (OFString &sopclassuid) |
check if the passed SOP Class UID is equal to the ones stored in this object. | |
OFBool | isSeriesUID (const char *uid) |
compare SOP Instance UID. | |
DVPSReferencedImage * | findImageReference (const char *sopinstanceuid) |
checks if an image reference with the given SOP instance UID exists in the ReferencedImageSequence of this series reference. | |
void | removeImageReference (const char *sopinstanceuid) |
remove image reference from this series reference if present. | |
void | setSeriesInstanceUID (const char *uid) |
set Series Instance UID of this series reference. | |
void | setRetrieveLocation (const char *aetitle=NULL, const char *filesetID=NULL, const char *filesetUID=NULL) |
set the optional retrieve location for this series reference. | |
const char * | getRetrieveAETitle () |
gets the retrieveAETitle for this series reference. | |
const char * | getStorageMediaFileSetID () |
gets the storageMediaFileSetID for this series reference. | |
const char * | getStorageMediaFileSetUID () |
gets the storageMediaFileSetUID for this series reference. | |
OFCondition | addImageReference (const char *sopclassUID, const char *instanceUID, const char *frames=NULL) |
add image reference to this series reference. | |
size_t | numberOfImageReferences () const |
gets the number of image references in this object. | |
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. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
Private Member Functions | |
DVPSReferencedSeries & | operator= (const DVPSReferencedSeries &) |
private undefined assignment operator | |
Private Attributes | |
DVPSReferencedImage_PList | referencedImageList |
Referenced Image Sequence. | |
DcmUniqueIdentifier | seriesInstanceUID |
VR=UI, VM=1, Type 1c. | |
DcmApplicationEntity | retrieveAETitle |
VR=AE, VM=1, Type 3. | |
DcmShortString | storageMediaFileSetID |
VR=SH, VM=1, Type 3. | |
DcmUniqueIdentifier | storageMediaFileSetUID |
VR=UI, VM=1, Type 3. | |
OFConsole * | logstream |
output stream for error messages, never NULL | |
OFBool | verboseMode |
flag indicating whether we're operating in verbose mode | |
OFBool | debugMode |
flag indicating whether we're operating in debug mode |
This class manages the data structures comprising one item of the Referenced Series Sequence in a Presentation State object.
Definition at line 46 of file dvpsrs.h.
|
add image reference to this series reference. A new image reference for this series is created. The image SOP instance UID must be unique (must not yet exist as a reference in this series), otherwise an error code is returned.
|
|
clone method.
Definition at line 59 of file dvpsrs.h. References DVPSReferencedSeries(). |
|
checks if an image reference with the given SOP instance UID exists in the ReferencedImageSequence of this series reference.
|
|
gets an image reference with the given index.
|
|
gets the retrieveAETitle for this series reference.
|
|
gets the storageMediaFileSetID for this series reference.
|
|
gets the storageMediaFileSetUID for this series reference.
|
|
compare SOP Instance UID.
|
|
check if the passed SOP Class UID is equal to the ones stored in this object. This method checks whether this object contains at least one image reference and whether all image references use the same SOP class UID as the one passed. If sopclassuid is empty, the referencedSOPClassUID of the first image reference is assigned to it.
|
|
gets the number of image references in this object.
Definition at line 163 of file dvpsrs.h. References referencedImageList, and DVPSReferencedImage_PList::size(). |
|
reads an series reference from a DICOM dataset. The DICOM elements of the referenced series item are copied from the dataset to this object. The completeness of the item (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
remove image reference from this series reference if present. If an image reference with a SOP instance UID corresponding to the passed UID is found, it is removed from this series reference.
|
|
sets a new log stream
|
|
set the optional retrieve location for this series reference.
|
|
set Series Instance UID of this series reference.
|
|
writes the series reference managed by this object to a DICOM dataset. Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
|