Odil
A C++11 library for the DICOM standard
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

 odil
 

Enumerations

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

Functions

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