Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
audacity::sqlite::StatementHandle Struct Referencefinal

Public Member Functions

 StatementHandle (sqlite3_stmt *Handle) noexcept
 
 operator sqlite3_stmt * () noexcept
 
 ~StatementHandle ()
 

Public Attributes

sqlite3_stmt * Handle {}
 

Detailed Description

Definition at line 19 of file Statement.cpp.

Constructor & Destructor Documentation

◆ StatementHandle()

audacity::sqlite::StatementHandle::StatementHandle ( sqlite3_stmt *  Handle)
inlineexplicitnoexcept

Definition at line 23 of file Statement.cpp.

24 : Handle { Handle }
25 {
26 }

References Handle.

◆ ~StatementHandle()

audacity::sqlite::StatementHandle::~StatementHandle ( )
inline

Definition at line 33 of file Statement.cpp.

34 {
35 if (Handle != nullptr)
36 sqlite3_finalize(Handle);
37 }

References Handle.

Member Function Documentation

◆ operator sqlite3_stmt *()

audacity::sqlite::StatementHandle::operator sqlite3_stmt * ( )
inlinenoexcept

Definition at line 28 of file Statement.cpp.

29 {
30 return Handle;
31 }

References Handle.

Member Data Documentation

◆ Handle

sqlite3_stmt* audacity::sqlite::StatementHandle::Handle {}

Definition at line 21 of file Statement.cpp.

Referenced by operator sqlite3_stmt *(), StatementHandle(), and ~StatementHandle().


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