33 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmdata/dcitem.h"
35 #include "dcmtk/dcmpstat/dvpstyp.h"
99 const char *instanceuid,
a class representing a list of DICOM elements in which each element has a different tag and elements ...
DVPSAnnotationContent_PList()
default constructor
DVPSAnnotationContent_PList * clone()
clone method.
OFCondition addAnnotationBox(const char *instanceuid, const char *text, Uint16 position)
creates a new annotation object and sets the content of this annotation object.
OFCondition deleteAnnotation(size_t idx)
deletes one of the registered annotations.
OFCondition read(DcmItem &dset)
reads a list of annotations (AnnotationContentSequence) from a DICOM dataset.
OFCondition deleteMultipleAnnotations(size_t number)
deletes multiple of the registered annotations, starting with the first one.
the representation of a Annotation Content SQ item for Stored Print
void clearAnnotationSOPInstanceUIDs()
removes all UIDs from the annotation boxes managed by this object
the list of Annotations contained in a stored print object.
const char * getSOPInstanceUID(size_t idx)
gets the current SOP Instance UID for the given registered annotation.
DVPSAnnotationContent * getAnnotationBox(size_t idx)
returns a pointer to the annotation with the given index or NULL if it does not exist.
OFCondition setAnnotationSOPInstanceUID(size_t idx, const char *value)
sets the SOP instance UID for the given annotation.
OFCondition prepareBasicAnnotationBox(size_t idx, DcmItem &dset)
writes the attributes managed by the referenced object that are part of a basic annotation box N-SET ...
DVPSAnnotationContent_PList & operator=(const DVPSAnnotationContent_PList &)
private undefined assignment operator
OFCondition write(DcmItem &dset)
writes the list of annotations managed by this object to a DICOM dataset.
virtual ~DVPSAnnotationContent_PList()
destructor
size_t size() const
returns number of elements in the list.
size_t size() const
gets the number of annotations in this list.
OFList< DVPSAnnotationContent * > list_
the list maintained by this object
General purpose class for condition codes.
void clear()
reset the object to initial state.