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

#include <sqlite.hpp>

Public Member Functions

CPP_SQLITE_NODISCARD int ColumnCount () const
 
CPP_SQLITE_NODISCARD Type Get (int columnIndex) const
 
CPP_SQLITE_NODISCARD std::string GetColumnName (int columnIndex) const
 
CPP_SQLITE_NODISCARD bool HasData () const
 
CPP_SQLITE_NODISCARD bool Next () const
 
Resultoperator= (Result &&other) noexcept
 
bool Reset () const
 
 Result ()=default
 
 Result (Result &&other) noexcept
 

Private Member Functions

 Result (sqlite::Priv::Statement &&statement)
 

Private Attributes

sqlite::Priv::Statement m_statement
 

Friends

Result Query (sqlite::Connection &connection, const std::string &command)
 
template<typename First , typename ... Args>
Result Query (sqlite::Connection &connection, const std::string &command, const First &first, const Args... args)
 
void Statement (sqlite::Connection &, const std::string &)
 

Detailed Description

Definition at line 473 of file sqlite.hpp.

Constructor & Destructor Documentation

◆ Result() [1/3]

sqlite::Result::Result ( sqlite::Priv::Statement &&  statement)
inlineexplicitprivate

Definition at line 475 of file sqlite.hpp.

◆ Result() [2/3]

sqlite::Result::Result ( )
default

◆ Result() [3/3]

sqlite::Result::Result ( Result &&  other)
inlinenoexcept

Definition at line 484 of file sqlite.hpp.

Member Function Documentation

◆ ColumnCount()

CPP_SQLITE_NODISCARD int sqlite::Result::ColumnCount ( ) const
inline

Definition at line 503 of file sqlite.hpp.

◆ Get()

CPP_SQLITE_NODISCARD Type sqlite::Result::Get ( int  columnIndex) const
inline

Definition at line 520 of file sqlite.hpp.

◆ GetColumnName()

CPP_SQLITE_NODISCARD std::string sqlite::Result::GetColumnName ( int  columnIndex) const
inline

Definition at line 526 of file sqlite.hpp.

◆ HasData()

CPP_SQLITE_NODISCARD bool sqlite::Result::HasData ( ) const
inline

Definition at line 497 of file sqlite.hpp.

◆ Next()

CPP_SQLITE_NODISCARD bool sqlite::Result::Next ( ) const
inline

Definition at line 514 of file sqlite.hpp.

◆ operator=()

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

Definition at line 489 of file sqlite.hpp.

◆ Reset()

bool sqlite::Result::Reset ( ) const
inline

Definition at line 508 of file sqlite.hpp.

Friends And Related Function Documentation

◆ Query [1/2]

Result Query ( sqlite::Connection connection,
const std::string &  command 
)
friend

Definition at line 568 of file sqlite.hpp.

◆ Query [2/2]

template<typename First , typename ... Args>
Result Query ( sqlite::Connection connection,
const std::string &  command,
const First &  first,
const Args...  args 
)
friend

Definition at line 559 of file sqlite.hpp.

◆ Statement

void Statement ( sqlite::Connection connection,
const std::string &  command 
)
friend

Definition at line 550 of file sqlite.hpp.

Member Data Documentation

◆ m_statement

sqlite::Priv::Statement sqlite::Result::m_statement
private

Definition at line 538 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 Dec 13 2024 03:19:19