From acff75b62b48f9a121d935e1f59ddc465145618c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Mar 2011 12:35:53 +0200 Subject: Development build system setup --- odb/sqlite/details/options.cli | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 odb/sqlite/details/options.cli (limited to 'odb/sqlite/details/options.cli') diff --git a/odb/sqlite/details/options.cli b/odb/sqlite/details/options.cli new file mode 100644 index 0000000..a0af101 --- /dev/null +++ b/odb/sqlite/details/options.cli @@ -0,0 +1,48 @@ +// file : odb/sqlite/details/options.cli +// author : Boris Kolpackov +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +include ; + +namespace odb +{ + namespace sqlite + { + namespace details + { + class options + { + std::string --database + { + "", + "SQLite database file name. If the database file is not specified + then a private, temporary on-disk database will be created. Use + the \cb{:memory:} special name to create a private, temporary + in-memory database." + }; + + bool --database-create + { + "Create the SQLite database if it does not already exist. By default + opening the database fails if it does not already exist." + }; + + bool --database-readonly + { + "Open the SQLite database in read-only mode. By default the database + is opened for reading and writing if possible, or reading only if + the file is write-protected by the operating system." + }; + + std::string --options-file + { + "", + "Read additional options from . Each option appearing on a + separate line optionally followed by space and an option value. + Empty lines and lines starting with \cb{#} are ignored." + }; + }; + } + } +} -- cgit v1.1