A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/odbc_2cursor_8cpp_source.html below:

NCBI C++ ToolKit: src/dbapi/driver/odbc/cursor.cpp Source File

37 #define NCBI_USE_ERRCODE_X Dbapi_Odbc_Cmds 39 #undef NCBI_DATABASE_THROW 40 #undef NCBI_DATABASE_RETHROW 42 #define NCBI_DATABASE_THROW(ex_class, message, err_code, severity) \ 43  NCBI_ODBC_THROW(ex_class, message, err_code, severity) 44 #define NCBI_DATABASE_RETHROW(prev_ex, ex_class, message, err_code, severity) \ 45  NCBI_ODBC_RETHROW(prev_ex, ex_class, message, err_code, severity) 52 #define GetDbgInfo() 0 64  const string

& cursor_name,

65  const string

&

query

)

69  SetDbgInfo

(

"Cursor Name: \""

+ cursor_name +

"\"; SQL Command: \"" 99  const string

& cursor_name,

100  const string

&

query

)

117  string

err_message =

"Failed to declare cursor."

+

GetDbgInfo

();

138  string

buff = upd_query +

" where current of "

+

GetCmdName

();

144  string

err_message =

"Update failed."

+

GetDbgInfo

();

166  if

(desc == 0)

return false

;

177  if

(desc == 0)

return

0;

196  string

err_message =

"Update failed."

+

GetDbgInfo

();

239  const string

& cursor_name,

240  const string

&

query

) :

243  "declare "

+ cursor_name +

" cursor for "

+

query

)

271  string

err_message =

"Failed to declare cursor."

+

GetDbgInfo

();

281  stmt

->DumpResults();

283  string

err_message =

"Failed to open cursor."

+

GetDbgInfo

();

305  string

buff = upd_query +

" where current of "

+

GetCmdName

();

311  string

err_message =

"Update failed."

+

GetDbgInfo

();

327  return m_LCmd

->m_Res->GetBlobDescriptor(item_num, cond);

334  if

(desc == 0)

return false

;

347  if

(desc == 0)

return

0;

370  string

err_message =

"Update failed."

+

GetDbgInfo

();

394  string

err_message =

"Failed to close cursor."

+

GetDbgInfo

();

410  string

err_message =

"Failed to deallocate cursor."

+

GetDbgInfo

();

virtual CDB_SendDataCmd * SendDataCmd(I_BlobDescriptor &desc, size_t data_size, bool log_it=true, bool dump_results=true)

"Send-data" command

virtual bool SendData(I_BlobDescriptor &desc, CDB_Stream &lob, bool log_it=true)

Shortcut to send text and image to the server without using the "Send-data" command (SendDataCmd)

virtual CDBParams & GetDefineParams(void)

Get meta-information about defined parameters.

CODBC_CursorCmdBase(CODBC_Connection &conn, const string &cursor_name, const string &query)

unique_ptr< impl::CResult > m_Res

virtual ~CODBC_CursorCmdBase(void)

virtual CDBParams & GetBindParams(void)

Binding.

virtual int RowCount(void) const

Get the number of rows affected by the command Special case: negative on error or if there is no way ...

virtual ~CODBC_CursorCmdExpl(void)

CDB_BlobDescriptor * x_GetBlobDescriptor(unsigned int item_num)

unique_ptr< CODBC_LangCmd > m_LCmd

virtual CDB_Result * OpenCursor(void)

Open the cursor.

virtual bool CloseCursor(void)

Close the cursor.

virtual bool Delete(const string &table_name)

Delete the last fetched row.

virtual CDB_SendDataCmd * SendDataCmd(unsigned int item_num, size_t size, bool log_it=true, bool dump_results=true)

virtual bool UpdateBlob(unsigned int item_num, CDB_Stream &data, bool log_it=true)

CODBC_CursorCmdExpl(CODBC_Connection &conn, const string &cursor_name, const string &query)

virtual bool Update(const string &table_name, const string &upd_query)

Update the last fetched row.

virtual bool Delete(const string &table_name)

Delete the last fetched row.

virtual bool CloseCursor(void)

Close the cursor.

virtual CDB_Result * OpenCursor(void)

Open the cursor.

CDB_BlobDescriptor * x_GetBlobDescriptor(unsigned int item_num)

CODBC_CursorCmd(CODBC_Connection &conn, const string &cursor_name, const string &query)

virtual bool Update(const string &table_name, const string &upd_query)

Update the last fetched row.

virtual bool UpdateBlob(unsigned int item_num, CDB_Stream &data, bool log_it=true)

virtual CDB_SendDataCmd * SendDataCmd(unsigned int item_num, size_t size, bool log_it=true, bool dump_results=true)

virtual ~CODBC_CursorCmd(void)

void SetCursorName(const string &name) const

virtual bool Send(void)

Send command to the server.

virtual bool CloseCursor(void)

Close the cursor.

virtual I_BlobDescriptor * GetBlobDescriptor(void)

Get a descriptor for a BLOB column (for SendData).

const CODBC_Connection::TDbgInfo & GetDbgInfo(void) const

CDBParams & GetBindParams(void)

Binding.

void SetDbgInfo(const string &msg)

CODBC_Connection & GetConnection(void)

virtual CDBParams & GetDefineParams(void)

Get meta-information about defined parameters.

void SetCursorOpen(bool flag=true)

string GetCmdName(void) const

bool CursorIsDeclared(void) const

void DumpResults(void)

Dump the results of the command if result processor is installed for this connection,...

virtual void SetHasFailed(bool flag=true)

const CDB_Params & GetBindParamsImpl(void) const

void DetachInterface(void)

bool CursorIsOpen(void) const

void SetCursorDeclared(bool flag=true)

static CDB_Result * Create_Result(CResult &result)

void DropCmd(impl::CCommand &cmd)

static CS_CONNECTION * conn

static const char table_name[]

#define DATABASE_DRIVER_ERROR_EX(prev_exception, message, err_code)

#define NCBI_CURRENT_FUNCTION

Get current function name.

#define NCBI_CATCH_ALL_X(err_subcode, message)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

Definition of all error codes used in dbapi libraries (dbapi_driver.lib and others).

const struct ncbi::grid::netcache::search::fields::SIZE size

int g(Seg_Gsm *spe, Seq_Mtf *psm, Thd_Gsm *tdg)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4