DCMTK
Version 3.6.7
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 More... | |
DcmKeyValuePair (const DcmKeyValuePair &arg) | |
copy constructor | |
~DcmKeyValuePair () | |
destructor | |
const OFString & | key () const |
return key of key-value pair More... | |
const T & | value () const |
return value of key-value pair More... | |
T & | value () |
return value of key-value pair More... | |
OFBool | matches (const OFString &key) const |
checks if this entry matches the given key More... | |
OFBool | operator== (const DcmKeyValuePair &arg) const |
comparison operator. More... | |
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.
|
inline |
constructor
k | key |
v | value |
|
inline |
return key of key-value pair
References DcmKeyValuePair< T >::key_.
Referenced by DcmKeyValuePair< T >::matches().
|
inline |
checks if this entry matches the given key
References DcmKeyValuePair< T >::key(), and DcmKeyValuePair< T >::key_.
|
inline |
comparison operator.
arg | object to compare with |
References DcmKeyValuePair< T >::key_, and DcmKeyValuePair< T >::value_.
|
inline |
return value of key-value pair
References DcmKeyValuePair< T >::value_.
|
inline |
return value of key-value pair
References DcmKeyValuePair< T >::value_.