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/classpython_1_1CUserHandler.html below:

NCBI C++ ToolKit: python::CUserHandler Class Reference

Search Toolkit Book for python::CUserHandler

#include "python_ncbi_dbapi.hpp"
(Private to src/dbapi/lang_bind/python.)

  CUserHandler (CCursor *cursor, pythonpp::CObject python_connection)   virtual  ~CUserHandler (void)   virtual bool  HandleIt (CDB_Exception *ex)   Handle the exceptions resulting from a native API call, one-by-one. More...
   Public Member Functions inherited from CDB_UserHandler   CDB_UserHandler (void)   virtual  ~CDB_UserHandler (void)   virtual bool  HandleAll (const TExceptions &exceptions)   Handle all of the exceptions resulting from a native API call. More...
  virtual bool  HandleMessage (int severity, int msgnum, const string &message)   Handle message resulting from a native API call. More...
  string  GetExtraMsg (void) const   Method is deprecated. Use CDB_Exception::GetExtraMsg() instead. More...
  void  SetExtraMsg (const string &msg) const   Method is deprecated. Use CDB_Exception::SetExtraMsg() instead. More...
    CObject (void)   Constructor. More...
    CObject (const CObject &src)   Copy constructor. More...
  virtual  ~CObject (void)   Destructor. More...
  CObjectoperator= (const CObject &src) THROWS_NONE   Assignment operator. More...
  bool  CanBeDeleted (void) const THROWS_NONE   Check if object can be deleted. More...
  bool  IsAllocatedInPool (void) const THROWS_NONE   Check if object is allocated in memory pool (not system heap) More...
  bool  Referenced (void) const THROWS_NONE   Check if object is referenced. More...
  bool  ReferencedOnlyOnce (void) const THROWS_NONE   Check if object is referenced only once. More...
  void  AddReference (void) const   Add reference to object. More...
  void  RemoveReference (void) const   Remove reference to object. More...
  void  ReleaseReference (void) const   Remove reference without deleting object. More...
  virtual void  DoNotDeleteThisObject (void)   Mark this object as not allocated in heap – do not delete this object. More...
  virtual void  DoDeleteThisObject (void)   Mark this object as allocated in heap – object can be deleted. More...
  void *  operator new (size_t size)   Define new operator for memory allocation. More...
  void *  operator new[] (size_t size)   Define new[] operator for 'array' memory allocation. More...
  void  operator delete (void *ptr)   Define delete operator for memory deallocation. More...
  void  operator delete[] (void *ptr)   Define delete[] operator for memory deallocation. More...
  void *  operator new (size_t size, void *place)   Define new operator. More...
  void  operator delete (void *ptr, void *place)   Define delete operator. More...
  void *  operator new (size_t size, CObjectMemoryPool *place)   Define new operator using memory pool. More...
  void  operator delete (void *ptr, CObjectMemoryPool *place)   Define delete operator. More...
  virtual void  DebugDump (CDebugDumpContext ddc, unsigned int depth) const   Define method for dumping debug information. More...
    CDebugDumpable (void)   virtual  ~CDebugDumpable (void)   void  DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const   void  DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const   void  DumpToConsole (void) const  

Definition at line 313 of file python_ncbi_dbapi.hpp.

◆ CUserHandler() ◆ ~CUserHandler() virtual python::CUserHandler::~CUserHandler ( void  ) inlinevirtual

Definition at line 320 of file python_ncbi_dbapi.hpp.

◆ HandleIt()

Handle the exceptions resulting from a native API call, one-by-one.

Returns
TRUE if "ex" is processed, FALSE if not (or if "ex" is NULL)
See also
HandleAll(), CException::Throw()

Implements CDB_UserHandler.

Definition at line 2565 of file python_ncbi_dbapi.cpp.

References python::CCursor::AddInfoMessage(), pythonpp::g_CleaningUp, pythonpp::CObject::Get(), pythonpp::CObject::GetAttr(), CDB_Exception::GetSybaseSeverity(), pythonpp::CCalable::HasExactSameType(), m_Cursor, python::CCursor::m_ErrorHandler, m_PythonConnection, python::s_ThrowDatabaseError(), pythonpp::CTuple::SetItem(), type, and rapidjson::value.

◆ m_Cursor CCursor* python::CUserHandler::m_Cursor private ◆ m_PythonConnection

The documentation for this class was generated from the following files:


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