Class representing the Real World Value Mapping Item Macro: Attribute name: (VR, VM, Requirement Type) Real World Value First Value Mapped: (US or SS, 1, 1) Real World Value Last Value Mapped: (US or SS, 1, 1) Real World Value Intercept: (FD, 1, 1C) Real World Value Slope: (FD, 1, 1C) Real World Value LUT Data (FD, 1-n, 1C) LUT Explanation (LO, 1, 1) LUT Label (SH, 1, 1) Measurement Units Code Sequence (SQ, 1, 1) Quantity Definition Sequence (SQ, 1, 3).
More...
|
| | RWVMItem (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL) |
| | Constructor.
|
| | RWVMItem (IODComponent *parent=NULL) |
| | Constructor.
|
| | RWVMItem (const RWVMItem &rhs) |
| | Copy Constructor.
|
| RWVMItem * | clone () |
| | Clone this class (perform deep copy).
|
|
virtual | ~RWVMItem () |
| | Virtual destructor, frees memory.
|
|
virtual void | resetRules () |
| | Resets rules to their original values.
|
| virtual OFString | getName () const |
| | Get name of component.
|
| virtual int | compare (const IODComponent &rhs) const |
| | Comparison operator that compares the normalized value of this object with a given object of the same type, i.e. the elements within both functional groups (this and rhs parameter) are compared by value!
|
| virtual OFCondition | read (DcmItem &source, const OFBool clearOldData=OFTrue) |
| | Read attributes from given item into this class.
|
| virtual OFCondition | write (DcmItem &destination) |
| | Write attributes from this class into given item.
|
| virtual OFCondition | getRealWorldValueFirstValueMapped (Sint32 &value, const unsigned long pos=0) const |
| | Get Real World Value First Value Mapped.
|
| virtual OFCondition | getRealWorldValueLastValueMapped (Sint32 &value, const unsigned long pos=0) const |
| | Get Real World Value First Value Mapped.
|
| virtual OFCondition | getDoubleFloatRealWorldValueFirstValueMapped (Float64 &value, const unsigned long pos=0) const |
| | Get Double Float Real World Value First Value Mapped.
|
| virtual OFCondition | getDoubleFloatRealWorldValueLastValueMapped (Float64 &value, const unsigned long pos=0) const |
| | Get Double Float Real World Value Last Value Mapped.
|
| virtual OFCondition | getRealWorldValueLUTData (Float64 &value, const unsigned long pos=0) const |
| | Get Real World Value LUT Data.
|
| virtual OFCondition | getRealWorldValueLUTData (OFVector< Float64 > &values) const |
| | Get Real World Value LUT Data.
|
| virtual OFCondition | getLUTExplanation (OFString &value, const signed long pos=0) const |
| | Get LUT Explanation.
|
| virtual OFCondition | getLUTLabel (OFString &value, const signed long pos=0) const |
| | Get LUT Label.
|
| virtual CodeSequenceMacro & | getMeasurementUnitsCode () |
| | Get Measurement Units Code Sequence (content).
|
| virtual OFVector< ContentItemMacro * > & | getEntireQuantityDefinitionSequence () |
| | Get a reference to the entire ConceptNameCodeSequence, including items exceeding the value multiplicity restriction of "1".
|
| virtual OFCondition | setRealWorldValueFirstValueMappedUnsigned (const Uint16 value, const OFBool checkValue=OFTrue) |
| | Set Real World Value First Value Mapped.
|
| virtual OFCondition | setRealWorldValueFirstValueMappedSigned (const Sint16 &value, const OFBool checkValue=OFTrue) |
| | Set Real World Value First Value Mapped.
|
| virtual OFCondition | setRealWorldValueLastValueMappedUnsigned (const Uint16 value, const OFBool checkValue=OFTrue) |
| | Set Real World Value Last Value Mapped.
|
| virtual OFCondition | setRealWorldValueLastValueMappedSigned (const Sint16 &value, const OFBool checkValue=OFTrue) |
| | Set Real World Value Last Value Mapped.
|
| virtual OFCondition | setDoubleFloatRealWorldValueFirstValueMapped (const Float64 value, const OFBool checkValue=OFTrue) |
| | Set Double Float Real World Value First Value Mapped.
|
| virtual OFCondition | setDoubleFloatRealWorldValueLastValueMapped (const Float64 value, const OFBool checkValue=OFTrue) |
| | Set Double Float Real World Value Last Value Mapped.
|
| virtual OFCondition | setRealWorldValueIntercept (const Float64 value, const OFBool checkValue=OFTrue) |
| | Set Real World Value Intercept.
|
| virtual OFCondition | setRealWorldValueSlope (const Float64 value, const OFBool checkValue=OFTrue) |
| | Set Real World Value Slope.
|
| virtual OFCondition | setRealWorldValueLUTData (const OFVector< Float64 > &value, const OFBool checkValue=OFTrue) |
| | Set Real World Value LUT Data.
|
| virtual OFCondition | setLUTExplanation (const OFString &value, const OFBool checkValue=OFTrue) |
| | Set LUT Explanation.
|
| virtual OFCondition | setLUTLabel (const OFString &value, const OFBool checkValue=OFTrue) |
| | Set LUT Label.
|
| | IODComponent (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL) |
| | Constructor.
|
| | IODComponent (IODComponent *parent=NULL) |
| | Constructor, creates rules and item from scratch.
|
| IODComponent & | operator= (const IODComponent &rhs) |
| | Assignment operator, copies contained item and rule set from rhs to "this" attribute set.
|
| | IODComponent (const IODComponent &rhs) |
| | Copy constructor, copies reference to contained item and rule set to "this" attribute set.
|
|
virtual | ~IODComponent () |
| | Virtual Destructor.
|
| virtual void | clearData () |
| | Clear all attributes from the data that are handled by this module.
|
| virtual void | inventMissing () |
| | Set missing values by inventing "default values".
|
| OFshared_ptr< IODRules > | getRules () |
| | Get rules handled by this module.
|
| virtual void | makeOptional () |
| | Make component optional by turning all attributes requirement types of it to type 3.
|
| DcmItem & | getData () |
| | Get the data handled by this module.
|
| virtual OFCondition | check (const OFBool quiet=OFFalse) |
| | Check whether this component's data satisfies the underlying rules.
|
| virtual bool | getValueCheckOnWrite () const |
| | Get whether attribute value errors will be handled as errors on writing.
|
| virtual void | setValueCheckOnWrite (const OFBool checkValue) |
| | Set whether attribute values should be checked on writing, i.e.
|
|
| static OFCondition | read (DcmItem &source, IODRules &rules, DcmItem &destination, const OFString &componentName) |
| | Static helper function that reads attributes from given item into destination item, as determined by the provided rules and component name.
|
| static OFCondition | write (DcmItem &source, IODRules &rules, DcmItem &destination, const OFString &componentName, const OFBool checkValue) |
| | Static helper function that writes attributes from given item into destination item, as determined by the provided rules and component name.
|
| void | ensureOwnRules () |
| | Ensure this instance has its own private, writable copy of m_Rules.
|
| OFshared_ptr< DcmItem > | m_Item |
| | Shared pointer to the data handled by this class.
|
| OFshared_ptr< IODRules > | m_Rules |
| | Rules describing the attributes governed by this class.
|
|
IODComponent * | m_Parent |
| | The parent component (may be NULL) of this class.
|
| OFBool | m_HasOwnRules |
| | OFTrue if m_Rules is a private copy owned solely by this instance and safe to mutate in place.
|
| OFBool | m_ExternalRules |
| | OFTrue if the rules container was supplied externally via the IODComponent(item, rules, parent) constructor (shared-container pattern used e.g.
|
| OFBool | m_CheckValueOnWrite |
| | Denotes whether attribute values should be checked on writing, i.e.
|
Class representing the Real World Value Mapping Item Macro: Attribute name: (VR, VM, Requirement Type) Real World Value First Value Mapped: (US or SS, 1, 1) Real World Value Last Value Mapped: (US or SS, 1, 1) Real World Value Intercept: (FD, 1, 1C) Real World Value Slope: (FD, 1, 1C) Real World Value LUT Data (FD, 1-n, 1C) LUT Explanation (LO, 1, 1) LUT Label (SH, 1, 1) Measurement Units Code Sequence (SQ, 1, 1) Quantity Definition Sequence (SQ, 1, 3).