comparison OrthancCppClient/OrthancConnection.h @ 540:eaca3d38b2aa laaw

many fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Sep 2013 12:55:07 +0200
parents 6e4bd06c17c5
children 8fb9867d8089
comparison
equal deleted inserted replaced
537:2890721b0f57 540:eaca3d38b2aa
76 void SetThreadCount(uint32_t threadCount) 76 void SetThreadCount(uint32_t threadCount)
77 { 77 {
78 patients_.SetThreadCount(threadCount); 78 patients_.SetThreadCount(threadCount);
79 } 79 }
80 80
81 void Reload() 81 void Refresh()
82 { 82 {
83 patients_.Reload(); 83 ReadPatients();
84 patients_.Invalidate();
84 } 85 }
85 86
86 LAAW_API_INTERNAL const Orthanc::HttpClient& GetHttpClient() const 87 LAAW_API_INTERNAL const Orthanc::HttpClient& GetHttpClient() const
87 { 88 {
88 return client_; 89 return client_;
97 { 98 {
98 return patients_.GetSize(); 99 return patients_.GetSize();
99 } 100 }
100 101
101 Patient& GetPatient(uint32_t index); 102 Patient& GetPatient(uint32_t index);
103
104 void DeletePatient(uint32_t index)
105 {
106 GetPatient(index).Delete();
107 Refresh();
108 }
109
110 void StoreFile(const char* filename);
111
112 void Store(const void* dicom, uint64_t size);
102 }; 113 };
103 } 114 }