47 const size_t numSwaps = n/2;
50 std::swap(arr[i], arr[n-i-1]);
71 const unsigned char*& tagDataOrig,
89 bool isLastSection)
const;
Class to store tag values.
The GenericPrivateDICOMTagDecoder class is a default decoder usable for all private DICOM tags as wel...
An experimental DICOM tag decoder class for private Toshiba PMTF tags.
void _analyzeAndDump(const unsigned char *tagData, MLuint32 tagDataSize, PrivateDICOMTagValueFields &resultFields, bool isLastSection) const
Expects the data of a private Toshiba PMTF tag value and tries to decode it as far as possible as hum...
void flipBuffer(T *arr, size_t n) const
Helper routine reverting order of n elements starting at arr.
bool _extractDump(const DCMTree::Value &tagVal, PrivateDICOMTagValueFields &resultFields) const
Expects the tag value of a private Toshiba PMTF tag and tries to decode it as far as possible as huma...
PMTFToshibaPrivateDICOMTagDecoders()
Constructor doing nothing.
~PMTFToshibaPrivateDICOMTagDecoders() override
PrivateDICOMTagDecoderPluginBase::DecodeStates decodePrivateTag(const std::string &privateCreator, DCMTree::Const_TagPtr tagPtr, PrivateDICOMTagValueFields &resultFields) override
If a private Toshiba PMTF header tag is passed then this routine converts its data element(s) to fiel...
void _decodeTagArea(const std::string &prefix, const unsigned char *&tagDataOrig, MLuint32 &tagDataSize, PrivateDICOMTagValueFields &resultFields) const
Assume a range of DICOM tags in binary storage format used by Toshiba private tags and decode and add...
DecodeStates
Return states of decoding.
List type managing and maintaining a number of PrivateDICOMTagValueFields::PrivateTagField containers...
Header file of class GenericPrivateDICOMTagDecoder which is a default decoder usable for all private ...
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
boost::shared_ptr< const Tag > Const_TagPtr