|
| CodeWithModifiers (const OFString &modifierType, const OFString &modifierVM="1-n", const DcmTagKey &modifierSeq=DCM_ModifierCodeSequence) |
| Constructor. More...
|
|
| CodeWithModifiers (const CodeWithModifiers &rhs) |
| Copy constructor, performs deep copy. More...
|
|
CodeWithModifiers & | operator= (const CodeWithModifiers &rhs) |
| Assignment operator, performs deep copy. More...
|
|
virtual | ~CodeWithModifiers () |
| Virtual Destructor, frees memory.
|
|
void | clearData () |
| Clear all attributes from the data that are handled by this component. More...
|
|
virtual void | resetRules () |
| Resets rules to their original values.
|
|
OFshared_ptr< IODRules > | getRules () |
| Get rules handled by this module. More...
|
|
virtual OFString | getName () const |
| Get name of component. More...
|
|
virtual CodeSequenceMacro * | getModifier (const size_t index=0) |
| Get modifier code denoted by index. More...
|
|
virtual OFCondition | addModifier (const CodeSequenceMacro &modifier) |
| Adds modifier code. More...
|
|
virtual OFCondition | read (DcmItem &source, const OFBool clearOldData=OFTrue) |
| Read attributes from given item into this class. More...
|
|
virtual OFCondition | write (DcmItem &destination) |
| Write attributes from this class into given item. More...
|
|
virtual OFCondition | check (const OFBool quiet=OFFalse) |
| Check whether this component's data satisfies the underlying rules. More...
|
|
virtual int | compare (const IODComponent &rhs) const |
| Comparison operator for IOD Components. More...
|
|
| CodeSequenceMacro (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL) |
| Constructor. More...
|
|
| CodeSequenceMacro (IODComponent *parent=NULL) |
| Constructor. More...
|
|
| CodeSequenceMacro (const CodeSequenceMacro &rhs) |
| Copy Constructor, performs deep copy. More...
|
|
| CodeSequenceMacro (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent, const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codeMeaning, const OFString &codingSchemeVersion="") |
| Convenience constructor to set initial values. More...
|
|
| CodeSequenceMacro (const OFString &codeValue, const OFString &codingSchemeDesignator, const OFString &codeMeaning, const OFString &codingSchemeVersion="", IODComponent *parent=NULL) |
| Convenience constructor to set initial values. More...
|
|
virtual | ~CodeSequenceMacro () |
| Virtual Destructor.
|
|
virtual OFCondition | getCodeValue (OFString &value, const signed long pos=0) |
| Get Code Value. More...
|
|
virtual OFCondition | getCodingSchemeDesignator (OFString &value, const signed long pos=0) |
| Get Coding Scheme Designator. More...
|
|
virtual OFCondition | getCodingSchemeVersion (OFString &value, const signed long pos=0) |
| Get Coding Scheme Version. More...
|
|
virtual OFCondition | getCodeMeaning (OFString &value, const signed long pos=0) |
| Get Code Meaning. More...
|
|
virtual OFBool | empty () |
| Returns whether code is empty, i.e. More...
|
|
virtual OFCondition | setCodeValue (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Code Value. More...
|
|
virtual OFCondition | setCodingSchemeDesignator (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Coding Scheme Designator. More...
|
|
virtual OFCondition | setCodingSchemeVersion (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Coding Scheme Version. More...
|
|
virtual OFCondition | setCodeMeaning (const OFString &value, const OFBool checkValue=OFTrue) |
| Set Code Meaning. More...
|
|
virtual OFCondition | set (const OFString &value, const OFString &scheme, const OFString &meaning, const OFString &schemeVersion="", const OFBool checkValue=OFTrue) |
| Set all values in this class conveniently. More...
|
|
| IODComponent (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL) |
| Constructor. More...
|
|
| IODComponent (IODComponent *parent=NULL) |
| Constructor, creates rules and item from scratch. More...
|
|
IODComponent & | operator= (const IODComponent &rhs) |
| Assignment operator, copies contained item and rule set from rhs to "this" attribute set. More...
|
|
| IODComponent (const IODComponent &rhs) |
| Copy constructor, copies reference to contained item and rule set to "this" attribute set. More...
|
|
virtual | ~IODComponent () |
| Virtual Destructor.
|
|
void | clearData () |
| Clear all attributes from the data that are handled by this module. More...
|
|
virtual void | inventMissing () |
| Set missing values by inventing "default values". More...
|
|
OFshared_ptr< IODRules > | getRules () |
| Get rules handled by this module. More...
|
|
virtual void | makeOptional () |
| Make component optional by turning all attributes requirement types of it to type 3. More...
|
|
DcmItem & | getData () |
| Get the data handled by this module. More...
|
|
Code with Modifier(s).
Represents the combination of a Code Sequence Macro that is amended by a Modifier Code Sequence with one or more items. The VM and requirement type of the Modifier Code Sequence can be configured, as well as the tag of the sequence holding the modifiers (default: Modifier Code Sequence). Overall, the class reads and write the following structure from an item:
Coding Scheme Designator, 1, 1C Coding Scheme Version, 1, 1C Code Value, 1, 1C Code Meaning, 1, 1C Modifier Code Sequence, VM, requirement type
Code Sequence Macro
Note that the Code Sequence Macro does not support Long Code Value and URN Code Value, so that Coding Scheme Designator and Code Value are handled as type 1 (and not 1C as denoted now in the standard and above).