HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SqlStatementHandle Class Reference

#include <UT_SQL.h>

+ Inheritance diagram for UT_SqlStatementHandle:

Public Member Functions

 UT_SqlStatementHandle (const UT_SqlDatabase &db, const UT_StringRef &sql, UT_ErrorCode &ec)
 
 ~UT_SqlStatementHandle ()
 
 UT_SqlStatementHandle (const UT_SqlStatementHandle &)=delete
 
UT_SqlStatementHandleoperator= (const UT_SqlStatementHandle &)=delete
 
sqlite3_stmt * stmt () const
 
const UT_SqlDatabasedb () const
 
bool isValid () const
 
int columnCount () const
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< UT_SqlStatementHandle >
SYS_FORCE_INLINE UT_IntrusiveRefCounter () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< UT_SqlStatementHandle >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Definition at line 85 of file UT_SQL.h.

Constructor & Destructor Documentation

UT_SqlStatementHandle::UT_SqlStatementHandle ( const UT_SqlDatabase db,
const UT_StringRef sql,
UT_ErrorCode ec 
)
UT_SqlStatementHandle::~UT_SqlStatementHandle ( )
UT_SqlStatementHandle::UT_SqlStatementHandle ( const UT_SqlStatementHandle )
delete

Member Function Documentation

int UT_SqlStatementHandle::columnCount ( ) const
inline

Definition at line 103 of file UT_SQL.h.

const UT_SqlDatabase& UT_SqlStatementHandle::db ( ) const
inline

Definition at line 99 of file UT_SQL.h.

bool UT_SqlStatementHandle::isValid ( ) const
inline

Definition at line 101 of file UT_SQL.h.

UT_SqlStatementHandle& UT_SqlStatementHandle::operator= ( const UT_SqlStatementHandle )
delete
sqlite3_stmt* UT_SqlStatementHandle::stmt ( ) const
inline

Definition at line 98 of file UT_SQL.h.


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