Classes | Namespaces | Macros | Functions
sqlite.hpp File Reference
#include <sqlite3.h>
#include <cstring>
#include <cstdint>
#include <string>
#include <vector>
#include <stdexcept>
Include dependency graph for sqlite.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sqlite::Blob
 
class  sqlite::Connection
 
class  sqlite::Error
 
class  sqlite::NOBlob
 
class  sqlite::Result
 
struct  sqlite::Priv::Statement
 
class  sqlite::Type
 

Namespaces

 sqlite
 
 sqlite::Priv
 

Macros

#define CPP_SQLITE_NODISCARD
 
#define CPP_SQLITE_THROW(...)   throw sqlite::Error(__VA_ARGS__)
 

Functions

void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const char *data)
 
void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const double &data)
 
void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const float &data)
 
void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const int32_t &data)
 
void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const int64_t &data)
 
void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const sqlite::Blob &blob)
 
void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const sqlite::NOBlob &blob)
 
void sqlite::Priv::Append (sqlite3_stmt *statement, int index, const std::string &data)
 
template<typename Arg >
void sqlite::Priv::AppendToQuery (sqlite3_stmt *statement, int index, const Arg &arg)
 
template<typename First , typename ... Args>
void sqlite::Priv::AppendToQuery (sqlite3_stmt *statement, int index, const First &first, const Args &... args)
 
bool sqlite::Backup (sqlite::Connection &from, const std::string &filename)
 
bool sqlite::Backup (sqlite::Connection &from, sqlite::Connection &to)
 
bool sqlite::Priv::CheckError (int code)
 
bool sqlite::Priv::CheckError (sqlite3 *db, int code)
 
CPP_SQLITE_NODISCARD Result sqlite::Query (sqlite::Connection &connection, const std::string &command)
 
template<typename First , typename ... Args>
CPP_SQLITE_NODISCARD Result sqlite::Query (sqlite::Connection &connection, const std::string &command, const First &first, const Args... args)
 
void sqlite::Statement (sqlite::Connection &connection, const std::string &command)
 
template<typename First , typename ... Args>
void sqlite::Statement (sqlite::Connection &connection, const std::string &command, const First &first, const Args... args)
 

Macro Definition Documentation

◆ CPP_SQLITE_NODISCARD

#define CPP_SQLITE_NODISCARD

Copyright (C) 2023 Toni Lipponen

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.

Definition at line 34 of file sqlite.hpp.

◆ CPP_SQLITE_THROW

#define CPP_SQLITE_THROW (   ...)    throw sqlite::Error(__VA_ARGS__)

Definition at line 40 of file sqlite.hpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08