ThinSQLite++
A thin, safe and convenient modern C++ wrapper for SQLite API.
Loading...
Searching...
No Matches
thinsqlitepp Namespace Reference

ThinSQLite++ namespace. More...

Classes

class  auto_reset
 RAII wrapper that resets statement on destruction. More...
 
class  backup
 Online backup object. More...
 
class  basic_string_param
 A reference to a null terminated string. More...
 
class  blob
 Access blob as a byte stream. More...
 
class  cell
 A cell in a row. More...
 
class  context
 SQL Function Context Object. More...
 
class  database
 Database Connection. More...
 
class  error
 Carries information about SQLite error. More...
 
class  exception
 Exception used to report any SQLite errors. More...
 
class  handle
 Base functionality for all fake wrapper classes More...
 
class  index_info
 Virtual Table Indexing Information. More...
 
class  lock_adapter
 A mutex adapter for Lockable concept that works with null and non-null mutexes. More...
 
class  mutex
 SQLite Mutex. More...
 
class  row
 Row result of a statement. More...
 
class  row_iterator
 A forward iterator for statement results. More...
 
class  row_range
 A forward range for statement results. More...
 
class  snapshot
 A database snapshot. More...
 
struct  sqlite_allocated
 Base class that makes derived classes be allocated using SQLite. More...
 
struct  sqlite_allocator
 A C++ Allocator that uses SQLite memory allocation functions. More...
 
class  sqlite_deleter
 Memory deleter that uses sqlite3_free. More...
 
class  sqlite_version
 Representation of SQLite version. More...
 
class  statement
 Prepared Statement Object. More...
 
class  statement_parser
 Parses text containing multiple SQL statements. More...
 
class  value
 Dynamically Typed Value Object. More...
 
class  vtab
 Base class for virtual table object implementations. More...
 
class  zero_blob
 An efficient blob of zeroes of a given size. More...
 

Typedefs

using allocated_string = std::unique_ptr<char, sqlite_deleter<char>>
 A string allocated by SQLite.
 
using allocated_bytes = std::unique_ptr<std::byte, sqlite_deleter<std::byte>>
 A byte buffer allocated by SQLite.
 
template<class T >
using type_identity = std::type_identity<T>
 
template<class T >
using type_identity_t = std::type_identity_t<T>
 
template<class T >
using span = std::span<T>
 Alias or reimplementation of std::span.
 
using blob_view = span<const std::byte>
 A blob_view is a span of bytes.
 
using string_param = basic_string_param<char>
 Convenience typedef.
 
using u8string_param = basic_string_param<char8_t>
 Convenience typedef. Only available if you compiler/library supports char8_t.
 

Enumerations

enum class  auto_reset_flags : unsigned { none = 0 , reset = 1 , clear_bindings = 2 , all = 3 }
 Bitwise mask of resets to perform for thinsqlitepp::auto_reset. More...
 

Functions

void initialize ()
 Initialize the SQLite library.
 
void shutdown () noexcept
 Deinitialize the SQLite library.
 
template<int Code, class ... Args>
auto config (Args &&...args) -> void
 Configures SQLite library.
 
constexpr auto_reset_flags operator| (auto_reset_flags lhs, auto_reset_flags rhs)
 
constexpr auto_reset_flags operator& (auto_reset_flags lhs, auto_reset_flags rhs)
 
constexpr auto_reset_flags operator^ (auto_reset_flags lhs, auto_reset_flags rhs)
 
constexpr auto_reset_flags operator~ (auto_reset_flags arg)
 

Detailed Description

ThinSQLite++ namespace.