/** @mainpage libsqlite3x API docs This is the documentation for sqlite3x and sq3, two slightly different C++ wrappers for the sqlite3 C API. Both are very small and suitable for direct inclusion into arbitrary source projects. The main difference between the APIs is that the sqlite3x makes very heavy use of exceptions, throwing on any error. The sq3 API, on the other hand, was designed for environments where exception support may not be completely enabled (e.g., WinCE). Caveat: The wide-char code assumes wchar_t is a 2-byte UTF-16 data type, so Unicode support isn't likely to work on *nix (gcc/Linux defines wchar_t as UTF-32). This means that all of the w_char/wstring-based APIs should be avoided. The wide-string API is only compiled in if the macro SQLITE3X_USE_WCHAR is set to a true value at build time. That macro is turned on by default /if/ the header file thinks it can be safely enabled. See sqlite3x.hpp for the #if blocks which control this. The sqlite3x code was originally written by Cory Nelson (phrostbyte at users sourceforge net). In July 2006 it was adopted, hacked upon, and documented, and is now maintained by stephan beal (stephan at s11n net). The original sqlite3x source code can be found on Cory's site: http://dev.int64.org/sqlite.html The hacked copy can be found somewhere under: http://s11n.net/sqlite/ and includes a basic Makefile demonstrating how to build it. It has no dependencies on 3rd-party libraries other than sqlite3 (available from http://sqlite.org and comes preinstalled on many Linux distributions) and an STL implementation. Changes between the original sqlite3x and this hacked copy are described in sqlite3.hpp. sq3 is based off of sqlite3x, but is a different API which is 100% independent of sqlite3x. sq3 is released into the Public Domain, whereas sqlite3x uses a zlib-like license (see sqlite3x.hpp for details). If you just want one or the other of sq3 or sqlite3x, simply take the source files named sq3*.* or sqlite3x*.*, as appropriate. Also take refcount.hpp if you use sq3, as it provide reference-counted pointer sharing (which makes "copying" of databases objects possible).
Copyright (C) 2004-2005 Cory Nelson Copyright (C) 2006 stephan beal This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.*/