9 #ifndef _5faf4691_e936_476e_8ad3_40f36a167a74 10 #define _5faf4691_e936_476e_8ad3_40f36a167a74 39 Tag(std::string
const & name);
49 Tag(
char const * name);
57 bool is_private()
const;
86 operator std::string()
const;
89 void _from_string(std::string
const &
string);
93 std::ostream & operator<<(std::ostream & stream,
Tag const & tag);
97 #endif // _5faf4691_e936_476e_8ad3_40f36a167a74 uint16_t element
Element of the tag.
Definition: Tag.h:55
uint16_t group
Group of the tag.
Definition: Tag.h:52
std::string get_name() const
Return the name of the tag.
Definition: Tag.cpp:57
Definition: Association.cpp:39
A DICOM element tag.
Definition: Tag.h:22
bool operator==(Tag const &other) const
Equality test.
Definition: Tag.cpp:70
bool operator>=(Tag const &other) const
Loose superiority test.
Definition: Tag.cpp:109
bool operator<(Tag const &other) const
Strict inferiority test.
Definition: Tag.cpp:84
bool operator<=(Tag const &other) const
Loose inferiority test.
Definition: Tag.cpp:102
bool operator!=(Tag const &other) const
Difference test.
Definition: Tag.cpp:77
bool operator>(Tag const &other) const
Strict superiority test.
Definition: Tag.cpp:93
Tag(uint16_t group, uint16_t element)
Create a tag based on its group and element as two 16-bits words.
Definition: Tag.cpp:23