LibreOffice Module connectivity (master) 1
Classes | Namespaces | Enumerations | Functions | Variables
OTools.hxx File Reference
#include <connectivity/odbc.hxx>
#include <odbc/odbcbasedllapi.hxx>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/util/Date.hpp>
#include <com/sun/star/util/Time.hpp>
#include <com/sun/star/util/DateTime.hpp>
#include <osl/thread.h>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/textenc.h>
Include dependency graph for OTools.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  connectivity::odbc::OTools
 

Namespaces

namespace  connectivity
 
namespace  connectivity::odbc
 

Enumerations

enum class  ODBC3SQLFunctionId {
  AllocHandle = 1 ,
  Connect = 2 ,
  DriverConnect = 3 ,
  BrowseConnect = 4 ,
  DataSources = 5 ,
  Drivers = 6 ,
  GetInfo = 7 ,
  GetFunctions = 8 ,
  GetTypeInfo = 9 ,
  SetConnectAttr = 10 ,
  GetConnectAttr = 11 ,
  SetEnvAttr = 12 ,
  GetEnvAttr = 13 ,
  SetStmtAttr = 14 ,
  GetStmtAttr = 15 ,
  Prepare = 16 ,
  BindParameter = 17 ,
  SetCursorName = 18 ,
  Execute = 19 ,
  ExecDirect = 20 ,
  DescribeParam = 21 ,
  NumParams = 22 ,
  ParamData = 23 ,
  PutData = 24 ,
  RowCount = 25 ,
  NumResultCols = 26 ,
  DescribeCol = 27 ,
  ColAttribute = 28 ,
  BindCol = 29 ,
  Fetch = 30 ,
  FetchScroll = 31 ,
  GetData = 32 ,
  SetPos = 33 ,
  BulkOperations = 34 ,
  MoreResults = 35 ,
  GetDiagRec = 36 ,
  ColumnPrivileges = 37 ,
  Columns = 38 ,
  ForeignKeys = 39 ,
  PrimaryKeys = 40 ,
  ProcedureColumns = 41 ,
  Procedures = 42 ,
  SpecialColumns = 43 ,
  Statistics = 44 ,
  TablePrivileges = 45 ,
  Tables = 46 ,
  FreeStmt = 47 ,
  CloseCursor = 48 ,
  Cancel = 49 ,
  EndTran = 50 ,
  Disconnect = 51 ,
  FreeHandle = 52 ,
  GetCursorName = 53 ,
  NativeSql = 54
}
 

Functions

template<class T >
void connectivity::odbc::getValue (const OConnection *_pConnection, SQLHANDLE _aStatementHandle, sal_Int32 columnIndex, SQLSMALLINT _nType, bool &_bWasNull, const css::uno::Reference< css::uno::XInterface > &_xInterface, T &_rValue)
 

Variables

const sal_Int32 connectivity::odbc::MAX_PUT_DATA_LENGTH = 2000
 

Enumeration Type Documentation

◆ ODBC3SQLFunctionId

enum class ODBC3SQLFunctionId
strong
Enumerator
AllocHandle 
Connect 
DriverConnect 
BrowseConnect 
DataSources 
Drivers 
GetInfo 
GetFunctions 
GetTypeInfo 
SetConnectAttr 
GetConnectAttr 
SetEnvAttr 
GetEnvAttr 
SetStmtAttr 
GetStmtAttr 
Prepare 
BindParameter 
SetCursorName 
Execute 
ExecDirect 
DescribeParam 
NumParams 
ParamData 
PutData 
RowCount 
NumResultCols 
DescribeCol 
ColAttribute 
BindCol 
Fetch 
FetchScroll 
GetData 
SetPos 
BulkOperations 
MoreResults 
GetDiagRec 
ColumnPrivileges 
Columns 
ForeignKeys 
PrimaryKeys 
ProcedureColumns 
Procedures 
SpecialColumns 
Statistics 
TablePrivileges 
Tables 
FreeStmt 
CloseCursor 
Cancel 
EndTran 
Disconnect 
FreeHandle 
GetCursorName 
NativeSql 

Definition at line 32 of file OTools.hxx.