Mercurial > hg > orthanc
comparison UnitTestsSources/FromDcmtkTests.cpp @ 3822:0d5f3a438e14 transcoding
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 10 Apr 2020 11:39:40 +0200 |
parents | f2488b645f5f |
children | 897ca3103253 |
comparison
equal
deleted
inserted
replaced
3821:f2488b645f5f | 3822:0d5f3a438e14 |
---|---|
3011 std::set<DicomTransferSyntax> ts; | 3011 std::set<DicomTransferSyntax> ts; |
3012 ts.insert(transferSyntax); | 3012 ts.insert(transferSyntax); |
3013 ProposePresentationContext(sopClassUid, ts); | 3013 ProposePresentationContext(sopClassUid, ts); |
3014 } | 3014 } |
3015 | 3015 |
3016 size_t GetRemainingPropositions() const | |
3017 { | |
3018 assert(proposed_.size() <= MAX_PROPOSED_PRESENTATIONS); | |
3019 return MAX_PROPOSED_PRESENTATIONS - proposed_.size(); | |
3020 } | |
3021 | |
3016 void ProposePresentationContext(const std::string& sopClassUid, | 3022 void ProposePresentationContext(const std::string& sopClassUid, |
3017 const std::set<DicomTransferSyntax>& transferSyntaxes) | 3023 const std::set<DicomTransferSyntax>& transferSyntaxes) |
3018 { | 3024 { |
3019 if (transferSyntaxes.empty()) | 3025 if (transferSyntaxes.empty()) |
3020 { | 3026 { |
4033 const char* sopClass = UID_FINDModalityWorklistInformationModel; | 4039 const char* sopClass = UID_FINDModalityWorklistInformationModel; |
4034 | 4040 |
4035 FindInternal(result, dataset, sopClass, true, NULL); | 4041 FindInternal(result, dataset, sopClass, true, NULL); |
4036 } | 4042 } |
4037 }; | 4043 }; |
4044 | |
4045 | |
4046 class DicomStorageUserConnection : public boost::noncopyable | |
4047 { | |
4048 private: | |
4049 std::unique_ptr<DicomAssociation> association_; | |
4050 | |
4051 public: | |
4052 }; | |
4038 } | 4053 } |
4039 | 4054 |
4040 | 4055 |
4041 TEST(Toto, DISABLED_DicomAssociation) | 4056 TEST(Toto, DISABLED_DicomAssociation) |
4042 { | 4057 { |