9 #ifndef _b7afd80f_327e_4d9a_b0fa_88c565add7b3 10 #define _b7afd80f_327e_4d9a_b0fa_88c565add7b3 16 #include "odil/DataSet.h" 33 std::function<VR(Tag const &, DataSet const &, std::string const &)>
53 std::string
const & transfer_syntax)
const;
57 Tag const & tag,
DataSet const &, std::string
const &);
61 Tag const & tag,
DataSet const &, std::string
const &);
65 Tag const & tag,
DataSet const &, std::string
const &);
70 std::string
const & transfer_syntax);
75 std::string
const & transfer_syntax);
78 static std::vector<Finder> _get_default_finders();
83 #endif // _b7afd80f_327e_4d9a_b0fa_88c565add7b3 Definition: Association.cpp:39
static VR public_dictionary(Tag const &tag, DataSet const &, std::string const &)
Return the VR from the public dictionary.
Definition: VRFinder.cpp:89
A DICOM element tag.
Definition: Tag.h:22
std::vector< Finder > finders
User-defined finder functions, empty by default.
Definition: VRFinder.h:40
static VR implicit_vr_little_endian(Tag const &tag, DataSet const &data_set, std::string const &transfer_syntax)
Return the VR of elements defined in PS3.5, A.1 (c).
Definition: VRFinder.cpp:131
static std::vector< Finder > const default_finders
Default finder functions.
Definition: VRFinder.h:37
std::function< VR(Tag const &, DataSet const &, std::string const &)> Finder
Prototype of finder functions.
Definition: VRFinder.h:34
DICOM Data set.
Definition: DataSet.h:28
VRFinder()
Constructor.
Definition: VRFinder.cpp:31
VR operator()(Tag const &tag, DataSet const &data_set, std::string const &transfer_syntax) const
Return a VR for the given tag, partially-constructed data set and transfer-syntax. If no VR can be found, raise an exception.
Definition: VRFinder.cpp:38
static VR private_tag(Tag const &tag, DataSet const &, std::string const &)
Return a default VR (UN) for private tags.
Definition: VRFinder.cpp:118
Find the VR of elements in an implicit VR data set.
Definition: VRFinder.h:24
static VR explicit_vr_little_endian(Tag const &tag, DataSet const &data_set, std::string const &transfer_syntax)
Return the VR of elements defined in PS3.5, A.2 (c).
Definition: VRFinder.cpp:206
static VR group_length(Tag const &tag, DataSet const &, std::string const &)
Return the VR of group-length (gggg,0000) elements.
Definition: VRFinder.cpp:105