python Namespace Reference


Classes

class  CVariantSet
class  CCachedResultSet
class  CRealResultSet
class  CRealSetProxy
class  CVariantSetProxy
class  CDBAPIModule
class  CBinary
class  CNumber
class  CRowID
class  CStringType
class  CDateTimeType
class  CParamFmt
class  CStmtStr
class  CStmtHelper
class  CResultSetProxy
class  CCallableStmtHelper
class  CInfoHandler_CursorCollect
class  CCursor
class  CSelectConnPool
class  CDMLConnPool
class  CTransaction
class  CConnection
class  CWarning
class  CError
class  CInterfaceError
class  CDatabaseError
class  CInternalError
class  COperationalError
class  CProgrammingError
class  CIntegrityError
class  CDataError
class  CNotSupportedError

Typedefs

typedef set< CCursor * > TCursorList
typedef set< IConnection * > TConnectionList

Enumerations

enum  EConnectionMode { eSimpleMode, eStandardMode }
enum  EStatementType {
  estNone, estSelect, estInsert, estDelete,
  estUpdate, estCreate, estDrop, estAlter,
  estFunction, estTransaction
}
enum  ETransType { eImplicitTrans, eExplicitTrans }

Functions

static string RetrieveModuleFileName (void)
EStatementType RetrieveStatementType (const string &stmt, EStatementType default_type)
static void s_FillDescription (pythonpp::CList &descr, const IResultSetMetaData *data)
pythonpp::CObject ConvertCVariant2PCObject (const CVariant &value)
pythonpp::CTuple MakeTupleFromResult (IResultSet &rs)
pythonpp::CTuple MakeTupleFromResult (CVariantSet &rs)
static PyObjectConnect (PyObject *self, PyObject *args)
static PyObjectDate (PyObject *self, PyObject *args)
static PyObjectTime (PyObject *self, PyObject *args)
static PyObjectTimestamp (PyObject *self, PyObject *args)
static PyObjectDateFromTicks (PyObject *self, PyObject *args)
static PyObjectTimeFromTicks (PyObject *self, PyObject *args)
static PyObjectTimestampFromTicks (PyObject *self, PyObject *args)
static PyObjectBinary (PyObject *self, PyObject *args)


Typedef Documentation

typedef set<IConnection*> python::TConnectionList
 

Definition at line 483 of file python_ncbi_dbapi.hpp.

typedef set<CCursor*> python::TCursorList
 

Definition at line 482 of file python_ncbi_dbapi.hpp.


Enumeration Type Documentation

enum python::EConnectionMode
 

Enumerator:
eSimpleMode 
eStandardMode 

Definition at line 51 of file python_ncbi_dbapi.hpp.

enum python::EStatementType
 

Enumerator:
estNone 
estSelect 
estInsert 
estDelete 
estUpdate 
estCreate 
estDrop 
estAlter 
estFunction 
estTransaction 

Definition at line 104 of file python_ncbi_dbapi.hpp.

enum python::ETransType
 

Enumerator:
eImplicitTrans 
eExplicitTrans 

Definition at line 518 of file python_ncbi_dbapi.hpp.


Function Documentation

static PyObject* python::Binary PyObject self,
PyObject args
[static]
 

Definition at line 3765 of file python_ncbi_dbapi.cpp.

References pythonpp::CError::SetString(), and CException::what().

static PyObject* python::Connect PyObject self,
PyObject args
[static]
 

Definition at line 3474 of file python_ncbi_dbapi.cpp.

Referenced by CGroupCheckboxes::Add(), CGroupRadioButtons::CGroupRadioButtons(), CSnpFilterUI::CreateControls(), and CwxTableListCtrl::DoGetPopupMenuSelectionFromUser().

pythonpp::CObject python::ConvertCVariant2PCObject const CVariant value  ) 
 

Definition at line 2200 of file python_ncbi_dbapi.cpp.

References CVariant::IsNull().

