DCMTK
Version 3.6.1 20120515
OFFIS DICOM Toolkit
|
this template class implements a simple key - value pair map that is used in template class DcmSimpleMap. More...
Public Member Functions | |
DcmKeyValuePair (const OFString &k, const T &v) | |
constructor | |
DcmKeyValuePair (const DcmKeyValuePair &arg) | |
copy constructor | |
~DcmKeyValuePair () | |
destructor | |
const T & | value () const |
return value of key-value pair | |
T & | value () |
return value of key-value pair | |
OFBool | matches (const OFString &key) const |
checks if this entry matches the given key | |
OFBool | operator== (const DcmKeyValuePair &arg) const |
comparison operator. | |
Private Member Functions | |
DcmKeyValuePair & | operator= (const DcmKeyValuePair &arg) |
private undefined copy assignment operator | |
Private Attributes | |
OFString | key_ |
the key | |
T | value_ |
the value |
this template class implements a simple key - value pair map that is used in template class DcmSimpleMap.
Template type must be copy constructable.
DcmKeyValuePair< T >::DcmKeyValuePair | ( | const OFString & | k, |
const T & | v | ||
) | [inline] |
constructor
k | key |
v | value |
OFBool DcmKeyValuePair< T >::matches | ( | const OFString & | key | ) | const [inline] |
checks if this entry matches the given key
OFBool DcmKeyValuePair< T >::operator== | ( | const DcmKeyValuePair< T > & | arg | ) | const [inline] |
comparison operator.
arg | object to compare with |
const T& DcmKeyValuePair< T >::value | ( | ) | const [inline] |
return value of key-value pair
T& DcmKeyValuePair< T >::value | ( | ) | [inline] |
return value of key-value pair