Odil
A C++11 library for the DICOM standard
|
Go to the documentation of this file.
9 #ifndef _b7afd80f_327e_4d9a_b0fa_88c565add7b3
10 #define _b7afd80f_327e_4d9a_b0fa_88c565add7b3
34 std::function<
VR(
Tag const &, std::shared_ptr<DataSet const>, std::string
const &)>
59 Tag const & tag, std::shared_ptr<DataSet const> data_set,
60 std::string
const & transfer_syntax)
const;
64 Tag const & tag, std::shared_ptr<DataSet const>, std::string
const &);
68 Tag const & tag, std::shared_ptr<DataSet const>, std::string
const &);
72 Tag const & tag, std::shared_ptr<DataSet const>, std::string
const &);
76 Tag const & tag, std::shared_ptr<DataSet const> data_set,
77 std::string
const & transfer_syntax);
81 Tag const & tag, std::shared_ptr<DataSet const> data_set,
82 std::string
const & transfer_syntax);
85 static std::vector<Finder> _get_default_finders();
90 #endif // _b7afd80f_327e_4d9a_b0fa_88c565add7b3
VR operator()(Tag const &tag, std::shared_ptr< DataSet const > data_set, std::string const &transfer_syntax) const
Return a VR for the given tag, partially-constructed data set and transfer-syntax....
Find the VR of elements in an implicit VR data set.
Definition: VRFinder.h:26
Definition: Association.h:25
VRFinder(bool strict=false)
Constructor.
std::vector< Finder > finders
User-defined finder functions, empty by default.
Definition: VRFinder.h:41
#define ODIL_API
Definition: odil.h:28
bool strict
Whether to raise an exception when a VR is not found, or to return VR::UN.
Definition: VRFinder.h:47
A DICOM element tag.
Definition: Tag.h:25
static VR implicit_vr_little_endian(Tag const &tag, std::shared_ptr< DataSet const > data_set, std::string const &transfer_syntax)
Return the VR of elements defined in PS3.5, A.1 (c).
static VR private_tag(Tag const &tag, std::shared_ptr< DataSet const >, std::string const &)
Return a default VR (UN) for private tags.
VR
Value representations of DICOM.
Definition: VR.h:23
static VR public_dictionary(Tag const &tag, std::shared_ptr< DataSet const >, std::string const &)
Return the VR from the public dictionary.
std::function< VR(Tag const &, std::shared_ptr< DataSet const >, std::string const &)> Finder
Prototype of finder functions.
Definition: VRFinder.h:35
static VR group_length(Tag const &tag, std::shared_ptr< DataSet const >, std::string const &)
Return the VR of group-length (gggg,0000) elements.
static std::vector< Finder > const default_finders
Default finder functions.
Definition: VRFinder.h:38
static VR explicit_vr_little_endian(Tag const &tag, std::shared_ptr< DataSet const > data_set, std::string const &transfer_syntax)
Return the VR of elements defined in PS3.5, A.2 (c).