Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/DicomModification.h @ 4297:785a2713323e
abi continued
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 17:20:49 +0100 |
parents | 7112a8af0b63 |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomModification.h Thu Nov 05 15:52:28 2020 +0100 +++ b/OrthancFramework/Sources/DicomParsing/DicomModification.h Thu Nov 05 17:20:49 2020 +0100 @@ -1,4 +1,4 @@ -/** +/** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics * Department, University Hospital of Liege, Belgium @@ -139,52 +139,31 @@ void SetRemovePrivateTags(bool removed); - bool ArePrivateTagsRemoved() const - { - return removePrivateTags_; - } + bool ArePrivateTagsRemoved() const; void SetLevel(ResourceType level); - ResourceType GetLevel() const - { - return level_; - } + ResourceType GetLevel() const; void SetupAnonymization(DicomVersion version); void Apply(ParsedDicomFile& toModify); - void SetAllowManualIdentifiers(bool check) - { - allowManualIdentifiers_ = check; - } + void SetAllowManualIdentifiers(bool check); - bool AreAllowManualIdentifiers() const - { - return allowManualIdentifiers_; - } + bool AreAllowManualIdentifiers() const; void ParseModifyRequest(const Json::Value& request); void ParseAnonymizationRequest(bool& patientNameReplaced, const Json::Value& request); - void SetDicomIdentifierGenerator(IDicomIdentifierGenerator& generator) - { - identifierGenerator_ = &generator; - } + void SetDicomIdentifierGenerator(IDicomIdentifierGenerator& generator); void Serialize(Json::Value& value) const; - void SetPrivateCreator(const std::string& privateCreator) - { - privateCreator_ = privateCreator; - } + void SetPrivateCreator(const std::string& privateCreator); - const std::string& GetPrivateCreator() - { - return privateCreator_; - } + const std::string& GetPrivateCreator() const; }; }