comparison OrthancFramework/Sources/SQLite/README.txt @ 4044:d25f4c0fa160 framework

splitting code into OrthancFramework and OrthancServer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jun 2020 20:30:34 +0200
parents Core/SQLite/README.txt@9b9026560a5f
children
comparison
equal deleted inserted replaced
4043:6c6239aec462 4044:d25f4c0fa160
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.