23 #include "ocilibcpp/types.hpp"
POCI_THREADKEYDEST ThreadKeyFreeProc
Thread Key callback for freeing resources.
static void SetValue(const ostring &name, AnyPointer value)
Set a thread key value.
static void Create(const ostring &name, ThreadKeyFreeProc freeProc=nullptr)
Create a thread key object.
static AnyPointer GetValue(const ostring &name)
Get a thread key value.
OCI_SYM_PUBLIC boolean OCI_API OCI_ThreadKeySetValue(const otext *name, void *value)
Set a thread key value.
OCI_SYM_PUBLIC boolean OCI_API OCI_ThreadKeyCreate(const otext *name, POCI_THREADKEYDEST destfunc)
Create a thread key object.
OCI_SYM_PUBLIC void *OCI_API OCI_ThreadKeyGetValue(const otext *name)
Get a thread key value.
static T Check(T result)
Internal usage. Checks if the last OCILIB function call has raised an error. If so,...
std::basic_string< otext, std::char_traits< otext >, std::allocator< otext > > ostring
string class wrapping the OCILIB otext * type and OTEXT() macros ( see Character sets )
void * AnyPointer
Alias for the generic void pointer.