Static Public Member Functions | |
static OFCondition | loadFileFormat (const char *filename, DcmFileFormat *&fileformat) |
helper function which loads a DICOM file and returns a pointer to a DcmFileFormat object if loading succeeds. | |
static OFCondition | saveFileFormat (const char *filename, DcmFileFormat *fileformat, OFBool explicitVR) |
helper function which saves a DICOM object to file. | |
static OFCondition | putStringValue (DcmItem *item, DcmTagKey tag, const char *value=NULL) |
helper function that inserts a new element into a DICOM dataset. | |
static OFCondition | putUint16Value (DcmItem *item, DcmTagKey tag, Uint16 value) |
helper function that inserts a new element into a DICOM dataset. | |
static void | cleanChildren (OFConsole *logconsole=NULL) |
helper function that cleans up pending processes under Unix. | |
static void | currentDate (OFString &str) |
helper function that writes the current date in DICOM format (YYYYMMDD) | |
static void | currentTime (OFString &str) |
helper function that writes the current time in DICOM format (HHMMSS) | |
static void | setDefault (OFCondition &result, DcmElement &a_name, const char *a_value) |
assigns the given value to the given DICOM element if it is empty and the status is OK, returns new status. | |
static OFBool | haveReferencedUIDItem (DcmSequenceOfItems &seq, const char *uid) |
static helper method that checks whether the given sequence contains an item with a ReferencedSOPClassUID element that matches the given UID string. | |
static OFCondition | addReferencedUIDItem (DcmSequenceOfItems &seq, const char *uid) |
static helper method that adds an item to the given sequence. |
Definition at line 44 of file dvpshlp.h.
|
static helper method that adds an item to the given sequence. The item contains a ReferencedSOPClassUID element with the given UID string as value.
|
|
helper function that cleans up pending processes under Unix. No function if used on Windows.
|
|
helper function that writes the current date in DICOM format (YYYYMMDD)
|
|
helper function that writes the current time in DICOM format (HHMMSS)
|
|
static helper method that checks whether the given sequence contains an item with a ReferencedSOPClassUID element that matches the given UID string.
|
|
helper function which loads a DICOM file and returns a pointer to a DcmFileFormat object if loading succeeds.
|
|
helper function that inserts a new element into a DICOM dataset. A new DICOM element of the type determined by the tag is created. The string value (if any) is assigned and the element is inserted into the dataset. Only tags corresponding to string VRs may be passed.
|
|
helper function that inserts a new element into a DICOM dataset. A new DICOM element of type "US" is created, the value is assigned and the element is inserted into the dataset.
|
|
helper function which saves a DICOM object to file.
|
|
assigns the given value to the given DICOM element if it is empty and the status is OK, returns new status.
|