Referenced by python::CCursor::callproc(), and MakeTupleFromResult().

static PyObject* python::Date PyObject self,
PyObject args
[static]
 

Definition at line 3538 of file python_ncbi_dbapi.cpp.

References pythonpp::IncRefCount(), pythonpp::CError::SetString(), and CException::what().

static PyObject* python::DateFromTicks PyObject self,
PyObject args
[static]
 

Definition at line 3680 of file python_ncbi_dbapi.cpp.

References pythonpp::CError::SetString(), and CException::what().

pythonpp::CTuple python::MakeTupleFromResult CVariantSet &  rs  ) 
 

Definition at line 2296 of file python_ncbi_dbapi.cpp.

References ConvertCVariant2PCObject(), python::CVariantSet::GetTotalColumns(), and python::CVariantSet::GetVariant().

pythonpp::CTuple python::MakeTupleFromResult IResultSet rs  ) 
 

Definition at line 2274 of file python_ncbi_dbapi.cpp.

References ConvertCVariant2PCObject(), IResultSet::GetTotalColumns(), and IResultSet::GetVariant().

Referenced by python::CCursor::fetchall(), and python::CCursor::fetchone().

static string python::RetrieveModuleFileName void   )  [static]
 

Definition at line 995 of file python_ncbi_dbapi.cpp.

References file_name, and NCBI_GetDefaultRunpath().

Referenced by init_common().

EStatementType python::RetrieveStatementType const string &  stmt,
EStatementType  default_type = estNone
 

Definition at line 1570 of file python_ncbi_dbapi.cpp.

References NStr::EqualNocase(), estAlter, estCreate, estDelete, estDrop, estInsert, estSelect, estTransaction, estUpdate, and pos.

Referenced by python::CStmtStr::SetStr().

static void python::s_FillDescription pythonpp::CList descr,
const IResultSetMetaData data
[static]
 

Definition at line 1889 of file python_ncbi_dbapi.cpp.

References pythonpp::CList::Clear(), eDB_BigInt, eDB_Binary, eDB_Bit, eDB_Char, eDB_DateTime, eDB_Double, eDB_Float, eDB_Image, eDB_Int, eDB_LongBinary, eDB_LongChar, eDB_Numeric, eDB_SmallDateTime, eDB_SmallInt, eDB_Text, eDB_TinyInt, eDB_VarBinary, eDB_VarChar, IResultSetMetaData::GetName(), IResultSetMetaData::GetTotalColumns(), pythonpp::CExtObject< CDateTimeType >::GetType(), pythonpp::CExtObject< CBinary >::GetType(), pythonpp::CExtObject< CStringType >::GetType(), pythonpp::CExtObject< CNumber >::GetType(), IResultSetMetaData::GetType(), pythonpp::IncRefCount(), and NStr::IntToString().

Referenced by python::CCallableStmtHelper::FillDescription(), and python::CStmtHelper::FillDescription().

static PyObject* python::Time PyObject self,
PyObject args
[static]
 

Definition at line 3582 of file python_ncbi_dbapi.cpp.

References pythonpp::IncRefCount(), pythonpp::CError::SetString(), and CException::what().

static PyObject* python::TimeFromTicks PyObject self,
PyObject args
[static]
 

Definition at line 3709 of file python_ncbi_dbapi.cpp.

References pythonpp::CError::SetString(), and CException::what().

static PyObject* python::Timestamp PyObject self,
PyObject args
[static]
 

Definition at line 3627 of file python_ncbi_dbapi.cpp.

References pythonpp::IncRefCount(), pythonpp::CError::SetString(), and CException::what().

static PyObject* python::TimestampFromTicks PyObject self,
PyObject args
[static]
 

Definition at line 3738 of file python_ncbi_dbapi.cpp.

References pythonpp::CError::SetString(), and CException::what().


Generated on Mon Dec 7 16:12:11 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:39 2009 by modify_doxy.py rev. 173732