comparison Core/SQLite/Statement.h @ 1221:2255e66da726

getting rid of the dependency against Boost in the SQLite C++ wrapper
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Nov 2014 17:05:50 +0100
parents 9b9026560a5f
children 63d47b1fa239
comparison
equal deleted inserted replaced
1220:9b9026560a5f 1221:2255e66da726
35 **/ 35 **/
36 36
37 37
38 #pragma once 38 #pragma once
39 39
40 #include "NonCopyable.h"
40 #include "OrthancSQLiteException.h" 41 #include "OrthancSQLiteException.h"
41 #include "StatementId.h" 42 #include "StatementId.h"
42 #include "StatementReference.h" 43 #include "StatementReference.h"
43 44
44 #include <vector> 45 #include <vector>
45 #include <stdint.h> 46 #include <stdint.h>
46 #include <boost/noncopyable.hpp>
47 47
48 #if ORTHANC_BUILD_UNIT_TESTS == 1 48 #if ORTHANC_BUILD_UNIT_TESTS == 1
49 #include <gtest/gtest_prod.h> 49 #include <gtest/gtest_prod.h>
50 #endif 50 #endif
51 51
67 COLUMN_TYPE_TEXT = 3, 67 COLUMN_TYPE_TEXT = 3,
68 COLUMN_TYPE_BLOB = 4, 68 COLUMN_TYPE_BLOB = 4,
69 COLUMN_TYPE_NULL = 5 69 COLUMN_TYPE_NULL = 5
70 }; 70 };
71 71
72 class Statement : public boost::noncopyable 72 class Statement : public NonCopyable
73 { 73 {
74 friend class Connection; 74 friend class Connection;
75 75
76 #if ORTHANC_BUILD_UNIT_TESTS == 1 76 #if ORTHANC_BUILD_UNIT_TESTS == 1
77 FRIEND_TEST(SQLStatementTest, Run); 77 FRIEND_TEST(SQLStatementTest, Run);