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();
A DICOM element tag.
Definition: Tag.h:25
Find the VR of elements in an implicit VR data set.
Definition: VRFinder.h:26
std::function< VR(Tag const &, std::shared_ptr< DataSet const >, std::string const &)> Finder
Prototype of finder functions.
Definition: VRFinder.h:35
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....
static VR private_tag(Tag const &tag, std::shared_ptr< DataSet const >, std::string const &)
Return a default VR (UN) for private tags.
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 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 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).
static VR public_dictionary(Tag const &tag, std::shared_ptr< DataSet const >, std::string const &)
Return the VR from the public dictionary.
VRFinder(bool strict=false)
Constructor.
std::vector< Finder > finders
User-defined finder functions, empty by default.
Definition: VRFinder.h:41
bool strict
Whether to raise an exception when a VR is not found, or to return VR::UN.
Definition: VRFinder.h:47
Definition: Association.h:25
VR
Value representations of DICOM.
Definition: VR.h:23
#define ODIL_API
Definition: odil.h:28