#include "file/dicom/element.h"
|
| static std::unordered_map< uint32_t, const char * > | dict |
| |
| static const char * | type_as_str [] |
| |
Definition at line 95 of file element.h.
◆ Type
◆ _Type
| Enumerator |
|---|
| INVALID | |
| INT | |
| UINT | |
| FLOAT | |
| DATE | |
| TIME | |
| DATETIME | |
| STRING | |
| SEQ | |
| OTHER | |
Definition at line 97 of file element.h.
◆ as_string()
| std::string MR::File::Dicom::Element::as_string |
( |
| ) |
const |
◆ check_get()
| bool MR::File::Dicom::Element::check_get |
( |
size_t |
idx, |
|
|
size_t |
size |
|
) |
| const |
|
inlineprotected |
◆ check_size()
template<typename VectorType >
| FORCE_INLINE void MR::File::Dicom::Element::check_size |
( |
const VectorType |
v, |
|
|
size_t |
min_size = 1 |
|
) |
| |
|
inline |
◆ error_in_check_size()
| void MR::File::Dicom::Element::error_in_check_size |
( |
size_t |
min_size, |
|
|
size_t |
actual_size |
|
) |
| const |
|
protected |
◆ error_in_get()
| void MR::File::Dicom::Element::error_in_get |
( |
size_t |
idx | ) |
const |
|
protected |
◆ get_date()
| Date MR::File::Dicom::Element::get_date |
( |
| ) |
const |
◆ get_datetime()
| std::pair< Date, Time > MR::File::Dicom::Element::get_datetime |
( |
| ) |
const |
◆ get_float() [1/2]
◆ get_float() [2/2]
| double MR::File::Dicom::Element::get_float |
( |
size_t |
idx, |
|
|
double |
default_value = 0.0 |
|
) |
| const |
|
inline |
◆ get_int() [1/2]
| vector< int32_t > MR::File::Dicom::Element::get_int |
( |
| ) |
const |
◆ get_int() [2/2]
| int32_t MR::File::Dicom::Element::get_int |
( |
size_t |
idx, |
|
|
int32_t |
default_value = 0 |
|
) |
| const |
|
inline |
◆ get_string() [1/2]
| vector< std::string > MR::File::Dicom::Element::get_string |
( |
| ) |
const |
◆ get_string() [2/2]
| std::string MR::File::Dicom::Element::get_string |
( |
size_t |
idx, |
|
|
std::string |
default_value = std::string() |
|
) |
| const |
|
inline |
◆ get_time()
| Time MR::File::Dicom::Element::get_time |
( |
| ) |
const |
◆ get_uint() [1/2]
| vector< uint32_t > MR::File::Dicom::Element::get_uint |
( |
| ) |
const |
◆ get_uint() [2/2]
| uint32_t MR::File::Dicom::Element::get_uint |
( |
size_t |
idx, |
|
|
uint32_t |
default_value = 0 |
|
) |
| const |
|
inline |
◆ get_VR_from_tag_name()
| uint16_t MR::File::Dicom::Element::get_VR_from_tag_name |
( |
const std::string & |
name | ) |
|
|
inlineprotected |
◆ ignore_when_parsing()
| bool MR::File::Dicom::Element::ignore_when_parsing |
( |
| ) |
const |
◆ init_dict()
| static void MR::File::Dicom::Element::init_dict |
( |
| ) |
|
|
staticprotected |
◆ is()
| bool MR::File::Dicom::Element::is |
( |
uint16_t |
Group, |
|
|
uint16_t |
Element |
|
) |
| const |
|
inline |
◆ is_big_endian()
| bool MR::File::Dicom::Element::is_big_endian |
( |
| ) |
const |
|
inline |
◆ is_in_series_ref_sequence()
| bool MR::File::Dicom::Element::is_in_series_ref_sequence |
( |
| ) |
const |
◆ is_new_sequence()
| bool MR::File::Dicom::Element::is_new_sequence |
( |
| ) |
const |
|
inline |
◆ level()
| size_t MR::File::Dicom::Element::level |
( |
| ) |
const |
|
inline |
◆ offset()
| size_t MR::File::Dicom::Element::offset |
( |
uint8_t * |
address | ) |
const |
|
inline |
◆ print_header()
| static std::string MR::File::Dicom::Element::print_header |
( |
| ) |
|
|
inlinestatic |
◆ read()
| bool MR::File::Dicom::Element::read |
( |
| ) |
|
◆ read_GR_EL()
| bool MR::File::Dicom::Element::read_GR_EL |
( |
| ) |
|
|
protected |
◆ report_unknown_tag_with_implicit_syntax()
| void MR::File::Dicom::Element::report_unknown_tag_with_implicit_syntax |
( |
| ) |
const |
|
protected |
◆ set()
| void MR::File::Dicom::Element::set |
( |
const std::string & |
filename, |
|
|
bool |
force_read = false, |
|
|
bool |
read_write = false |
|
) |
| |
◆ set_explicit_encoding()
| void MR::File::Dicom::Element::set_explicit_encoding |
( |
| ) |
|
|
protected |
◆ tag()
| uint32_t MR::File::Dicom::Element::tag |
( |
| ) |
const |
|
inline |
◆ tag_name()
| std::string MR::File::Dicom::Element::tag_name |
( |
| ) |
const |
|
inline |
◆ type()
| Type MR::File::Dicom::Element::type |
( |
| ) |
const |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
stream, |
|
|
const Element & |
item |
|
) |
| |
|
friend |
◆ data
| uint8_t* MR::File::Dicom::Element::data |
◆ dict
| std::unordered_map<uint32_t, const char*> MR::File::Dicom::Element::dict |
|
staticprotected |
◆ element
| uint16_t MR::File::Dicom::Element::element |
◆ end_seq
| vector<uint8_t*> MR::File::Dicom::Element::end_seq |
|
protected |
◆ fmap
| std::unique_ptr<File::MMap> MR::File::Dicom::Element::fmap |
|
protected |
◆ group
| uint16_t MR::File::Dicom::Element::group |
◆ is_BE
| bool MR::File::Dicom::Element::is_BE |
|
protected |
◆ is_explicit
| bool MR::File::Dicom::Element::is_explicit |
|
protected |
◆ is_transfer_syntax_BE
| bool MR::File::Dicom::Element::is_transfer_syntax_BE |
|
protected |
◆ next
| uint8_t* MR::File::Dicom::Element::next |
|
protected |
◆ parents
◆ size
| uint32_t MR::File::Dicom::Element::size |
◆ start
| uint8_t* MR::File::Dicom::Element::start |
|
protected |
◆ transfer_syntax_supported
| bool MR::File::Dicom::Element::transfer_syntax_supported |
◆ type_as_str
| const char* MR::File::Dicom::Element::type_as_str[] |
|
staticprotected |
◆ VR
| uint16_t MR::File::Dicom::Element::VR |
The documentation for this class was generated from the following file: