NCBI C++ ToolKit
Macros | Functions
public.cpp File Reference
#include <ncbi_pch.hpp>
#include <dbapi/driver/public.hpp>
#include <dbapi/driver/impl/dbapi_impl_result.hpp>
#include <dbapi/driver/impl/dbapi_impl_cmd.hpp>
#include <dbapi/driver/impl/dbapi_impl_connection.hpp>
#include <dbapi/error_codes.hpp>
#include <winsock2.h>
+ Include dependency graph for public.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define NCBI_USE_ERRCODE_X   Dbapi_DataServer
 
#define TRACE_PARAMS(params)   s_TraceParams(params, DIAG_COMPILE_INFO)
 
#define CHECK_CONNECTION(conn)    CHECK_DRIVER_WARNING( !conn, "Connection has been closed", 200002 )
 
#define CHECK_RESULT(res)    CHECK_DRIVER_WARNING( !res, "This result is not available anymore", 200003 )
 
#define CHECK_COMMAND(cmd)    CHECK_DRIVER_WARNING( !cmd, "This command cannot be used anymore", 200005 )
 

Functions

static void s_TraceParams (const CDBParams &params, const CDiagCompileInfo &info)
 
unsigned int ConvertI2UI (int value)
 

Macro Definition Documentation

◆ CHECK_COMMAND

#define CHECK_COMMAND (   cmd)     CHECK_DRIVER_WARNING( !cmd, "This command cannot be used anymore", 200005 )

Definition at line 722 of file public.cpp.

◆ CHECK_CONNECTION

#define CHECK_CONNECTION (   conn)     CHECK_DRIVER_WARNING( !conn, "Connection has been closed", 200002 )

Definition at line 352 of file public.cpp.

◆ CHECK_RESULT

#define CHECK_RESULT (   res)     CHECK_DRIVER_WARNING( !res, "This result is not available anymore", 200003 )

Definition at line 599 of file public.cpp.

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Dbapi_DataServer

Definition at line 47 of file public.cpp.

◆ TRACE_PARAMS

#define TRACE_PARAMS (   params)    s_TraceParams(params, DIAG_COMPILE_INFO)

Definition at line 76 of file public.cpp.

Function Documentation

◆ ConvertI2UI()

unsigned int ConvertI2UI ( int  value)
inline

Definition at line 87 of file public.cpp.

References CHECK_DRIVER_ERROR, and value.

◆ s_TraceParams()

static void s_TraceParams ( const CDBParams params,
const CDiagCompileInfo info 
)
static
Modified on Sun Mar 03 03:10:07 2024 by modify_doxy.py rev. 669887