comparison OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h @ 4273:0034f855c023

tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Nov 2020 12:24:50 +0100
parents 4d42408da117
children 3b70a2e6a06c
comparison
equal deleted inserted replaced
4272:1661544ea94d 4273:0034f855c023
99 // the top of DCMTK API 99 // the top of DCMTK API
100 DcmFileFormat& GetDcmtkObjectConst() const; 100 DcmFileFormat& GetDcmtkObjectConst() const;
101 101
102 explicit ParsedDicomFile(DcmFileFormat* dicom); // This takes ownership (no clone) 102 explicit ParsedDicomFile(DcmFileFormat* dicom); // This takes ownership (no clone)
103 103
104 #if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1
105 // Alias for binary compatibility with Orthanc Framework 1.7.2 => don't use it anymore
106 void DatasetToJson(Json::Value& target,
107 DicomToJsonFormat format,
108 DicomToJsonFlags flags,
109 unsigned int maxStringLength);
110 DcmFileFormat& GetDcmtkObject() const;
111 void Apply(ITagVisitor& visitor);
112 ParsedDicomFile* Clone(bool keepSopInstanceUid);
113 bool LookupTransferSyntax(std::string& result);
114 bool GetTagValue(std::string& value,
115 const DicomTag& tag);
116 #endif
117
104 public: 118 public:
105 explicit ParsedDicomFile(bool createIdentifiers); // Create a minimal DICOM instance 119 explicit ParsedDicomFile(bool createIdentifiers); // Create a minimal DICOM instance
106 120
107 ParsedDicomFile(const DicomMap& map, 121 ParsedDicomFile(const DicomMap& map,
108 Encoding defaultEncoding, 122 Encoding defaultEncoding,