33 element_type m_element;
43 m_element(0xFFFF & tag)
52 const group_type&
group()
const;
56 const element_type&
element()
const;
62 std::string
str()
const;
76 friend std::ostream&
operator<<(std::ostream& os,
const Tag& tag);
constexpr Tag()
Definition: tag.h:36
uint16_t element_type
Definition: tag.h:18
constexpr Tag(tag_type tag)
Definition: tag.h:41
friend std::ostream & operator<<(std::ostream &os, const Tag &tag)
bool is_sequence_delimitation_tag() const
static const Tag SEQ_DELIMITATION
Definition: tag.h:28
bool is_item_delimitation_tag() const
constexpr Tag(group_type group, element_type element)
Definition: tag.h:46
const group_type & group() const
bool is_private_owner() const
static const Tag PIXEL_DATA
Definition: tag.h:29
static const tag_type ITEM_TAG
Definition: tag.h:21
static const tag_type PIXEL_DATA_TAG
Definition: tag.h:24
static const Tag ITEM
Definition: tag.h:26
uint32_t tag_type
Definition: tag.h:19
bool operator==(const Tag &other) const
static const tag_type ITEM_DELIMITATION_TAG
Definition: tag.h:22
const element_type & element() const
static const tag_type SEQ_DELIMITATION_TAG
Definition: tag.h:23
static const Tag ITEM_DELIMITATION
Definition: tag.h:27
bool operator<(const Tag &other) const
uint16_t group_type
Definition: tag.h:17
Class for working with DICOM data element tags.
Definition: tag.h:15
bool is_file_meta() const
bool operator!=(const Tag &other) const