Mercurial > hg > orthanc
comparison OrthancServer/Sources/Search/ISqlLookupFormatter.h @ 5568:b0b5546f1b9f find-refactoring
find refactor: re-use existing code. /studies?expand is almost fully implemented with new code
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 25 Apr 2024 09:22:07 +0200 |
parents | 48b8dae6dc77 |
children | 043c8016ed6a |
comparison
equal
deleted
inserted
replaced
5567:f3562c1a150d | 5568:b0b5546f1b9f |
---|---|
22 | 22 |
23 #pragma once | 23 #pragma once |
24 | 24 |
25 #if ORTHANC_BUILDING_SERVER_LIBRARY == 1 | 25 #if ORTHANC_BUILDING_SERVER_LIBRARY == 1 |
26 # include "../../../OrthancFramework/Sources/Enumerations.h" | 26 # include "../../../OrthancFramework/Sources/Enumerations.h" |
27 # include "../Search/LabelsConstraint.h" | |
27 #else | 28 #else |
28 # include <Enumerations.h> | 29 # include <Enumerations.h> |
29 #endif | 30 #endif |
30 | 31 |
31 #include <boost/noncopyable.hpp> | 32 #include <boost/noncopyable.hpp> |
33 | 34 |
34 namespace Orthanc | 35 namespace Orthanc |
35 { | 36 { |
36 class DatabaseConstraint; | 37 class DatabaseConstraint; |
37 | 38 |
38 enum LabelsConstraint | |
39 { | |
40 LabelsConstraint_All, | |
41 LabelsConstraint_Any, | |
42 LabelsConstraint_None | |
43 }; | |
44 | |
45 // This class is also used by the "orthanc-databases" project | 39 // This class is also used by the "orthanc-databases" project |
46 class ISqlLookupFormatter : public boost::noncopyable | 40 class ISqlLookupFormatter : public boost::noncopyable |
47 { | 41 { |
48 public: | 42 public: |
49 virtual ~ISqlLookupFormatter() | 43 virtual ~ISqlLookupFormatter() |