Odil
A C++11 library for the DICOM standard
Classes | Functions
odil::dcmtk Namespace Reference

Classes

struct  ElementAccessor
 Generic access to values in DcmElement. More...
 
struct  ElementTraits
 
class  Exception
 
struct  VRTraits
 

Functions

DcmEVR convert (VR vr)
 Convert a odil::VR to a DcmVR. More...
 
VR convert (DcmEVR evr)
 Convert a DcmVR to a odil::VR. More...
 
DcmTagKey convert (Tag const &tag)
 Convert a odil::Tag to a DcmTagKey. More...
 
Tag convert (DcmTagKey const &tag)
 Convert a DcmTagKey to a odil::Tag. More...
 
DcmElement * convert (Tag const &tag, Element const &source)
 Convert a odil::Element to a DcmElement. More...
 
template<typename TSourceType , typename TDestinationType >
void convert (Element const &source, DcmElement *destination, TSourceType const &(Element::*getter)() const)
 Low-level element converter. More...
 
Element convert (DcmElement *source)
 Convert a DcmElement to a odil::Element. More...
 
template<typename TSourceType >
void convert (Element const &source, DcmElement *destination, TSourceType const &(Element::*getter)() const)
 Low-level element converter. More...
 
void convert (Element const &source, DcmOtherByteOtherWord *destination)
 Low-level element converter. More...
 
void convert (Element const &source, DcmOtherFloat *destination)
 Low-level element converter. More...
 
template<typename TSourceType , typename TDestinationType >
void convert (DcmElement *source, Element &destination, TDestinationType &(Element::*getter)())
 Low-level element converter. More...
 
DcmItem * convert (std::shared_ptr< DataSet const > source, bool as_data_set=true)
 Convert a odil::DataSet to a DcmDataset or a DcmItem. More...
 
std::shared_ptr< DataSetconvert (DcmItem *source)
 Convert a DcmDataset to a odil::DataSet. More...
 

Function Documentation

◆ convert() [1/13]

DcmEVR odil::dcmtk::convert ( VR  vr)

Convert a odil::VR to a DcmVR.

◆ convert() [2/13]

VR odil::dcmtk::convert ( DcmEVR  evr)

Convert a DcmVR to a odil::VR.

◆ convert() [3/13]

DcmTagKey odil::dcmtk::convert ( Tag const &  tag)

Convert a odil::Tag to a DcmTagKey.

◆ convert() [4/13]

Tag odil::dcmtk::convert ( DcmTagKey const &  tag)

Convert a DcmTagKey to a odil::Tag.

◆ convert() [5/13]

DcmElement* odil::dcmtk::convert ( Tag const &  tag,
Element const &  source 
)

Convert a odil::Element to a DcmElement.

◆ convert() [6/13]

template<typename TSourceType , typename TDestinationType >
void odil::dcmtk::convert ( Element const &  source,
DcmElement *  destination,
TSourceType const &(Element::*)() const  getter 
)

Low-level element converter.

◆ convert() [7/13]

Element odil::dcmtk::convert ( DcmElement *  source)

Convert a DcmElement to a odil::Element.

◆ convert() [8/13]

template<typename TSourceType >
void odil::dcmtk::convert ( Element const &  source,
DcmElement *  destination,
TSourceType const &(Element::*)() const  getter 
)

Low-level element converter.

◆ convert() [9/13]

void odil::dcmtk::convert ( Element const &  source,
DcmOtherByteOtherWord *  destination 
)

Low-level element converter.

◆ convert() [10/13]

void odil::dcmtk::convert ( Element const &  source,
DcmOtherFloat *  destination 
)

Low-level element converter.

◆ convert() [11/13]

template<typename TSourceType , typename TDestinationType >
void odil::dcmtk::convert ( DcmElement *  source,
Element destination,
TDestinationType &(Element::*)()  getter 
)

Low-level element converter.

◆ convert() [12/13]

DcmItem* odil::dcmtk::convert ( std::shared_ptr< DataSet const >  source,
bool  as_data_set = true 
)

Convert a odil::DataSet to a DcmDataset or a DcmItem.

◆ convert() [13/13]

std::shared_ptr<DataSet> odil::dcmtk::convert ( DcmItem *  source)

Convert a DcmDataset to a odil::DataSet.