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 |
Template type must be copy constructable.
Definition at line 45 of file dcmsmap.h.
DcmKeyValuePair< T >::DcmKeyValuePair | ( | const OFString & | k, | |
const T & | v | |||
) | [inline] |
const T& DcmKeyValuePair< T >::value | ( | ) | const [inline] |
return value of key-value pair
Definition at line 73 of file dcmsmap.h.
References DcmKeyValuePair< T >::value_.
T& DcmKeyValuePair< T >::value | ( | ) | [inline] |
return value of key-value pair
Definition at line 81 of file dcmsmap.h.
References DcmKeyValuePair< T >::value_.
OFBool DcmKeyValuePair< T >::matches | ( | const OFString & | key | ) | const [inline] |
checks if this entry matches the given key
Definition at line 89 of file dcmsmap.h.
References DcmKeyValuePair< T >::key_.
OFBool DcmKeyValuePair< T >::operator== | ( | const DcmKeyValuePair< T > & | arg | ) | const [inline] |
comparison operator.
arg | object to compare with |
Definition at line 98 of file dcmsmap.h.
References DcmKeyValuePair< T >::key_, and DcmKeyValuePair< T >::value_.