33 #include "dcmtk/config/osconfig.h" 34 #include "dcmtk/dcmdata/dcitem.h" 35 #include "dcmtk/dcmpstat/dvpstyp.h" 109 void removeFrameReference(
const char *sopinstanceuid,
unsigned long frame,
unsigned long numberOfFrames);
128 const char *sopclassUID,
129 const char *instanceUID,
130 const char *frames=NULL);
143 const char *sopclassUID,
144 const char *instanceUID,
146 DVPSObjectApplicability applicability);
162 const char *instanceUID,
164 unsigned long numberOfFrames,
165 DVPSObjectApplicability applicability);
191 OFBool
isApplicable(
const char *instanceUID,
unsigned long frame);
200 OFBool
matchesApplicability(
const char *instanceUID,
unsigned long frame, DVPSObjectApplicability applicability);
void clear()
reset the object to initial state.
OFCondition read(DcmItem &dset)
reads a list of image references (ReferencedImageSequence) from a DICOM dataset.
void removeFrameReference(const char *sopinstanceuid, unsigned long frame, unsigned long numberOfFrames)
update the reference to the given image such that the given frame is not referenced any more...
a class representing a list of DICOM elements in which each element has a different tag and elements ...
virtual ~DVPSReferencedImage_PList()
destructor
DVPSReferencedImage_PList & operator=(const DVPSReferencedImage_PList &)
private undefined assignment operator
OFBool isValid(OFString &sopclassuid)
checks if images are referenced within this ReferencedImageSequence and whether all images share the ...
OFCondition getImageReference(size_t idx, OFString &sopclassUID, OFString &instanceUID, OFString &frames)
gets an image reference with the given index.
DVPSReferencedImage * findImageReference(const char *sopinstanceuid)
checks if an image reference with the given SOP instance UID exists in this ReferencedImageSequence.
OFList< DVPSReferencedImage * > list_
the list maintained by this object
size_t size() const
gets the number of image references in this list.
an item of the referenced image sequence in a presentation state (internal use only).
the list of referenced series contained in a presentation state (internal use only).
OFCondition addImageReference(const char *sopclassUID, const char *instanceUID, const char *frames=NULL)
add a new image reference.
OFBool isApplicable(const char *instanceUID, unsigned long frame)
checks if the object containing this list of image references is applicable to the given image and fr...
OFCondition write(DcmItem &dset)
writes the list of image references managed by this object to a DICOM dataset.
a simple string class that implements a subset of std::string.
DVPSReferencedImage_PList * clone()
clone method.
size_t size() const
returns number of elements in the list.
OFBool matchesApplicability(const char *instanceUID, unsigned long frame, DVPSObjectApplicability applicability)
checks if the object containing this list of image references matches exactly the applicability defin...
void removeImageReference(const char *sopinstanceuid)
checks if an image reference with the given SOP instance UID exists in this ReferencedImageSequence a...
the list of referenced images contained in a presentation state (internal use only).
DVPSReferencedImage_PList()
default constructor
General purpose class for condition codes.