Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
VR.h File Reference
#include <string>
#include "odil/odil.h"
Include dependency graph for VR.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  odil
 

Enumerations

enum class  odil::VR {
  odil::UNKNOWN , odil::AE , odil::AS , odil::AT ,
  odil::CS , odil::DA , odil::DS , odil::DT ,
  odil::FL , odil::FD , odil::IS , odil::LO ,
  odil::LT , odil::OB , odil::OD , odil::OF ,
  odil::OL , odil::OV , odil::OW , odil::PN ,
  odil::SH , odil::SL , odil::SQ , odil::SS ,
  odil::ST , odil::SV , odil::TM , odil::UC ,
  odil::UI , odil::UL , odil::UN , odil::UR ,
  odil::US , odil::UT , odil::UV , odil::INVALID =9999
}
 Value representations of DICOM. More...
 

Functions

std::string odil::as_string (VR vr)
 Convert a VR to its string representation.
 
VR odil::as_vr (std::string const &vr)
 Convert a string to its VR.
 
VR odil::as_vr (Tag const &tag)
 Guess a VR from a tag.
 
bool odil::is_int (VR vr)
 Test whether a VR contains integers.
 
bool odil::is_real (VR vr)
 Test whether a VR contains rel numbers.
 
bool odil::is_string (VR vr)
 Test whether a VR contains text.
 
bool odil::is_binary (VR vr)
 Test whether a VR contains binary data.