vega
|
Class for working with DICOM data element tags. More...
#include <vega/tag.h>
Public Types | |
typedef uint16_t | group_type |
typedef uint16_t | element_type |
typedef uint32_t | tag_type |
Public Member Functions | |
constexpr | Tag () |
constexpr | Tag (tag_type tag) |
constexpr | Tag (group_type group, element_type element) |
const group_type & | group () const |
group_type & | group () |
const element_type & | element () const |
element_type & | element () |
tag_type | tag () const |
std::string | str () const |
bool | is_file_meta () const |
bool | operator== (const Tag &other) const |
bool | operator!= (const Tag &other) const |
bool | operator< (const Tag &other) const |
bool | is_item_tag () const |
bool | is_item_delimitation_tag () const |
bool | is_sequence_delimitation_tag () const |
bool | is_private () const |
bool | is_private_owner () const |
Static Public Attributes | |
static const tag_type | ITEM_TAG |
static const tag_type | ITEM_DELIMITATION_TAG |
static const tag_type | SEQ_DELIMITATION_TAG |
static const tag_type | PIXEL_DATA_TAG |
static const Tag | ITEM |
static const Tag | ITEM_DELIMITATION |
static const Tag | SEQ_DELIMITATION |
static const Tag | PIXEL_DATA |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Tag &tag) |
Class for working with DICOM data element tags.
A DICOM tag is made of two 16 bit unsigned integers called group() and element(). These are usually written as 4 character hexadecimal numbers, with the group number coming before the element number, e.g. (0x1234,0xff00)
.
typedef uint16_t vega::Tag::element_type |
typedef uint16_t vega::Tag::group_type |
typedef uint32_t vega::Tag::tag_type |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
const element_type& vega::Tag::element | ( | ) | const |
element_type& vega::Tag::element | ( | ) |
const group_type& vega::Tag::group | ( | ) | const |
group_type& vega::Tag::group | ( | ) |
bool vega::Tag::is_file_meta | ( | ) | const |
bool vega::Tag::is_item_delimitation_tag | ( | ) | const |
bool vega::Tag::is_item_tag | ( | ) | const |
bool vega::Tag::is_private | ( | ) | const |
bool vega::Tag::is_private_owner | ( | ) | const |
bool vega::Tag::is_sequence_delimitation_tag | ( | ) | const |
bool vega::Tag::operator!= | ( | const Tag & | other | ) | const |
bool vega::Tag::operator< | ( | const Tag & | other | ) | const |
bool vega::Tag::operator== | ( | const Tag & | other | ) | const |
std::string vega::Tag::str | ( | ) | const |
tag_type vega::Tag::tag | ( | ) | const |
|
friend |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |