comparison Orthanc/SQLite/README.txt @ 0:02f7a0400a91

initial commit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Feb 2015 13:45:35 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:02f7a0400a91
1 Introduction
2 ============
3
4 The code in this folder is a standalone object-oriented wrapper around
5 SQLite3. It is derived from the code of Chromium:
6
7 http://src.chromium.org/viewvc/chrome/trunk/src/sql/
8 http://maxradi.us/documents/sqlite/
9
10
11 Main differences with Chromium
12 ==============================
13
14 * The reference counting mechanism has been reimplemented to make it
15 simpler.
16 * The OrthancException class is used for the exception mechanisms.
17 * A statement is always valid (is_valid() always return true).
18 * The classes and the methods have been renamed to meet Orthanc's
19 coding conventions.
20
21
22 Reuse in another software
23 =========================
24
25 To use the Orthanc SQLite wrapper in another project than Orthanc, you
26 just have to define the "ORTHANC_SQLITE_STANDALONE" macro.
27
28 All the C++ exceptions generated by the wrapper will be objects of the
29 class "::Orthanc::SQLite::OrthancSQLiteException", that derives from
30 the standard exception class "::std::runtime_error".
31
32
33 Licensing
34 =========
35
36 The code in this folder is licensed under the 3-clause BSD license, in
37 order to respect the original license of the code.
38
39 It is pretty straightforward to extract the code from this folder and
40 to include it in another project.