|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Inheritance diagram for DRTContributingEquipmentSequence::Item:Public Member Functions | |
| Item (const OFBool emptyDefaultItem=OFFalse) | |
| (default) constructor | |
| Item (const Item ©) | |
| copy constructor | |
| virtual | ~Item () |
| destructor | |
| Item & | operator= (const Item ©) |
| assignment operator | |
| void | clear () |
| clear all internal member variables | |
| OFBool | isEmpty () |
| check if item is empty | |
| OFBool | isValid () const |
| check if item is valid, i.e. not the empty default item | |
| OFCondition | read (DcmItem &item) |
| read elements from sequence item | |
| OFCondition | write (DcmItem &item) |
| write elements to sequence item | |
| OFCondition | getContributionDateTime (OFString &value, const signed long pos=0) const |
| get ContributionDateTime (0018,a002) | |
| OFCondition | getContributionDescription (OFString &value, const signed long pos=0) const |
| get ContributionDescription (0018,a003) | |
| OFCondition | getDateOfLastCalibration (OFString &value, const signed long pos=0) const |
| get DateOfLastCalibration (0018,1200) | |
| OFCondition | getDeviceSerialNumber (OFString &value, const signed long pos=0) const |
| get DeviceSerialNumber (0018,1000) | |
| OFCondition | getDeviceUID (OFString &value, const signed long pos=0) const |
| get DeviceUID (0018,1002) | |
| OFCondition | getInstitutionAddress (OFString &value, const signed long pos=0) const |
| get InstitutionAddress (0008,0081) | |
| OFCondition | getInstitutionName (OFString &value, const signed long pos=0) const |
| get InstitutionName (0008,0080) | |
| OFCondition | getInstitutionalDepartmentName (OFString &value, const signed long pos=0) const |
| get InstitutionalDepartmentName (0008,1040) | |
| OFCondition | getManufacturer (OFString &value, const signed long pos=0) const |
| get Manufacturer (0008,0070) | |
| OFCondition | getManufacturerModelName (OFString &value, const signed long pos=0) const |
| get ManufacturerModelName (0008,1090) | |
| OFCondition | getOperatorsName (OFString &value, const signed long pos=0) const |
| get OperatorsName (0008,1070) | |
| OFCondition | getSoftwareVersions (OFString &value, const signed long pos=0) const |
| get SoftwareVersions (0018,1020) | |
| OFCondition | getSpatialResolution (OFString &value, const signed long pos=0) const |
| get SpatialResolution (0018,1050) | |
| OFCondition | getSpatialResolution (Float64 &value, const unsigned long pos=0) const |
| get SpatialResolution (0018,1050) | |
| OFCondition | getStationName (OFString &value, const signed long pos=0) const |
| get StationName (0008,1010) | |
| OFCondition | getTimeOfLastCalibration (OFString &value, const signed long pos=0) const |
| get TimeOfLastCalibration (0018,1201) | |
| DRTInstitutionalDepartmentTypeCodeSequence & | getInstitutionalDepartmentTypeCodeSequence () |
| get InstitutionalDepartmentTypeCodeSequence (0008,1041) | |
| const DRTInstitutionalDepartmentTypeCodeSequence & | getInstitutionalDepartmentTypeCodeSequence () const |
| get InstitutionalDepartmentTypeCodeSequence (0008,1041) | |
| DRTOperatorIdentificationSequence & | getOperatorIdentificationSequence () |
| get OperatorIdentificationSequence (0008,1072) | |
| const DRTOperatorIdentificationSequence & | getOperatorIdentificationSequence () const |
| get OperatorIdentificationSequence (0008,1072) | |
| DRTPurposeOfReferenceCodeSequence & | getPurposeOfReferenceCodeSequence () |
| get PurposeOfReferenceCodeSequence (0040,a170) | |
| const DRTPurposeOfReferenceCodeSequence & | getPurposeOfReferenceCodeSequence () const |
| get PurposeOfReferenceCodeSequence (0040,a170) | |
| DRTUDISequence & | getUDISequence () |
| get UDISequence (0018,100a) | |
| const DRTUDISequence & | getUDISequence () const |
| get UDISequence (0018,100a) | |
| OFCondition | setContributionDateTime (const OFString &value, const OFBool check=OFTrue) |
| set ContributionDateTime (0018,a002) | |
| OFCondition | setContributionDescription (const OFString &value, const OFBool check=OFTrue) |
| set ContributionDescription (0018,a003) | |
| OFCondition | setDateOfLastCalibration (const OFString &value, const OFBool check=OFTrue) |
| set DateOfLastCalibration (0018,1200) | |
| OFCondition | setDeviceSerialNumber (const OFString &value, const OFBool check=OFTrue) |
| set DeviceSerialNumber (0018,1000) | |
| OFCondition | setDeviceUID (const OFString &value, const OFBool check=OFTrue) |
| set DeviceUID (0018,1002) | |
| OFCondition | setInstitutionAddress (const OFString &value, const OFBool check=OFTrue) |
| set InstitutionAddress (0008,0081) | |
| OFCondition | setInstitutionName (const OFString &value, const OFBool check=OFTrue) |
| set InstitutionName (0008,0080) | |
| OFCondition | setInstitutionalDepartmentName (const OFString &value, const OFBool check=OFTrue) |
| set InstitutionalDepartmentName (0008,1040) | |
| OFCondition | setManufacturer (const OFString &value, const OFBool check=OFTrue) |
| set Manufacturer (0008,0070) | |
| OFCondition | setManufacturerModelName (const OFString &value, const OFBool check=OFTrue) |
| set ManufacturerModelName (0008,1090) | |
| OFCondition | setOperatorsName (const OFString &value, const OFBool check=OFTrue) |
| set OperatorsName (0008,1070) | |
| OFCondition | setSoftwareVersions (const OFString &value, const OFBool check=OFTrue) |
| set SoftwareVersions (0018,1020) | |
| OFCondition | setSpatialResolution (const OFString &value, const OFBool check=OFTrue) |
| set SpatialResolution (0018,1050) | |
| OFCondition | setStationName (const OFString &value, const OFBool check=OFTrue) |
| set StationName (0008,1010) | |
| OFCondition | setTimeOfLastCalibration (const OFString &value, const OFBool check=OFTrue) |
| set TimeOfLastCalibration (0018,1201) | |
Private Attributes | |
| OFBool | EmptyDefaultItem |
| internal flag used to mark the empty default item | |
| DcmDateTime | ContributionDateTime |
| ContributionDateTime (0018,a002) vr=DT, vm=1, type=3. | |
| DcmShortText | ContributionDescription |
| ContributionDescription (0018,a003) vr=ST, vm=1, type=3. | |
| DcmDate | DateOfLastCalibration |
| DateOfLastCalibration (0018,1200) vr=DA, vm=1-n, type=3. | |
| DcmLongString | DeviceSerialNumber |
| DeviceSerialNumber (0018,1000) vr=LO, vm=1, type=3. | |
| DcmUniqueIdentifier | DeviceUID |
| DeviceUID (0018,1002) vr=UI, vm=1, type=3. | |
| DcmShortText | InstitutionAddress |
| InstitutionAddress (0008,0081) vr=ST, vm=1, type=3. | |
| DcmLongString | InstitutionName |
| InstitutionName (0008,0080) vr=LO, vm=1, type=3. | |
| DcmLongString | InstitutionalDepartmentName |
| InstitutionalDepartmentName (0008,1040) vr=LO, vm=1, type=3. | |
| DRTInstitutionalDepartmentTypeCodeSequence | InstitutionalDepartmentTypeCodeSequence |
| InstitutionalDepartmentTypeCodeSequence (0008,1041) vr=SQ, vm=1, type=3. | |
| DcmLongString | Manufacturer |
| Manufacturer (0008,0070) vr=LO, vm=1, type=1. | |
| DcmLongString | ManufacturerModelName |
| ManufacturerModelName (0008,1090) vr=LO, vm=1, type=3. | |
| DRTOperatorIdentificationSequence | OperatorIdentificationSequence |
| OperatorIdentificationSequence (0008,1072) vr=SQ, vm=1, type=3. | |
| DcmPersonName | OperatorsName |
| OperatorsName (0008,1070) vr=PN, vm=1-n, type=3. | |
| DRTPurposeOfReferenceCodeSequence | PurposeOfReferenceCodeSequence |
| PurposeOfReferenceCodeSequence (0040,a170) vr=SQ, vm=1, type=1. | |
| DcmLongString | SoftwareVersions |
| SoftwareVersions (0018,1020) vr=LO, vm=1-n, type=3. | |
| DcmDecimalString | SpatialResolution |
| SpatialResolution (0018,1050) vr=DS, vm=1, type=3. | |
| DcmShortString | StationName |
| StationName (0008,1010) vr=SH, vm=1, type=3. | |
| DcmTime | TimeOfLastCalibration |
| TimeOfLastCalibration (0018,1201) vr=TM, vm=1-n, type=3. | |
| DRTUDISequence | UDISequence |
| UDISequence (0018,100a) vr=SQ, vm=1, type=3. | |
Additional Inherited Members | |
Protected Member Functions inherited from DRTTypes | |
| virtual | ~DRTTypes () |
| destructor. | |
Static Protected Member Functions inherited from DRTTypes | |
| static OFCondition | addElementToDataset (OFCondition &result, DcmItem &dataset, DcmElement *element, const OFString &vm, const OFString &type, const char *moduleName=NULL) |
| add given element to the dataset. | |
| static OFCondition | getElementFromDataset (DcmItem &dataset, DcmElement &element) |
| get element from dataset | |
| static OFCondition | getStringValueFromElement (const DcmElement &element, OFString &stringValue, const signed long pos=0) |
| get string value from element | |
| static OFCondition | getStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue) |
| get string value from dataset | |
| static OFCondition | putStringValueToDataset (DcmItem &dataset, const DcmTag &tag, const OFString &stringValue, const OFBool allowEmpty=OFTrue) |
| put string value to dataset | |
| static OFBool | checkElementValue (DcmElement &element, const OFString &vm, const OFString &type, const OFCondition &searchCond=EC_Normal, const char *moduleName=NULL) |
| check element value for correct value multiplicity and type | |
| static OFCondition | getAndCheckElementFromDataset (DcmItem &dataset, DcmElement &element, const OFString &vm, const OFString &type, const char *moduleName=NULL) |
| get element from dataset and check it for correct value multiplicity and type. | |
| static OFCondition | getAndCheckStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue, const OFString &vm, const OFString &type, const char *moduleName=NULL) |
| get string value from dataset and check it for correct value multiplicity and type. | |
Item class.
| DRTContributingEquipmentSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
| emptyDefaultItem | flag used to mark the empty default item |
Referenced by Item(), and operator=().
| DRTContributingEquipmentSequence::Item::Item | ( | const Item & | copy | ) |
| OFCondition DRTContributingEquipmentSequence::Item::getContributionDateTime | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get ContributionDateTime (0018,a002)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getContributionDescription | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get ContributionDescription (0018,a003)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getDateOfLastCalibration | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get DateOfLastCalibration (0018,1200)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getDeviceSerialNumber | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get DeviceSerialNumber (0018,1000)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getDeviceUID | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get DeviceUID (0018,1002)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getInstitutionAddress | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get InstitutionAddress (0008,0081)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getInstitutionalDepartmentName | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get InstitutionalDepartmentName (0008,1040)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
|
inline |
get InstitutionalDepartmentTypeCodeSequence (0008,1041)
References InstitutionalDepartmentTypeCodeSequence.
|
inline |
get InstitutionalDepartmentTypeCodeSequence (0008,1041)
References InstitutionalDepartmentTypeCodeSequence.
| OFCondition DRTContributingEquipmentSequence::Item::getInstitutionName | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get InstitutionName (0008,0080)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getManufacturer | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get Manufacturer (0008,0070)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getManufacturerModelName | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get ManufacturerModelName (0008,1090)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
|
inline |
get OperatorIdentificationSequence (0008,1072)
References OperatorIdentificationSequence.
|
inline |
get OperatorIdentificationSequence (0008,1072)
References OperatorIdentificationSequence.
| OFCondition DRTContributingEquipmentSequence::Item::getOperatorsName | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get OperatorsName (0008,1070)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
|
inline |
get PurposeOfReferenceCodeSequence (0040,a170)
References PurposeOfReferenceCodeSequence.
|
inline |
get PurposeOfReferenceCodeSequence (0040,a170)
References PurposeOfReferenceCodeSequence.
| OFCondition DRTContributingEquipmentSequence::Item::getSoftwareVersions | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get SoftwareVersions (0018,1020)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getSpatialResolution | ( | Float64 & | value, |
| const unsigned long | pos = 0 ) const |
get SpatialResolution (0018,1050)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1) |
| OFCondition DRTContributingEquipmentSequence::Item::getSpatialResolution | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get SpatialResolution (0018,1050)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getStationName | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get StationName (0008,1010)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
| OFCondition DRTContributingEquipmentSequence::Item::getTimeOfLastCalibration | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get TimeOfLastCalibration (0018,1201)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1), -1 for all components |
|
inline |
|
inline |
| OFBool DRTContributingEquipmentSequence::Item::isEmpty | ( | ) |
check if item is empty
| OFBool DRTContributingEquipmentSequence::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assignment operator
| copy | item object to be copied |
References Item().
| OFCondition DRTContributingEquipmentSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
| item | reference to DICOM sequence item from which the elements should be read |
| OFCondition DRTContributingEquipmentSequence::Item::setContributionDateTime | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set ContributionDateTime (0018,a002)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (DT) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setContributionDescription | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set ContributionDescription (0018,a003)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (ST) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setDateOfLastCalibration | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set DateOfLastCalibration (0018,1200)
| value | value to be set (possibly multi-valued) or "" for no value |
| check | check 'value' for conformance with VR (DA) and VM (1-n) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setDeviceSerialNumber | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set DeviceSerialNumber (0018,1000)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setDeviceUID | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set DeviceUID (0018,1002)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (UI) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setInstitutionAddress | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set InstitutionAddress (0008,0081)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (ST) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setInstitutionalDepartmentName | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set InstitutionalDepartmentName (0008,1040)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setInstitutionName | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set InstitutionName (0008,0080)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setManufacturer | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set Manufacturer (0008,0070)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setManufacturerModelName | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set ManufacturerModelName (0008,1090)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (LO) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setOperatorsName | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set OperatorsName (0008,1070)
| value | value to be set (possibly multi-valued) or "" for no value |
| check | check 'value' for conformance with VR (PN) and VM (1-n) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setSoftwareVersions | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set SoftwareVersions (0018,1020)
| value | value to be set (possibly multi-valued) or "" for no value |
| check | check 'value' for conformance with VR (LO) and VM (1-n) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setSpatialResolution | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set SpatialResolution (0018,1050)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (DS) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setStationName | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set StationName (0008,1010)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (SH) and VM (1) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::setTimeOfLastCalibration | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set TimeOfLastCalibration (0018,1201)
| value | value to be set (possibly multi-valued) or "" for no value |
| check | check 'value' for conformance with VR (TM) and VM (1-n) if enabled |
| OFCondition DRTContributingEquipmentSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
| item | reference to DICOM sequence item to which the elements should be written |