|
odil
C++11libraryfortheDICOMstandard
|
Key of a dictionary of DICOM elements. More...
#include <ElementsDictionary.h>
Public Types | |
| enum | Type { Tag, String, None } |
| Type of the key. | |
Public Member Functions | |
| ElementsDictionaryKey () | |
| Create a key with type equal to None. | |
| ElementsDictionaryKey (Tag const &value) | |
| Create a key with type equal to Tag. | |
| ElementsDictionaryKey (std::string const &value) | |
| Create a key with type equal to String. | |
| Type const & | get_type () const |
| Return the type. | |
| Tag const & | get_tag () const |
| Return the tag value or raise an exception if type is not Tag. | |
| std::string const & | get_string () const |
| Return the string value or raise an exception if type is not String. | |
| void | set (Tag const value) |
| Set the type to Tag. | |
| void | set (std::string const &value) |
| Set the type to String. | |
| bool | operator< (ElementsDictionaryKey const &other) const |
| Comparator. | |
| bool | operator== (ElementsDictionaryKey const &other) const |
| Comparator. | |
Key of a dictionary of DICOM elements.
1.8.13