![]() |
fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
|
Reference-counted smart pointer for Firebird objects using addRef/release semantics. More...
#include <SmartPtrs.h>
Public Member Functions | |
| FbRef (std::nullptr_t) noexcept | |
| FbRef (T *p) noexcept | |
| template<typename Y > | |
| FbRef (Y *p) noexcept | |
| FbRef (FbRef &r) noexcept | |
| template<typename Y > | |
| FbRef (FbRef< Y > &r) noexcept | |
| FbRef (FbRef &&r) noexcept | |
| void | reset (T *p=nullptr) noexcept |
| T * | release () noexcept |
| Relinquishes ownership of the pointer without releasing it and returns it. | |
| FbRef & | operator= (FbRef &r) noexcept |
| template<typename Y > | |
| FbRef & | operator= (FbRef< Y > &r) noexcept |
| FbRef & | operator= (FbRef &&r) noexcept |
| T * | operator-> () noexcept |
| const T * | operator-> () const noexcept |
| operator bool () const noexcept | |
| bool | operator! () const noexcept |
| bool | operator== (const FbRef &other) const noexcept |
| bool | operator== (const T *other) const noexcept |
| bool | operator!= (const FbRef &other) const noexcept |
| bool | operator!= (const T *other) const noexcept |
| T * | get () noexcept |
| const T * | get () const noexcept |
Reference-counted smart pointer for Firebird objects using addRef/release semantics.
Definition at line 68 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 74 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 79 of file SmartPtrs.h.
|
inlineexplicitnoexcept |
Definition at line 84 of file SmartPtrs.h.
|
inlineexplicitnoexcept |
Definition at line 90 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 95 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 102 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 108 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 114 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 209 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 204 of file SmartPtrs.h.
|
inlineexplicitnoexcept |
Definition at line 174 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 179 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 194 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 199 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 169 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 164 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 150 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 137 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 144 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 184 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 189 of file SmartPtrs.h.
|
inlinenoexcept |
Relinquishes ownership of the pointer without releasing it and returns it.
Used after Firebird calls that already release the interface on success, like ITransaction::commit() or IAttachment::detach().
Definition at line 130 of file SmartPtrs.h.
|
inlinenoexcept |
Definition at line 120 of file SmartPtrs.h.
Definition at line 71 of file SmartPtrs.h.