OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::gpkg::StmtDeleter Struct Reference

Unique-pointer deleter that finalizes prepared statements. More...

#include <GpkgUtils.hpp>

Collaboration diagram for openswmm::gpkg::StmtDeleter:

Public Member Functions

void operator() (sqlite3_stmt *stmt) const noexcept
 Finalize a uniquely owned SQLite statement.
 

Detailed Description

Unique-pointer deleter that finalizes prepared statements.

Member Function Documentation

◆ operator()()

void openswmm::gpkg::StmtDeleter::operator() ( sqlite3_stmt * stmt) const
inlinenoexcept

Finalize a uniquely owned SQLite statement.

Ignores sqlite3_finalize status; do not use the statement afterward.

Parameters
[in]stmtOwned statement, or nullptr for no-op.

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