|
Alternate e697dbe9c5997e35395fe158628dd8c5209481da
for Visual Studio 2022 and Windows 11.
|
SqLite3操作クラス(Statement) [詳解]
#include <Statement.h>
公開メンバ関数 | |
| Statement () | |
| コンストラクタ | |
| virtual | ~Statement () |
| デストラクタ | |
| bool | Bind (int position) |
| パラメータのバインド処理 | |
| bool | Bind (int position, double value) |
| パラメータのバインド処理 | |
| bool | Bind (int position, int value) |
| パラメータのバインド処理 | |
| bool | Bind (int position, LPCSTR value) |
| パラメータのバインド処理 | |
| bool | Bind (int position, LPCWSTR value) |
| パラメータのバインド処理 | |
| bool | Bind (int position, sqlite3_int64 value) |
| パラメータのバインド処理 | |
| bool | Execute () |
| ステートメント実行 | |
| bool | Finalize () |
| 終了処理 | |
| LPCTSTR | GetColumnName (int position) |
| カラム名の取得 | |
| int | GetColumns () |
| カラム数の取得 | |
| LPCTSTR | GetColumnType (int position) |
| カラムタイプの取得 | |
| double | GetDoubleValue (int position) |
| 行データの取得 | |
| sqlite3_int64 | GetInt64Value (int position) |
| 行データの取得 | |
| int | GetIntValue (int position) |
| 行データの取得 | |
| LPCTSTR | GetString16Value (int position) |
| 行データの取得 | |
| LPCSTR | GetStringValue (int position) |
| 行データの取得 | |
| bool | Prepare (Engine engine, LPCTSTR lpctszSQL) |
| SQLステートメントの準備 | |
| bool | ResetBind () |
| バインドのリセット | |
基底クラス alt::db::Core に属する継承公開メンバ関数 | |
| Core () | |
| コンストラクタ | |
| virtual | ~Core () |
| デストラクタ | |
限定公開変数類 | |
| sqlite3_stmt * | _statement |
| ステートメント | |
基底クラス alt::db::Core に属する継承限定公開変数類 | |
| int | _lastError |
| SQLite3関数エラー値 | |
その他の継承メンバ | |
基底クラス alt::db::Core に属する継承限定公開メンバ関数 | |
| bool | getResponse () |
| 各関数の戻り値判定共通 | |
SqLite3操作クラス(Statement)
Statement.h の 19 行目に定義があります。
|
inline |
|
inlinevirtual |
|
inline |
パラメータのバインド処理
| [in] | position | 列番号 |
| true | 成功 |
| false | 失敗 |
Statement.h の 54 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_bind_null().
|
inline |
パラメータのバインド処理
| [in] | position | 列番号 |
| [in] | value | double値 |
| true | 成功 |
| false | 失敗 |
Statement.h の 90 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_bind_double().
|
inline |
パラメータのバインド処理
| [in] | position | 列番号 |
| [in] | value | int値 |
| true | 成功 |
| false | 失敗 |
Statement.h の 66 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_bind_int().
|
inline |
パラメータのバインド処理
| [in] | position | 列番号 |
| [in] | value | LPCSTR値 |
| true | 成功 |
| false | 失敗 |
Statement.h の 102 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_bind_text().
|
inline |
パラメータのバインド処理
| [in] | position | 列番号 |
| [in] | value | LPCWSTR値 |
| true | 成功 |
| false | 失敗 |
Statement.h の 114 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_bind_text16().
|
inline |
パラメータのバインド処理
| [in] | position | 列番号 |
| [in] | value | sqlite3_int64値 |
| true | 成功 |
| false | 失敗 |
Statement.h の 78 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_bind_int64().
|
inline |
ステートメント実行
| true | 成功 |
| false | 失敗 |
Statement.h の 126 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_step().
|
inline |
終了処理
| true | 成功 |
| false | 失敗 |
Statement.h の 211 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_finalize().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
行データの取得
| [in] | position | カラム位置 |
Statement.h の 202 行目に定義があります。
|
inline |
行データの取得
| [in] | position | カラム位置 |
Statement.h の 194 行目に定義があります。
|
inline |
SQLステートメントの準備
| [in] | engine | Engineインスタンス |
| [in] | lpctszSQL | SQLステートメント |
| true | 成功 |
| false | 失敗 |
Statement.h の 42 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Engine::GetEngine(), alt::db::Core::getResponse(), sqlite3_prepare16().
|
inline |
バインドのリセット
| true | 成功 |
| false | 失敗 |
Statement.h の 136 行目に定義があります。
参照先 alt::db::Core::_lastError, _statement, alt::db::Core::getResponse(), sqlite3_clear_bindings(), sqlite3_reset().
|
protected |
ステートメント
Statement.h の 220 行目に定義があります。
参照元 Statement(), ~Statement(), Bind(), Execute(), Finalize(), GetColumnName(), GetColumns(), GetColumnType(), GetDoubleValue(), GetInt64Value(), GetIntValue(), GetString16Value(), GetStringValue(), Prepare(), ResetBind() (計15項目).