|
Harlinn.Windows 0.1
|
This template implements functionality common to the ODBC handle wrapper classes. More...
#include <HODBC.h>
Public Member Functions | |
| constexpr | SqlHandle () noexcept |
| SqlHandle (const SqlHandle &other)=delete | |
| constexpr | SqlHandle (SqlHandle &&other) noexcept |
| ~SqlHandle () | |
| SqlHandle & | operator= (const SqlHandle &other)=delete |
| constexpr SqlHandle & | operator= (SqlHandle &&other) noexcept |
| constexpr SQLHANDLE | Handle () const noexcept |
| void | Close () noexcept |
| Result | Cancel () const |
| Result | CompleteAsync (RETCODE *asyncRetCode) const |
Static Public Attributes | |
| static constexpr ODBC::HandleType | HandleType = handleType |
| static constexpr SQLHANDLE | InvalidHandle = ( SQLHANDLE )SQL_INVALID_HANDLE |
Protected Member Functions | |
| constexpr | SqlHandle (SQLHANDLE sqlHandle, bool destructorClosesHandle) noexcept |
| void | SetHandle (SQLHANDLE sqlHandle, bool destructorClosesHandle) |
| void | ThrowException (SQLRETURN sqlReturn) const |
| void | ThrowException (SQLRETURN sqlReturn, const wchar_t *function, const wchar_t *file, int line) const |
Static Protected Member Functions | |
| static SQLHANDLE | AllocateHandle (SQLHANDLE inputHandle=SQL_NULL_HANDLE, ODBC::HandleType handleType=HandleType) |
Private Attributes | |
| SQLHANDLE | sqlHandle_ = InvalidHandle |
| bool | destructorClosesHandle_ = true |
This template implements functionality common to the ODBC handle wrapper classes.
|
inlineconstexprnoexcept |
|
inlineconstexprprotectednoexcept |
|
delete |
|
inlineconstexprnoexcept |
|
inline |
|
inlinestaticprotected |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlineconstexprnoexcept |
|
delete |
|
inlineconstexprnoexcept |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
private |
|
staticconstexpr |
|
staticconstexpr |
|
private |