NCBI C++ ToolKit
Classes | Macros | Functions
connection.cpp File Reference
#include <ncbi_pch.hpp>
#include "ctlib_utils.hpp"
#include <dbapi/driver/ctlib/interfaces.hpp>
#include <dbapi/error_codes.hpp>
#include <string.h>
#include <algorithm>
#include <winsock2.h>
#include <io.h>
#include "../dbapi_driver_exception_storage.hpp"
#include "dbapi_get_cursor_textptrs.inc"
+ Include dependency graph for connection.cpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CAbortBlocker
 

Macros

#define NCBI_USE_ERRCODE_X   Dbapi_CTlib_Conn
 
#define NCBI_DATABASE_THROW(ex_class, message, err_code, severity)
 
#define NCBI_DATABASE_RETHROW(prev_ex, ex_class, message, err_code, severity)
 
#define NCBI_DATABASE_THROW(ex_class, message, err_code, severity)
 
#define NCBI_DATABASE_RETHROW(prev_ex, ex_class, message, err_code, severity)
 

Functions

int close (int fd)
 

Macro Definition Documentation

◆ NCBI_DATABASE_RETHROW [1/2]

#define NCBI_DATABASE_RETHROW (   prev_ex,
  ex_class,
  message,
  err_code,
  severity 
)
Value:
NCBI_DATABASE_RETHROW_ANNOTATED(prev_ex, ex_class, message, err_code, \
severity, GetDbgInfo(), *this, GetLastParams())
#define NCBI_DATABASE_RETHROW_ANNOTATED(prev_ex, ex_class, message, err_code, severity, dbg_info, conn, params)
Definition: exception.hpp:735
#define GetDbgInfo()
Definition: connection.cpp:62

Definition at line 1663 of file connection.cpp.

◆ NCBI_DATABASE_RETHROW [2/2]

#define NCBI_DATABASE_RETHROW (   prev_ex,
  ex_class,
  message,
  err_code,
  severity 
)
Value:
NCBI_DATABASE_RETHROW_ANNOTATED(prev_ex, ex_class, message, err_code, \
severity, GetDbgInfo(), GetConnection(), GetLastParams())

Definition at line 1663 of file connection.cpp.

◆ NCBI_DATABASE_THROW [1/2]

#define NCBI_DATABASE_THROW (   ex_class,
  message,
  err_code,
  severity 
)
Value:
NCBI_DATABASE_THROW_ANNOTATED(ex_class, message, err_code, severity, \
GetDbgInfo(), *this, GetLastParams())
#define NCBI_DATABASE_THROW_ANNOTATED(ex_class, message, err_code, severity, dbg_info, conn, params)
Definition: exception.hpp:726

Definition at line 1660 of file connection.cpp.

◆ NCBI_DATABASE_THROW [2/2]

#define NCBI_DATABASE_THROW (   ex_class,
  message,
  err_code,
  severity 
)
Value:
NCBI_DATABASE_THROW_ANNOTATED(ex_class, message, err_code, severity, \
GetDbgInfo(), GetConnection(), GetLastParams())

Definition at line 1660 of file connection.cpp.

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Dbapi_CTlib_Conn

Definition at line 69 of file connection.cpp.

Function Documentation

◆ close()

int close ( int  fd)
inline
Modified on Tue Jun 18 13:40:33 2024 by modify_doxy.py rev. 669887