32#include <FMEThirdPartyWarningsDisable.h>
34#include <gdcmDataSet.h>
35#include <gdcmCSAElement.h>
36#include <FMEThirdPartyWarningsRestore.h>
115 std::set<CSAElement> InternalCSADataSet;
119 CSAHeaderType InternalType;
123 const char *InterfileData;
125 std::string reportString;
Class CSADecoder adopted from gdcm implementation to decode Siemens CSA DICOM header tags.
void Print(std::ostream &os) const
Print the CSADecoder (use only if Format == SV10 or NOMAGIC)
const std::set< CSAElement > & getInternalCSADataSet() const
wsp: Added access function to traverse all private elements. I wonder why this is not available norma...
const DataSet & GetDataSet() const
Return the DataSet output (use only if Format == DATASET_FORMAT )
CSAHeaderType GetFormat() const
return the format of the CSADecoder SV10 and NOMAGIC are equivalent.
const char * GetInterfile() const
Return the string output (use only if Format == Interfile)
static VR GetVRFromDataSetFormatDict(const Tag &t)
Helper function to get VR from a DataSet entry if Format is DATASET_FORMAT.
const std::string & getReportString() const
Returns information about the reason why decoding failed.
bool LoadFromDataElement(DataElement const &de)
Decode the CSADecoder from element 'de'.
CSAHeaderType
Divers format of CSADecoder as found 'in the wild'.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
std::ostream & operator<<(std::ostream &out, const ml::Variant &variant)
Namespace of the Grassroots DICOM library.
std::ostream & operator<<(std::ostream &os, const CSADecoder &d)
Print operator streaming out the CSADecoder.