9#ifndef _5faf4691_e936_476e_8ad3_40f36a167a74
10#define _5faf4691_e936_476e_8ad3_40f36a167a74
29 Tag(uint16_t group, uint16_t element);
42 Tag(std::string
const &
string);
52 Tag(
char const *
string);
100 operator std::string()
const;
103 void _from_string(std::string
const &
string);
A DICOM element tag.
Definition Tag.h:26
Tag(uint32_t tag=0)
Create a tag based on its group and element as one 32-bits word.
uint16_t element
Element of the tag.
Definition Tag.h:68
bool operator<=(Tag const &other) const
Loose inferiority test.
bool operator<(Tag const &other) const
Strict inferiority test.
bool operator>=(Tag const &other) const
Loose superiority test.
Tag(std::string const &string)
Create a tag based on its name or string representation of its numeric value.
std::string get_name() const
Return the name of the tag.
Tag(uint16_t group, uint16_t element)
Create a tag based on its group and element as two 16-bits words.
uint16_t group
Group of the tag.
Definition Tag.h:65
bool operator==(Tag const &other) const
Equality test.
bool operator>(Tag const &other) const
Strict superiority test.
Tag(char const *string)
Create a tag based on its name or string representation of its numeric value.
bool is_private() const
Test whether the tag is private.
bool operator!=(Tag const &other) const
Difference test.
Tag & operator=(Tag &&)=default
Tag & operator=(Tag const &)=default
Definition Association.h:25
std::ostream & operator<<(std::ostream &stream, Tag const &tag)
Stream inserter.
#define ODIL_API
Definition odil.h:28