|
OFFIS DCMTK
Version 3.6.0
|
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.
|
inline |
|
inline |
checks if this entry matches the given key
Definition at line 89 of file dcmsmap.h.
References DcmKeyValuePair< T >::key_.
|
inline |
comparison operator.
| arg | object to compare with |
Definition at line 98 of file dcmsmap.h.
References DcmKeyValuePair< T >::key_, and DcmKeyValuePair< T >::value_.
|
inline |
return value of key-value pair
Definition at line 73 of file dcmsmap.h.
References DcmKeyValuePair< T >::value_.
|
inline |
return value of key-value pair
Definition at line 81 of file dcmsmap.h.
References DcmKeyValuePair< T >::value_.