33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmdata/dcvrui.h"
35 #include "dcmtk/dcmdata/dcvris.h"
a class representing the DICOM value representation 'Integer String' (IS)
a class representing a list of DICOM elements in which each element has a different tag and elements ...
OFBool validateSOPClassUID(OFString &sopclassuid)
check if the passed SOP Class UID is equal to the one stored in this object.
a class representing the DICOM value representation 'Unique Identifier' (UI)
OFCondition getImageReference(OFString &sopclassUID, OFString &instanceUID, OFString &frames)
gets the image reference managed by this object.
unsigned long frameCacheEntries
describes array size of frameCache
void setSOPInstanceUID(const char *uid)
set SOP Instance UID of this image reference.
DcmUniqueIdentifier referencedSOPInstanceUID
VR=UI, VM=1, Type 1c.
virtual ~DVPSReferencedImage()
destructor
OFBool appliesOnlyToFrame(unsigned long frame)
checks whether this image reference applies exactly to the given frame number.
DcmUniqueIdentifier referencedSOPClassUID
VR=UI, VM=1, Type 1c.
OFCondition read(DcmItem &dset)
reads an image reference from a DICOM dataset.
void setSOPClassUID(const char *uid)
set SOP Class UID of this image reference.
OFCondition write(DcmItem &dset)
writes the image reference managed by this object to a DICOM dataset.
DcmIntegerString referencedFrameNumber
VR=IS, VM=1-n, Type 1c.
an item of the referenced image sequence in a presentation state (internal use only).
void flushCache()
flushes the frame cache.
void updateCache()
updated the frame cache.
OFBool appliesToFrame(unsigned long frame)
checks whether this image reference applies to the given frame number.
Sint32 * frameCache
if exists, contains binary representation of referencedFrameNumber
DVPSReferencedImage()
default constructor
void removeFrameReference(unsigned long frame, unsigned long numberOfFrames)
update the reference such that the given frame is not referenced any more.
DVPSReferencedImage * clone()
clone method.
OFBool appliesToAllFrames()
checks whether this image reference applies all frames because the referencedFrameNumber is empty...
a simple string class that implements a subset of std::string.
void setFrameNumbers(const char *frames)
set the list of frame numbers of this image reference.
DVPSReferencedImage & operator=(const DVPSReferencedImage &source)
undefined private assignment operator
OFBool isSOPInstanceUID(const char *uid)
compare SOP Instance UID.
General purpose class for condition codes.