dcmtkpp
|
Generic access to values in DcmElement. More...
#include <ElementAccessor.h>
Public Types | |
typedef TValueType | ValueType |
C++ type of the VR. | |
typedef std::function< ValueType(DcmElement const &, unsigned long const)> | GetterType |
Getter type. | |
typedef std::function< void(DcmElement &, ValueType const &, unsigned long const)> | SetterType |
Setter type. | |
Public Member Functions | |
template<> | |
ElementAccessor< std::string >::GetterType const | element_get |
template<> | |
ElementAccessor< std::string >::SetterType const | element_set |
template<> | |
ElementAccessor< std::vector< uint8_t > >::GetterType const | element_get |
template<> | |
ElementAccessor< std::vector< uint8_t > >::SetterType const | element_set |
template<> | |
ElementAccessor< Float32 >::GetterType const | element_get |
template<> | |
ElementAccessor< Float32 >::SetterType const | element_set |
template<> | |
ElementAccessor< Float64 >::GetterType const | element_get |
template<> | |
ElementAccessor< Float64 >::SetterType const | element_set |
template<> | |
ElementAccessor< Sint16 >::GetterType const | element_get |
template<> | |
ElementAccessor< Sint16 >::SetterType const | element_set |
template<> | |
ElementAccessor< Sint32 >::GetterType const | element_get |
template<> | |
ElementAccessor< Sint32 >::SetterType const | element_set |
template<> | |
ElementAccessor< Uint16 >::GetterType const | element_get |
template<> | |
ElementAccessor< Uint16 >::SetterType const | element_set |
template<> | |
ElementAccessor< Uint32 >::GetterType const | element_get |
template<> | |
ElementAccessor< Uint32 >::SetterType const | element_set |
Static Public Member Functions | |
static bool | has (DcmDataset const &dataset, DcmTagKey const &tag) |
Test whether the data set contains a given tag. | |
static ValueType | get (DcmDataset const &dataset, DcmTagKey const tag, unsigned int const position=0) |
Return the value of an element in a dataset. | |
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. | |
Static Public Attributes | |
static GetterType const | element_get |
Return the value in the element. | |
static SetterType const | element_set |
Set the value in the element. | |
Generic access to values in DcmElement.