Mercurial > hg > orthanc-stone
diff Resources/Orthanc/Plugins/Samples/Common/DicomPath.h @ 39:9ee7e2f5f1a3
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 21 Dec 2016 14:19:38 +0100 |
parents | 517c46f527cd |
children | 7207a407bcd8 |
line wrap: on
line diff
--- a/Resources/Orthanc/Plugins/Samples/Common/DicomPath.h Mon Dec 19 12:55:14 2016 +0100 +++ b/Resources/Orthanc/Plugins/Samples/Common/DicomPath.h Wed Dec 21 14:19:38 2016 +0100 @@ -50,30 +50,30 @@ const Prefix& GetPrefixItem(size_t depth) const; public: - DicomPath(DicomTag finalTag) : + DicomPath(const DicomTag& finalTag) : finalTag_(finalTag) { } - DicomPath(DicomTag sequence, + DicomPath(const DicomTag& sequence, size_t index, - DicomTag tag); + const DicomTag& tag); - DicomPath(DicomTag sequence1, + DicomPath(const DicomTag& sequence1, size_t index1, - DicomTag sequence2, + const DicomTag& sequence2, size_t index2, - DicomTag tag); + const DicomTag& tag); - DicomPath(DicomTag sequence1, + DicomPath(const DicomTag& sequence1, size_t index1, - DicomTag sequence2, + const DicomTag& sequence2, size_t index2, - DicomTag sequence3, + const DicomTag& sequence3, size_t index3, - DicomTag tag); + const DicomTag& tag); - void AddToPrefix(DicomTag tag, + void AddToPrefix(const DicomTag& tag, size_t position) { prefix_.push_back(std::make_pair(tag, position));