|
odil
|
Find the VR of elements in an implicit VR data set. More...
#include <VRFinder.h>
Public Types | |
| typedef std::function< VR(Tag const &, DataSet const &, std::string const &)> | Finder |
| Prototype of finder functions. More... | |
Public Member Functions | |
| VRFinder () | |
| Constructor. | |
| 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. More... | |
Static Public Member Functions | |
| static VR | public_dictionary (Tag const &tag, DataSet const &, std::string const &) |
| Return the VR from the public dictionary. | |
| static VR | group_length (Tag const &tag, DataSet const &, std::string const &) |
| Return the VR of group-length (gggg,0000) elements. | |
| static VR | private_tag (Tag const &tag, DataSet const &, std::string const &) |
| Return a default VR (UN) for private tags. | |
| 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). | |
Public Attributes | |
| std::vector< Finder > | finders |
| User-defined finder functions, empty by default. | |
Static Public Attributes | |
| static std::vector< Finder > const | default_finders =VRFinder::_get_default_finders() |
| Default finder functions. | |
Find the VR of elements in an implicit VR data set.
| typedef std::function<VR(Tag const &, DataSet const &, std::string const &)> odil::VRFinder::Finder |
Prototype of finder functions.
Finder functions must raise an exception if they are not applicable.
| VR odil::VRFinder::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.
The user-defined finders are tried first, then the default_finders.
1.8.11