Odil
A C++11 library for the DICOM standard
|
Generic access to values in DcmElement. More...
#include <ElementAccessor.h>
Public Types | |
typedef TValueType | ValueType |
C++ type of the VR. More... | |
typedef std::function< ValueType(DcmElement const &, unsigned long const)> | GetterType |
Getter type. More... | |
typedef std::function< void(DcmElement &, ValueType const &, unsigned long const)> | SetterType |
Setter type. More... | |
Static Public Member Functions | |
static bool | has (DcmDataset const &dataset, DcmTagKey const &tag) |
Test whether the data set contains a given tag. More... | |
static ValueType | get (DcmDataset const &dataset, DcmTagKey const tag, unsigned int const position=0) |
Return the value of an element in a dataset. More... | |
static void | set (DcmDataset &dataset, DcmTagKey const tag, ValueType const &value, unsigned int const position=0) |
Set the value of an element in a dataset. More... | |
Static Public Attributes | |
static const GetterType | element_get |
Return the value in the element. More... | |
static const SetterType | element_set |
Set the value in the element. More... | |
Generic access to values in DcmElement.
typedef std::function< ValueType(DcmElement const &, unsigned long const)> odil::dcmtk::ElementAccessor< TValueType >::GetterType |
Getter type.
typedef std::function< void(DcmElement &, ValueType const &, unsigned long const)> odil::dcmtk::ElementAccessor< TValueType >::SetterType |
Setter type.
typedef TValueType odil::dcmtk::ElementAccessor< TValueType >::ValueType |
C++ type of the VR.
|
static |
Return the value of an element in a dataset.
|
static |
Test whether the data set contains a given tag.
|
static |
Set the value of an element in a dataset.
|
static |
Return the value in the element.
|
static |
Set the value in the element.