Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
Loading...
Searching...
No Matches
VR.h
Go to the documentation of this file.
1
/*************************************************************************
2
* odil - Copyright (C) Universite de Strasbourg
3
* Distributed under the terms of the CeCILL-B license, as published by
4
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6
* for details.
7
************************************************************************/
8
9
#ifndef _998aa43a_9e90_4d39_a074_a7074ac5c9b8
10
#define _998aa43a_9e90_4d39_a074_a7074ac5c9b8
11
12
#include <string>
13
14
#include "
odil/odil.h
"
15
16
namespace
odil
17
{
18
19
class
Tag
;
20
22
enum class
VR
23
{
24
UNKNOWN
,
25
AE
,
AS
,
AT
,
CS
,
DA
,
DS
,
DT
,
FL
,
FD
,
IS
,
LO
,
LT
,
OB
,
OD
,
OF
,
OL
,
OV
,
OW
,
PN
,
26
SH
,
SL
,
SQ
,
SS
,
ST
,
SV
,
TM
,
UC
,
UI
,
UL
,
UN
,
UR
,
US
,
UT
,
UV
,
27
INVALID
=9999
28
};
29
31
ODIL_API
std::string
as_string
(
VR
vr);
32
38
ODIL_API
VR
as_vr
(std::string
const
& vr);
39
45
ODIL_API
VR
as_vr
(
Tag
const
& tag);
46
48
ODIL_API
bool
is_int
(
VR
vr);
49
51
ODIL_API
bool
is_real
(
VR
vr);
52
54
ODIL_API
bool
is_string
(
VR
vr);
55
57
ODIL_API
bool
is_binary
(
VR
vr);
58
59
}
60
61
#endif
// _998aa43a_9e90_4d39_a074_a7074ac5c9b8
odil::Tag
A DICOM element tag.
Definition
Tag.h:26
odil
Definition
Association.h:25
odil::as_vr
VR as_vr(std::string const &vr)
Convert a string to its VR.
odil::is_string
bool is_string(VR vr)
Test whether a VR contains text.
odil::is_binary
bool is_binary(VR vr)
Test whether a VR contains binary data.
odil::is_real
bool is_real(VR vr)
Test whether a VR contains rel numbers.
odil::as_string
std::string as_string(VR vr)
Convert a VR to its string representation.
odil::is_int
bool is_int(VR vr)
Test whether a VR contains integers.
odil::VR
VR
Value representations of DICOM.
Definition
VR.h:23
odil::VR::OB
@ OB
Definition
VR.h:25
odil::VR::DA
@ DA
Definition
VR.h:25
odil::VR::UN
@ UN
Definition
VR.h:26
odil::VR::IS
@ IS
Definition
VR.h:25
odil::VR::SQ
@ SQ
Definition
VR.h:26
odil::VR::UR
@ UR
Definition
VR.h:26
odil::VR::OV
@ OV
Definition
VR.h:25
odil::VR::LO
@ LO
Definition
VR.h:25
odil::VR::DS
@ DS
Definition
VR.h:25
odil::VR::DT
@ DT
Definition
VR.h:25
odil::VR::UL
@ UL
Definition
VR.h:26
odil::VR::UNKNOWN
@ UNKNOWN
Definition
VR.h:24
odil::VR::UC
@ UC
Definition
VR.h:26
odil::VR::UI
@ UI
Definition
VR.h:26
odil::VR::SL
@ SL
Definition
VR.h:26
odil::VR::US
@ US
Definition
VR.h:26
odil::VR::OD
@ OD
Definition
VR.h:25
odil::VR::PN
@ PN
Definition
VR.h:25
odil::VR::OF
@ OF
Definition
VR.h:25
odil::VR::UT
@ UT
Definition
VR.h:26
odil::VR::CS
@ CS
Definition
VR.h:25
odil::VR::OW
@ OW
Definition
VR.h:25
odil::VR::AS
@ AS
Definition
VR.h:25
odil::VR::FD
@ FD
Definition
VR.h:25
odil::VR::FL
@ FL
Definition
VR.h:25
odil::VR::TM
@ TM
Definition
VR.h:26
odil::VR::OL
@ OL
Definition
VR.h:25
odil::VR::LT
@ LT
Definition
VR.h:25
odil::VR::INVALID
@ INVALID
Definition
VR.h:27
odil::VR::SV
@ SV
Definition
VR.h:26
odil::VR::SS
@ SS
Definition
VR.h:26
odil::VR::UV
@ UV
Definition
VR.h:26
odil::VR::AE
@ AE
Definition
VR.h:25
odil::VR::SH
@ SH
Definition
VR.h:26
odil::VR::ST
@ ST
Definition
VR.h:26
odil::VR::AT
@ AT
Definition
VR.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
src
odil
VR.h
Generated by
1.17.0