|
virtual OFString | checkType1Attrib (const DcmTagKey &key, DcmDataset *targetDset) const |
| Checks whether a given tag exists in a dataset and is non-empty, otherwise returns an error string. More...
|
|
virtual OFString | checkAndInventType1Attrib (const DcmTagKey &key, DcmDataset *targetDset, const OFString &defaultValue="") const |
| Checks whether a given tag exists in a dataset and provides a non-empty value. More...
|
|
virtual OFString | checkAndInventType1CodeSQ (const DcmTagKey &key, DcmDataset *targetDset, const OFString &codeValue, const OFString &codeMeaning, const OFString &codingSchemeDesignator) const |
| Checks whether a given code sequence exists in a dataset and contains an item with the required attributes. More...
|
|
virtual OFString | checkAndInventType2Attrib (const DcmTagKey &key, DcmDataset *targetDset, const OFString &defaultValue="") const |
| Checks whether a given tag exists in a dataset (can be empty) If not, the tag is inserted (if enabled) with empty value. More...
|
|
◆ checkAndInventType1Attrib()
Checks whether a given tag exists in a dataset and provides a non-empty value.
If not, the tag is inserted (if enabled) and a default value is inserted.
- Parameters
-
key | - [in] The tag to be checked/inserted |
targetDset | - [in/out] The dataset to search (and insert) in |
defaultValue | - [in] The default value to set |
- Returns
- Error string, which is empty if no error occurs.
◆ checkAndInventType1CodeSQ()
Checks whether a given code sequence exists in a dataset and contains an item with the required attributes.
If not, the sequence is inserted (if enabled) and default values are inserted.
- Parameters
-
key | - [in] The code sequence tag to be checked/inserted |
targetDset | - [in/out] The dataset to search (and insert) in |
defaultValue | - [in] The default value to set |
- Returns
- Error string, which is empty if no error occurs.
◆ checkAndInventType2Attrib()
Checks whether a given tag exists in a dataset (can be empty) If not, the tag is inserted (if enabled) with empty value.
- Parameters
-
key | - [in] The tag to be checked/inserted |
targetDset | - [in/out] The dataset to search (and insert) in |
- Returns
- Error string, which is empty if no error occurs.
◆ checkType1Attrib()
Checks whether a given tag exists in a dataset and is non-empty, otherwise returns an error string.
- Parameters
-
key | - [in] The tag to be checked/inserted |
targetDset | - [in/out] The dataset to search (and insert) in |
- Returns
- Error string, which is empty if no error occurs.
◆ convert()
◆ ident()
virtual OFString I2DOutputPlug::ident |
( |
| ) |
|
|
pure virtual |
◆ insertMultiFrameAttributes()
virtual OFCondition I2DOutputPlug::insertMultiFrameAttributes |
( |
DcmDataset * |
targetDataset, |
|
|
size_t |
numberOfFrames |
|
) |
| const |
|
pure virtual |
◆ isValid()
◆ setValidityChecking()
virtual void I2DOutputPlug::setValidityChecking |
( |
OFBool |
doChecks, |
|
|
OFBool |
insertMissingType2 = OFTrue , |
|
|
OFBool |
inventMissingType1 = OFTrue |
|
) |
| |
|
virtual |
Enable/Disable basic validity checks for output dataset.
- Parameters
-
doChecks | - [in] OFTrue enables checking, OFFalse turns it off. |
insertMissingType2 | - [in] If true (default), missing type 2 attributes are inserted automatically |
inventMissingType1 | - [in] If true (default), missing type 1 attributes are inserted automatically with a predefined value (if possible). An existing empty type 1 attribute is assigned a value, too. |
- Returns
- none
◆ supportedSOPClassUIDs()
virtual void I2DOutputPlug::supportedSOPClassUIDs |
( |
OFList< OFString > & |
suppSOPs | ) |
|
|
pure virtual |
◆ supportsMultiframe()
virtual OFBool I2DOutputPlug::supportsMultiframe |
( |
| ) |
const |
|
pure virtual |
◆ m_inventMissingType1Attribs
OFBool I2DOutputPlug::m_inventMissingType1Attribs |
|
protected |
if enbled, missing type 1 attributes are inserted and filled with a predefined value.
Default: disabled (OFFalse)
◆ m_inventMissingType2Attribs
OFBool I2DOutputPlug::m_inventMissingType2Attribs |
|
protected |
if enabled, missing type 2 attributes in the dataset are added automatically.
default: enabled (OFTrue)
The documentation for this class was generated from the following file:
- dcmdata/include/dcmtk/dcmdata/libi2d/i2doutpl.h