|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Class representing the Algorithm Identification Macro. More...
Public Member Functions | |
| AlgorithmIdentificationMacro () | |
| Constructor. | |
| virtual | ~AlgorithmIdentificationMacro () |
| Virtual destructor. | |
| virtual void | clearData () |
| Clear (removes) all attributes handled by the modules of this component. | |
| virtual OFCondition | check (const OFBool quiet=OFFalse) |
| Perform consistency checks. | |
| virtual CodeSequenceMacro & | getAlgorithmFamilyCode () |
| Return Algorithm Family Code. | |
| virtual CodeSequenceMacro & | getAlgorithmNameCode () |
| Get Algorithm Name Code. | |
| virtual OFCondition | getAlgorithmName (OFString &value, const signed long pos=0) |
| Get Algorithm Name. | |
| virtual OFCondition | getAlgorithmVersion (OFString &value, const signed long pos=0) |
| Get Algorithm Version. | |
| virtual OFCondition | getAlgorithmParameters (OFString &value, const signed long pos=0) |
| Get Algorithm Parameters. | |
| virtual OFCondition | getAlgorithmSource (OFString &value, const signed long pos=0) |
| Get Algorithm Source. | |
| virtual OFCondition | setAlgorithmName (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Algorithm Name. | |
| virtual OFCondition | setAlgorithmVersion (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Algorithm Version. | |
| virtual OFCondition | setAlgorithmParameters (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Algorithm Parameters. | |
| virtual OFCondition | setAlgorithmSource (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Algorithm Source. | |
| virtual OFCondition | read (DcmItem &source, const OFBool clearOldData=OFTrue) |
| Reads this macro from given item. | |
| virtual OFCondition | write (DcmItem &item) |
| Write this macro to given item. | |
Private Attributes | |
| CodeSequenceMacro | m_AlgorithmFamilyCode |
| Code Sequence Macro from Algorithm Family Code Sequence (single item), (SQ, VM 1, Type 1) | |
| CodeSequenceMacro | m_AlgorithmNameCode |
| Code Sequence Macro from Algorithm Name Code Sequence (single item) (SQ, VM 1, Type 3) | |
| DcmLongString | m_AlgorithmName |
| Algorithm Name: (LO, VM 1, Typ 1) | |
| DcmLongString | m_AlgorithmVersion |
| Algorithm Version: (LO, VM 1, Typ 1) | |
| DcmLongText | m_AlgorithmParameters |
| Algorithm Parameters: (LT, VM 1, Typ 3) | |
| DcmLongString | m_AlgorithmSource |
| Algorithm Source: (LO, VM 1, Typ 3) | |
Class representing the Algorithm Identification Macro.
|
virtual |
Perform consistency checks.
| quiet | If OFTrue, not error / warning messages will be produced. Only the returned error code will indicate error or OK. Per default, logging output is produced (OFFalse). |
|
virtual |
Return Algorithm Family Code.
|
virtual |
Get Algorithm Name.
| value | Reference variable to store the value to |
| pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
|
virtual |
Get Algorithm Parameters.
| value | Reference variable to store the value to |
| pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Algorithm Source.
| value | Reference variable to store the value to |
| pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Algorithm Version.
| value | Reference variable to store the value to |
| pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Reads this macro from given item.
| source | The item to read from |
| clearOldData | If OFTrue, old data is cleared before reading, otherwise it is kept/overwritten |
|
virtual |
Set Algorithm Name.
| value | The value to be set |
| checkValue | If OFTrue, the given value is checked |
|
virtual |
Set Algorithm Parameters.
| value | The value to be set |
| checkValue | Check 'value'. Not evaluated (here for consistency with other setter functions). |
|
virtual |
Set Algorithm Source.
| value | The value to be set |
| checkValue | If OFTrue, the given value is checked |
|
virtual |
Set Algorithm Version.
| value | The value to be set |
| checkValue | If OFTrue, the given value is checked |
|
virtual |
Write this macro to given item.
| item | The item to write to |