9 #ifndef _5faf4691_e936_476e_8ad3_40f36a167a74 10 #define _5faf4691_e936_476e_8ad3_40f36a167a74 39 Tag(std::string
const &
string);
49 Tag(
char const *
string);
87 operator std::string()
const;
90 void _from_string(std::string
const &
string);
94 std::ostream & operator<<(std::ostream & stream,
Tag const & tag);
98 #endif // _5faf4691_e936_476e_8ad3_40f36a167a74 bool is_private() const
Test whether the tag is private.
Definition: Tag.cpp:53
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:60
Definition: Association.cpp:39
A DICOM element tag.
Definition: Tag.h:22
bool operator==(Tag const &other) const
Equality test.
Definition: Tag.cpp:81
bool operator>=(Tag const &other) const
Loose superiority test.
Definition: Tag.cpp:120
bool operator<(Tag const &other) const
Strict inferiority test.
Definition: Tag.cpp:95
bool operator<=(Tag const &other) const
Loose inferiority test.
Definition: Tag.cpp:113
bool operator!=(Tag const &other) const
Difference test.
Definition: Tag.cpp:88
bool operator>(Tag const &other) const
Strict superiority test.
Definition: Tag.cpp:104
Tag(uint16_t group, uint16_t element)
Create a tag based on its group and element as two 16-bits words.
Definition: Tag.cpp:26