Public Member Functions | Private Attributes | List of all members
sqlite::Connection Class Reference

#include <sqlite.hpp>

Public Member Functions

bool Close ()
 
 Connection ()
 
 Connection (Connection &&other) noexcept
 
 Connection (const Connection &)=delete
 
 Connection (const std::string &filename)
 
CPP_SQLITE_NODISCARD int GetExtendedResult () const
 
CPP_SQLITE_NODISCARD sqlite3 * GetPtr ()
 
bool Open (const std::string &filename)
 
Connectionoperator= (Connection &&other) noexcept
 
Connectionoperator= (const Connection &)=delete
 
virtual ~Connection () noexcept
 

Private Attributes

sqlite3 * m_connection = nullptr
 

Detailed Description

Definition at line 98 of file sqlite.hpp.

Constructor & Destructor Documentation

◆ Connection() [1/4]

sqlite::Connection::Connection ( )
inline

Definition at line 101 of file sqlite.hpp.

◆ Connection() [2/4]

sqlite::Connection::Connection ( const std::string &  filename)
inlineexplicit

Definition at line 103 of file sqlite.hpp.

◆ Connection() [3/4]

sqlite::Connection::Connection ( const Connection )
delete

◆ Connection() [4/4]

sqlite::Connection::Connection ( Connection &&  other)
inlinenoexcept

Definition at line 110 of file sqlite.hpp.

◆ ~Connection()

virtual sqlite::Connection::~Connection ( )
inlinevirtualnoexcept

Definition at line 116 of file sqlite.hpp.

Member Function Documentation

◆ Close()

bool sqlite::Connection::Close ( )
inline

Definition at line 146 of file sqlite.hpp.

◆ GetExtendedResult()

CPP_SQLITE_NODISCARD int sqlite::Connection::GetExtendedResult ( ) const
inline

Definition at line 155 of file sqlite.hpp.

◆ GetPtr()

CPP_SQLITE_NODISCARD sqlite3* sqlite::Connection::GetPtr ( )
inline

Definition at line 161 of file sqlite.hpp.

◆ Open()

bool sqlite::Connection::Open ( const std::string &  filename)
inline

Definition at line 141 of file sqlite.hpp.

◆ operator=() [1/2]

Connection& sqlite::Connection::operator= ( Connection &&  other)
inlinenoexcept

Definition at line 130 of file sqlite.hpp.

◆ operator=() [2/2]

Connection& sqlite::Connection::operator= ( const Connection )
delete

Member Data Documentation

◆ m_connection

sqlite3* sqlite::Connection::m_connection = nullptr
private

Definition at line 167 of file sqlite.hpp.


The documentation for this class was generated from the following file:


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