Mercurial > hg > orthanc
diff OrthancServer/DicomModification.h @ 788:7ebe4bf87196
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 05 May 2014 18:39:36 +0200 |
parents | ac18946afa74 |
children | 331eaf9d9d69 |
line wrap: on
line diff
--- a/OrthancServer/DicomModification.h Mon May 05 15:52:14 2014 +0200 +++ b/OrthancServer/DicomModification.h Mon May 05 18:39:36 2014 +0200 @@ -48,16 +48,16 @@ private: typedef std::set<DicomTag> Removals; typedef std::map<DicomTag, std::string> Replacements; - typedef std::map< std::pair<DicomRootLevel, std::string>, std::string> UidMap; + typedef std::map< std::pair<ResourceType, std::string>, std::string> UidMap; Removals removals_; Replacements replacements_; bool removePrivateTags_; - DicomRootLevel level_; + ResourceType level_; UidMap uidMap_; void MapDicomIdentifier(ParsedDicomFile& dicom, - DicomRootLevel level); + ResourceType level); public: DicomModification(); @@ -82,9 +82,9 @@ return removePrivateTags_; } - void SetLevel(DicomRootLevel level); + void SetLevel(ResourceType level); - DicomRootLevel GetLevel() const + ResourceType GetLevel() const { return level_; }