9#ifndef _f4b88e07_d515_41be_ad1b_37899ec6451e
10#define _f4b88e07_d515_41be_ad1b_37899ec6451e
55 void set(std::string
const & value);
88 std::string
const & name=
"", std::string
const & keyword=
"",
89 std::string
const & vr=
"", std::string
const & vm=
"");
96ElementsDictionary::const_iterator
Key of a dictionary of DICOM elements.
Definition ElementsDictionary.h:23
Type
Type of the key.
Definition ElementsDictionary.h:27
void set(std::string const &value)
Set the type to String.
ElementsDictionaryKey()
Create a key with type equal to None.
ElementsDictionaryKey(Tag const &value)
Create a key with type equal to 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.
Tag const & get_tag() const
Return the tag value or raise an exception if type is not Tag.
bool operator==(ElementsDictionaryKey const &other) const
Comparator.
bool operator<(ElementsDictionaryKey const &other) const
Comparator.
ElementsDictionaryKey(std::string const &value)
Create a key with type equal to String.
Type const & get_type() const
Return the type.
A DICOM element tag.
Definition Tag.h:26
Definition Association.h:25
std::map< ElementsDictionaryKey, ElementsDictionaryEntry > ElementsDictionary
Definition ElementsDictionary.h:93
ElementsDictionary::const_iterator find(ElementsDictionary const &dictionary, Tag const &tag)
#define ODIL_API
Definition odil.h:28
Entry in a dictionary of DICOM elements.
Definition ElementsDictionary.h:73
std::string vm
Multiplicity.
Definition ElementsDictionary.h:84
std::string keyword
Brief name.
Definition ElementsDictionary.h:78
ElementsDictionaryEntry(std::string const &name="", std::string const &keyword="", std::string const &vr="", std::string const &vm="")
Constructor.
std::string vr
Type.
Definition ElementsDictionary.h:81
std::string name
Full name.
Definition ElementsDictionary.h:75