Developer documentation
Version 3.0.3-105-gd3941f44
definitions.h File Reference

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::File
 
namespace  MR::File::Dicom
 

Macros

#define VR_OB   0x4F42U
 
#define VR_OW   0x4F57U
 
#define VR_OF   0x4F46U
 
#define VR_SQ   0x5351U
 
#define VR_UN   0x554EU
 
#define VR_AE   0x4145U
 
#define VR_AS   0x4153U
 
#define VR_AT   0x4154U
 
#define VR_CS   0x4353U
 
#define VR_DA   0x4441U
 
#define VR_DS   0x4453U
 
#define VR_DT   0x4454U
 
#define VR_FD   0x4644U
 
#define VR_FL   0x464CU
 
#define VR_IS   0x4953U
 
#define VR_LO   0x4C4FU
 
#define VR_LT   0x4C54U
 
#define VR_PN   0x504EU
 
#define VR_SH   0x5348U
 
#define VR_SL   0x534CU
 
#define VR_SS   0x5353U
 
#define VR_ST   0x5354U
 
#define VR_TM   0x544DU
 
#define VR_UI   0x5549U
 
#define VR_UL   0x554CU
 
#define VR_US   0x5553U
 
#define VR_UT   0x5554U
 
#define LENGTH_UNDEFINED   0xFFFFFFFFUL
 
#define GROUP_BYTE_ORDER   0x0002U
 
#define GROUP_BYTE_ORDER_SWAPPED   0x0200U
 
#define GROUP_SEQUENCE   0xFFFEU
 
#define GROUP_DATA   0x7FE0U
 
#define ELEMENT_TRANSFER_SYNTAX_UID   0x0010U
 
#define ELEMENT_SEQUENCE_ITEM   0xE000U
 
#define ELEMENT_SEQUENCE_DELIMITATION_ITEM   0xE0DDU
 
#define ELEMENT_DATA   0x0010U
 

Functions

std::string MR::File::Dicom::format_date (const std::string &date)
 
std::string MR::File::Dicom::format_time (const std::string &time)
 
std::string MR::File::Dicom::format_ID (const std::string &ID)
 

Macro Definition Documentation

◆ ELEMENT_DATA

#define ELEMENT_DATA   0x0010U

Definition at line 58 of file definitions.h.

◆ ELEMENT_SEQUENCE_DELIMITATION_ITEM

#define ELEMENT_SEQUENCE_DELIMITATION_ITEM   0xE0DDU

Definition at line 57 of file definitions.h.

◆ ELEMENT_SEQUENCE_ITEM

#define ELEMENT_SEQUENCE_ITEM   0xE000U

Definition at line 56 of file definitions.h.

◆ ELEMENT_TRANSFER_SYNTAX_UID

#define ELEMENT_TRANSFER_SYNTAX_UID   0x0010U

Definition at line 55 of file definitions.h.

◆ GROUP_BYTE_ORDER

#define GROUP_BYTE_ORDER   0x0002U

Definition at line 50 of file definitions.h.

◆ GROUP_BYTE_ORDER_SWAPPED

#define GROUP_BYTE_ORDER_SWAPPED   0x0200U

Definition at line 51 of file definitions.h.

◆ GROUP_DATA

#define GROUP_DATA   0x7FE0U

Definition at line 53 of file definitions.h.

◆ GROUP_SEQUENCE

#define GROUP_SEQUENCE   0xFFFEU

Definition at line 52 of file definitions.h.

◆ LENGTH_UNDEFINED

#define LENGTH_UNDEFINED   0xFFFFFFFFUL

Definition at line 48 of file definitions.h.

◆ VR_AE

#define VR_AE   0x4145U

Definition at line 25 of file definitions.h.

◆ VR_AS

#define VR_AS   0x4153U

Definition at line 26 of file definitions.h.

◆ VR_AT

#define VR_AT   0x4154U

Definition at line 27 of file definitions.h.

◆ VR_CS

#define VR_CS   0x4353U

Definition at line 28 of file definitions.h.

◆ VR_DA

#define VR_DA   0x4441U

Definition at line 29 of file definitions.h.

◆ VR_DS

#define VR_DS   0x4453U

Definition at line 30 of file definitions.h.

◆ VR_DT

#define VR_DT   0x4454U

Definition at line 31 of file definitions.h.

◆ VR_FD

#define VR_FD   0x4644U

Definition at line 32 of file definitions.h.

◆ VR_FL

#define VR_FL   0x464CU

Definition at line 33 of file definitions.h.

◆ VR_IS

#define VR_IS   0x4953U

Definition at line 34 of file definitions.h.

◆ VR_LO

#define VR_LO   0x4C4FU

Definition at line 35 of file definitions.h.

◆ VR_LT

#define VR_LT   0x4C54U

Definition at line 36 of file definitions.h.

◆ VR_OB

#define VR_OB   0x4F42U

Definition at line 20 of file definitions.h.

◆ VR_OF

#define VR_OF   0x4F46U

Definition at line 22 of file definitions.h.

◆ VR_OW

#define VR_OW   0x4F57U

Definition at line 21 of file definitions.h.

◆ VR_PN

#define VR_PN   0x504EU

Definition at line 37 of file definitions.h.

◆ VR_SH

#define VR_SH   0x5348U

Definition at line 38 of file definitions.h.

◆ VR_SL

#define VR_SL   0x534CU

Definition at line 39 of file definitions.h.

◆ VR_SQ

#define VR_SQ   0x5351U

Definition at line 23 of file definitions.h.

◆ VR_SS

#define VR_SS   0x5353U

Definition at line 40 of file definitions.h.

◆ VR_ST

#define VR_ST   0x5354U

Definition at line 41 of file definitions.h.

◆ VR_TM

#define VR_TM   0x544DU

Definition at line 42 of file definitions.h.

◆ VR_UI

#define VR_UI   0x5549U

Definition at line 43 of file definitions.h.

◆ VR_UL

#define VR_UL   0x554CU

Definition at line 44 of file definitions.h.

◆ VR_UN

#define VR_UN   0x554EU

Definition at line 24 of file definitions.h.

◆ VR_US

#define VR_US   0x5553U

Definition at line 45 of file definitions.h.

◆ VR_UT

#define VR_UT   0x5554U

Definition at line 46 of file definitions.h.