Mercurial > hg > orthanc
comparison OrthancFramework/Sources/SQLite/StatementId.h @ 5566:8b507b1514eb find-refactoring
cache dynamic SQLite statements (imported from large-queries branch)
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 23 Apr 2024 14:37:11 +0200 |
parents | 48b8dae6dc77 |
children | 3f13db27b399 |
comparison
equal
deleted
inserted
replaced
5565:def06a42e5ef | 5566:8b507b1514eb |
---|---|
52 class ORTHANC_PUBLIC StatementId | 52 class ORTHANC_PUBLIC StatementId |
53 { | 53 { |
54 private: | 54 private: |
55 const char* file_; | 55 const char* file_; |
56 int line_; | 56 int line_; |
57 std::string statement_; | |
57 | 58 |
58 StatementId(); // Forbidden | 59 StatementId(); // Forbidden |
59 | 60 |
60 public: | 61 public: |
61 StatementId(const char* file, | 62 StatementId(const char* file, |
62 int line); | 63 int line); |
63 | 64 |
65 StatementId(const char* file, | |
66 int line, | |
67 const std::string& statement); | |
68 | |
64 bool operator< (const StatementId& other) const; | 69 bool operator< (const StatementId& other) const; |
65 }; | 70 }; |
66 } | 71 } |
67 } | 72 } |