Public Member Functions | |
DVPSPresentationLUT_PList () | |
default constructor | |
DVPSPresentationLUT_PList (const DVPSPresentationLUT_PList ©) | |
copy constructor | |
DVPSPresentationLUT_PList * | clone () |
clone method. | |
virtual | ~DVPSPresentationLUT_PList () |
destructor | |
OFCondition | read (DcmItem &dset) |
reads a list of Presentation LUTs (Presentation LUT Content Sequence) from a DICOM dataset. | |
OFCondition | write (DcmItem &dset) |
writes the list of Presentation LUTs managed by this object to a DICOM dataset. | |
void | clear () |
reset the object to initial state. | |
size_t | size () const |
gets the number of Presentation LUTs in this list. | |
void | setLog (OFConsole *stream, OFBool verbMode, OFBool dbgMode) |
sets a new log stream | |
DVPSPresentationLUT * | findPresentationLUT (const char *instanceUID) |
finds a presentation LUT by its SOP instance UID. | |
void | cleanup (const char *filmBox, DVPSImageBoxContent_PList &imageBoxes) |
removes all presentation LUT entries that are not referenced from the film box or image box level. | |
const char * | addPresentationLUT (DVPSPresentationLUT *newLUT, OFBool inversePLUT) |
adds a Presentation LUT to the list of managed LUTs. | |
void | insert (DVPSPresentationLUT *newLUT) |
adds a Presentation LUT to the list of managed LUT. | |
void | printSCPDelete (T_DIMSE_Message &rq, T_DIMSE_Message &rsp) |
performs a Print SCP Presentation LUT N-DELETE operation. | |
Private Member Functions | |
DVPSPresentationLUT_PList & | operator= (const DVPSPresentationLUT_PList &) |
private undefined assignment operator | |
Private Attributes | |
OFList< DVPSPresentationLUT * > | list_ |
the list maintained by this object | |
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 complete Presentation LUT Content Sequence.
Definition at line 51 of file dvpspll.h.
|
adds a Presentation LUT to the list of managed LUTs. The referenced LUT is copied. If an identical LUT already exists, no duplicate is created.
|
|
removes all presentation LUT entries that are not referenced from the film box or image box level.
|
|
reset the object to initial state. After this call, the object is in the same state as after creation with the default constructor. |
|
clone method.
Definition at line 64 of file dvpspll.h. References DVPSPresentationLUT_PList(). |
|
finds a presentation LUT by its SOP instance UID.
|
|
adds a Presentation LUT to the list of managed LUT. The LUT object becomes owned by this object and is destroyed upon destruction of the list.
Definition at line 131 of file dvpspll.h. References list_, and OFList< T >::push_back(). |
|
performs a Print SCP Presentation LUT N-DELETE operation. The results of the N-DELETE operation are stored in the object passed as rsp.
|
|
reads a list of Presentation LUTs (Presentation LUT Content Sequence) from a DICOM dataset. The DICOM elements of the image references item are copied from the dataset to this object. The completeness of all items (presence of all required elements, value multiplicity) is checked. If this method returns an error code, the object is in undefined state afterwards.
|
|
sets a new log stream
|
|
gets the number of Presentation LUTs in this list.
Definition at line 96 of file dvpspll.h. References list_, and OFList< T >::size(). |
|
writes the list of Presentation LUTs managed by this object to a DICOM dataset. Copies of the DICOM element managed by this object are inserted into the DICOM dataset.
|