|
DCMTK Version 3.6.9
OFFIS DICOM Toolkit
|
Inheritance diagram for DRTPrivateDataElementDefinitionSequence::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 | getPrivateDataElement (Uint16 &value, const unsigned long pos=0) const |
| get PrivateDataElement (0008,0308) | |
| OFCondition | getPrivateDataElementDescription (OFString &value, const signed long pos=0) const |
| get PrivateDataElementDescription (0008,030e) | |
| OFCondition | getPrivateDataElementEncoding (OFString &value, const signed long pos=0) const |
| get PrivateDataElementEncoding (0008,030f) | |
| OFCondition | getPrivateDataElementKeyword (OFString &value, const signed long pos=0) const |
| get PrivateDataElementKeyword (0008,030d) | |
| OFCondition | getPrivateDataElementName (OFString &value, const signed long pos=0) const |
| get PrivateDataElementName (0008,030c) | |
| OFCondition | getPrivateDataElementNumberOfItems (Uint32 &value, const unsigned long pos=0) const |
| get PrivateDataElementNumberOfItems (0008,030b) | |
| OFCondition | getPrivateDataElementValueMultiplicity (Uint32 &value, const unsigned long pos=0) const |
| get PrivateDataElementValueMultiplicity (0008,0309) | |
| OFCondition | getPrivateDataElementValueRepresentation (OFString &value, const signed long pos=0) const |
| get PrivateDataElementValueRepresentation (0008,030a) | |
| OFCondition | getRetrieveURI (OFString &value, const signed long pos=0) const |
| get RetrieveURI (0040,e010) | |
| OFCondition | setPrivateDataElement (const Uint16 value, const unsigned long pos=0) |
| set PrivateDataElement (0008,0308) | |
| OFCondition | setPrivateDataElementDescription (const OFString &value, const OFBool check=OFTrue) |
| set PrivateDataElementDescription (0008,030e) | |
| OFCondition | setPrivateDataElementEncoding (const OFString &value, const OFBool check=OFTrue) |
| set PrivateDataElementEncoding (0008,030f) | |
| OFCondition | setPrivateDataElementKeyword (const OFString &value, const OFBool check=OFTrue) |
| set PrivateDataElementKeyword (0008,030d) | |
| OFCondition | setPrivateDataElementName (const OFString &value, const OFBool check=OFTrue) |
| set PrivateDataElementName (0008,030c) | |
| OFCondition | setPrivateDataElementNumberOfItems (const Uint32 value, const unsigned long pos=0) |
| set PrivateDataElementNumberOfItems (0008,030b) | |
| OFCondition | setPrivateDataElementValueMultiplicity (const Uint32 value, const unsigned long pos=0) |
| set PrivateDataElementValueMultiplicity (0008,0309) | |
| OFCondition | setPrivateDataElementValueRepresentation (const OFString &value, const OFBool check=OFTrue) |
| set PrivateDataElementValueRepresentation (0008,030a) | |
| OFCondition | setRetrieveURI (const OFString &value, const OFBool check=OFTrue) |
| set RetrieveURI (0040,e010) | |
Private Attributes | |
| OFBool | EmptyDefaultItem |
| internal flag used to mark the empty default item | |
| DcmUnsignedShort | PrivateDataElement |
| PrivateDataElement (0008,0308) vr=US, vm=1, type=1. | |
| DcmUnlimitedText | PrivateDataElementDescription |
| PrivateDataElementDescription (0008,030e) vr=UT, vm=1, type=3. | |
| DcmUnlimitedText | PrivateDataElementEncoding |
| PrivateDataElementEncoding (0008,030f) vr=UT, vm=1, type=3. | |
| DcmUnlimitedCharacters | PrivateDataElementKeyword |
| PrivateDataElementKeyword (0008,030d) vr=UC, vm=1, type=1. | |
| DcmUnlimitedCharacters | PrivateDataElementName |
| PrivateDataElementName (0008,030c) vr=UC, vm=1, type=1. | |
| DcmUnsignedLong | PrivateDataElementNumberOfItems |
| PrivateDataElementNumberOfItems (0008,030b) vr=UL, vm=1-2, type=1C. | |
| DcmUnsignedLong | PrivateDataElementValueMultiplicity |
| PrivateDataElementValueMultiplicity (0008,0309) vr=UL, vm=1-3, type=1. | |
| DcmCodeString | PrivateDataElementValueRepresentation |
| PrivateDataElementValueRepresentation (0008,030a) vr=CS, vm=1, type=1. | |
| DcmUniversalResourceIdentifierOrLocator | RetrieveURI |
| RetrieveURI (0040,e010) vr=UR, 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.
| DRTPrivateDataElementDefinitionSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
| emptyDefaultItem | flag used to mark the empty default item |
Referenced by Item(), and operator=().
| DRTPrivateDataElementDefinitionSequence::Item::Item | ( | const Item & | copy | ) |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElement | ( | Uint16 & | value, |
| const unsigned long | pos = 0 ) const |
get PrivateDataElement (0008,0308)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1) |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElementDescription | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get PrivateDataElementDescription (0008,030e)
| 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 DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElementEncoding | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get PrivateDataElementEncoding (0008,030f)
| 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 DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElementKeyword | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get PrivateDataElementKeyword (0008,030d)
| 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 DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElementName | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get PrivateDataElementName (0008,030c)
| 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 DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElementNumberOfItems | ( | Uint32 & | value, |
| const unsigned long | pos = 0 ) const |
get PrivateDataElementNumberOfItems (0008,030b)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1) |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElementValueMultiplicity | ( | Uint32 & | value, |
| const unsigned long | pos = 0 ) const |
get PrivateDataElementValueMultiplicity (0008,0309)
| value | reference to variable in which the value should be stored |
| pos | index of the value to get (0..vm-1) |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::getPrivateDataElementValueRepresentation | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get PrivateDataElementValueRepresentation (0008,030a)
| 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 DRTPrivateDataElementDefinitionSequence::Item::getRetrieveURI | ( | OFString & | value, |
| const signed long | pos = 0 ) const |
get RetrieveURI (0040,e010)
| 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 |
| OFBool DRTPrivateDataElementDefinitionSequence::Item::isEmpty | ( | ) |
check if item is empty
| OFBool DRTPrivateDataElementDefinitionSequence::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 DRTPrivateDataElementDefinitionSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
| item | reference to DICOM sequence item from which the elements should be read |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElement | ( | const Uint16 | value, |
| const unsigned long | pos = 0 ) |
set PrivateDataElement (0008,0308)
| value | value to be set (should be valid for this VR) |
| pos | index of the value to be set (0..vm-1), vm=1 |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElementDescription | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set PrivateDataElementDescription (0008,030e)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (UT) and VM (1) if enabled |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElementEncoding | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set PrivateDataElementEncoding (0008,030f)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (UT) and VM (1) if enabled |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElementKeyword | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set PrivateDataElementKeyword (0008,030d)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (UC) and VM (1) if enabled |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElementName | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set PrivateDataElementName (0008,030c)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (UC) and VM (1) if enabled |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElementNumberOfItems | ( | const Uint32 | value, |
| const unsigned long | pos = 0 ) |
set PrivateDataElementNumberOfItems (0008,030b)
| value | value to be set (should be valid for this VR) |
| pos | index of the value to be set (0..vm-1), vm=1-2 |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElementValueMultiplicity | ( | const Uint32 | value, |
| const unsigned long | pos = 0 ) |
set PrivateDataElementValueMultiplicity (0008,0309)
| value | value to be set (should be valid for this VR) |
| pos | index of the value to be set (0..vm-1), vm=1-3 |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setPrivateDataElementValueRepresentation | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set PrivateDataElementValueRepresentation (0008,030a)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (CS) and VM (1) if enabled |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::setRetrieveURI | ( | const OFString & | value, |
| const OFBool | check = OFTrue ) |
set RetrieveURI (0040,e010)
| value | value to be set (single value only) or "" for no value |
| check | check 'value' for conformance with VR (UR) and VM (1) if enabled |
| OFCondition DRTPrivateDataElementDefinitionSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
| item | reference to DICOM sequence item to which the elements should be written |