34 #include "dcmtk/config/osconfig.h"
35 #include "dcmtk/dcmdata/dcsequen.h"
a class representing a list of DICOM elements in which each element has a different tag and elements ...
class maintaining a attribute tag (group and element number)
abstract base class for all DICOM elements
class representing a DICOM Sequence of Items (SQ).
static void cleanChildren()
helper function that cleans up pending processes under Unix.
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...
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 s...
static OFCondition saveFileFormat(const char *filename, DcmFileFormat *fileformat, OFBool explicitVR)
helper function which saves a DICOM object to file.
this class contains a collection of static helper methods.
static OFCondition putUint16Value(DcmItem *item, DcmTagKey tag, Uint16 value)
helper function that inserts a new element into a DICOM dataset.
static void currentTime(OFString &str)
helper function that writes the current time in DICOM format (HHMMSS)
a simple string class that implements a subset of std::string.
static void currentDate(OFString &str)
helper function that writes the current date in DICOM format (YYYYMMDD)
static OFCondition addReferencedUIDItem(DcmSequenceOfItems &seq, const char *uid)
static helper method that adds an item to the given sequence.
static OFBool haveReferencedUIDItem(DcmSequenceOfItems &seq, const char *uid)
static helper method that checks whether the given sequence contains an item with a ReferencedSOPClas...
static OFCondition putStringValue(DcmItem *item, DcmTagKey tag, const char *value=NULL)
helper function that inserts a new element into a DICOM dataset.
General purpose class for condition codes.