DCMTK
Version 3.6.3
OFFIS DICOM Toolkit
|
Public Member Functions | |
Item (const OFBool emptyDefaultItem=OFFalse) | |
(default) constructor More... | |
Item (const Item ©) | |
copy constructor More... | |
virtual | ~Item () |
destructor | |
Item & | operator= (const Item ©) |
assigment operator More... | |
void | clear () |
clear all internal member variables | |
OFBool | isEmpty () |
check if item is empty More... | |
OFBool | isValid () const |
check if item is valid, i.e. not the empty default item More... | |
OFCondition | read (DcmItem &item) |
read elements from sequence item More... | |
OFCondition | write (DcmItem &item) |
write elements to sequence item More... | |
OFCondition | getCertificateOfSigner (Uint8 *&value, unsigned long *count=NULL) const |
get CertificateOfSigner (0400,0115) More... | |
OFCondition | getCertificateType (OFString &value, const signed long pos=0) const |
get CertificateType (0400,0110) More... | |
OFCondition | getCertifiedTimestamp (Uint8 *&value, unsigned long *count=NULL) const |
get CertifiedTimestamp (0400,0310) More... | |
OFCondition | getCertifiedTimestampType (OFString &value, const signed long pos=0) const |
get CertifiedTimestampType (0400,0305) More... | |
OFCondition | getDigitalSignatureDateTime (OFString &value, const signed long pos=0) const |
get DigitalSignatureDateTime (0400,0105) More... | |
OFCondition | getDigitalSignatureUID (OFString &value, const signed long pos=0) const |
get DigitalSignatureUID (0400,0100) More... | |
OFCondition | getMACIDNumber (Uint16 &value, const unsigned long pos=0) const |
get MACIDNumber (0400,0005) More... | |
OFCondition | getSignature (Uint8 *&value, unsigned long *count=NULL) const |
get Signature (0400,0120) More... | |
DRTDigitalSignaturePurposeCodeSequence & | getDigitalSignaturePurposeCodeSequence () |
get DigitalSignaturePurposeCodeSequence (0400,0401) More... | |
const DRTDigitalSignaturePurposeCodeSequence & | getDigitalSignaturePurposeCodeSequence () const |
get DigitalSignaturePurposeCodeSequence (0400,0401) More... | |
OFCondition | setCertificateOfSigner (const Uint8 *value, const unsigned long count) |
set CertificateOfSigner (0400,0115) More... | |
OFCondition | setCertificateType (const OFString &value, const OFBool check=OFTrue) |
set CertificateType (0400,0110) More... | |
OFCondition | setCertifiedTimestamp (const Uint8 *value, const unsigned long count) |
set CertifiedTimestamp (0400,0310) More... | |
OFCondition | setCertifiedTimestampType (const OFString &value, const OFBool check=OFTrue) |
set CertifiedTimestampType (0400,0305) More... | |
OFCondition | setDigitalSignatureDateTime (const OFString &value, const OFBool check=OFTrue) |
set DigitalSignatureDateTime (0400,0105) More... | |
OFCondition | setDigitalSignatureUID (const OFString &value, const OFBool check=OFTrue) |
set DigitalSignatureUID (0400,0100) More... | |
OFCondition | setMACIDNumber (const Uint16 value, const unsigned long pos=0) |
set MACIDNumber (0400,0005) More... | |
OFCondition | setSignature (const Uint8 *value, const unsigned long count) |
set Signature (0400,0120) More... | |
Private Attributes | |
OFBool | EmptyDefaultItem |
internal flag used to mark the empty default item | |
DcmOtherByteOtherWord | CertificateOfSigner |
CertificateOfSigner (0400,0115) vr=OB, vm=1, type=1. | |
DcmCodeString | CertificateType |
CertificateType (0400,0110) vr=CS, vm=1, type=1. | |
DcmOtherByteOtherWord | CertifiedTimestamp |
CertifiedTimestamp (0400,0310) vr=OB, vm=1, type=3. | |
DcmCodeString | CertifiedTimestampType |
CertifiedTimestampType (0400,0305) vr=CS, vm=1, type=1C. | |
DcmDateTime | DigitalSignatureDateTime |
DigitalSignatureDateTime (0400,0105) vr=DT, vm=1, type=1. | |
DRTDigitalSignaturePurposeCodeSequence | DigitalSignaturePurposeCodeSequence |
DigitalSignaturePurposeCodeSequence (0400,0401) vr=SQ, vm=1, type=3. | |
DcmUniqueIdentifier | DigitalSignatureUID |
DigitalSignatureUID (0400,0100) vr=UI, vm=1, type=1. | |
DcmUnsignedShort | MACIDNumber |
MACIDNumber (0400,0005) vr=US, vm=1, type=1. | |
DcmOtherByteOtherWord | Signature |
Signature (0400,0120) vr=OB, vm=1, type=1. | |
Additional Inherited Members | |
![]() | |
virtual | ~DRTTypes () |
destructor. More... | |
![]() | |
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. More... | |
static OFCondition | getElementFromDataset (DcmItem &dataset, DcmElement &element) |
get element from dataset More... | |
static OFCondition | getStringValueFromElement (const DcmElement &element, OFString &stringValue, const signed long pos=0) |
get string value from element More... | |
static OFCondition | getStringValueFromDataset (DcmItem &dataset, const DcmTagKey &tagKey, OFString &stringValue) |
get string value from dataset More... | |
static OFCondition | putStringValueToDataset (DcmItem &dataset, const DcmTag &tag, const OFString &stringValue, const OFBool allowEmpty=OFTrue) |
put string value to dataset More... | |
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 More... | |
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. More... | |
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. More... | |
Item class.
DRTDigitalSignaturesSequence::Item::Item | ( | const OFBool | emptyDefaultItem = OFFalse | ) |
(default) constructor
emptyDefaultItem | flag used to mark the empty default item |
DRTDigitalSignaturesSequence::Item::Item | ( | const Item & | copy | ) |
copy constructor
copy | item object to be copied |
OFCondition DRTDigitalSignaturesSequence::Item::getCertificateOfSigner | ( | Uint8 *& | value, |
unsigned long * | count = NULL |
||
) | const |
get CertificateOfSigner (0400,0115)
value | reference to variable in which the value should be stored |
count | stores number of items in the result array (if not NULL) |
OFCondition DRTDigitalSignaturesSequence::Item::getCertificateType | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get CertificateType (0400,0110)
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 DRTDigitalSignaturesSequence::Item::getCertifiedTimestamp | ( | Uint8 *& | value, |
unsigned long * | count = NULL |
||
) | const |
get CertifiedTimestamp (0400,0310)
value | reference to variable in which the value should be stored |
count | stores number of items in the result array (if not NULL) |
OFCondition DRTDigitalSignaturesSequence::Item::getCertifiedTimestampType | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get CertifiedTimestampType (0400,0305)
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 DRTDigitalSignaturesSequence::Item::getDigitalSignatureDateTime | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get DigitalSignatureDateTime (0400,0105)
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 DigitalSignaturePurposeCodeSequence (0400,0401)
|
inline |
get DigitalSignaturePurposeCodeSequence (0400,0401)
OFCondition DRTDigitalSignaturesSequence::Item::getDigitalSignatureUID | ( | OFString & | value, |
const signed long | pos = 0 |
||
) | const |
get DigitalSignatureUID (0400,0100)
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 DRTDigitalSignaturesSequence::Item::getMACIDNumber | ( | Uint16 & | value, |
const unsigned long | pos = 0 |
||
) | const |
get MACIDNumber (0400,0005)
value | reference to variable in which the value should be stored |
pos | index of the value to get (0..vm-1) |
OFCondition DRTDigitalSignaturesSequence::Item::getSignature | ( | Uint8 *& | value, |
unsigned long * | count = NULL |
||
) | const |
get Signature (0400,0120)
value | reference to variable in which the value should be stored |
count | stores number of items in the result array (if not NULL) |
OFBool DRTDigitalSignaturesSequence::Item::isEmpty | ( | ) |
check if item is empty
OFBool DRTDigitalSignaturesSequence::Item::isValid | ( | ) | const |
check if item is valid, i.e. not the empty default item
assigment operator
copy | item object to be copied |
OFCondition DRTDigitalSignaturesSequence::Item::read | ( | DcmItem & | item | ) |
read elements from sequence item
item | reference to DICOM sequence item from which the elements should be read |
OFCondition DRTDigitalSignaturesSequence::Item::setCertificateOfSigner | ( | const Uint8 * | value, |
const unsigned long | count | ||
) |
set CertificateOfSigner (0400,0115)
value | array value to be set (data is copied) |
count | number of items in the array |
OFCondition DRTDigitalSignaturesSequence::Item::setCertificateType | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set CertificateType (0400,0110)
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 DRTDigitalSignaturesSequence::Item::setCertifiedTimestamp | ( | const Uint8 * | value, |
const unsigned long | count | ||
) |
set CertifiedTimestamp (0400,0310)
value | array value to be set (data is copied) |
count | number of items in the array |
OFCondition DRTDigitalSignaturesSequence::Item::setCertifiedTimestampType | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set CertifiedTimestampType (0400,0305)
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 DRTDigitalSignaturesSequence::Item::setDigitalSignatureDateTime | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set DigitalSignatureDateTime (0400,0105)
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 DRTDigitalSignaturesSequence::Item::setDigitalSignatureUID | ( | const OFString & | value, |
const OFBool | check = OFTrue |
||
) |
set DigitalSignatureUID (0400,0100)
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 DRTDigitalSignaturesSequence::Item::setMACIDNumber | ( | const Uint16 | value, |
const unsigned long | pos = 0 |
||
) |
set MACIDNumber (0400,0005)
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 DRTDigitalSignaturesSequence::Item::setSignature | ( | const Uint8 * | value, |
const unsigned long | count | ||
) |
set Signature (0400,0120)
value | array value to be set (data is copied) |
count | number of items in the array |
OFCondition DRTDigitalSignaturesSequence::Item::write | ( | DcmItem & | item | ) |
write elements to sequence item
item | reference to DICOM sequence item to which the elements should be written |