Oracle ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
odb::oracle::statement Class Referenceabstract
Inheritance diagram for odb::oracle::statement:
odb::statement odb::oracle::delete_statement odb::oracle::generic_statement odb::oracle::insert_statement odb::oracle::select_statement odb::oracle::update_statement

Classes

struct  unbind
 

Public Types

typedef oracle::connection connection_type
 
- Public Types inherited from odb::statement
typedef odb::connection connection_type
 

Public Member Functions

virtual ~statement ()=0
 
OCIStmthandle () const
 
virtual const char * text () const
 
virtual connection_typeconnection ()
 
bool empty () const
 

Protected Member Functions

 statement (connection_type &, const std::string &text, statement_kind, const binding *process, bool optimize)
 
 statement (connection_type &, const char *text, statement_kind, const binding *process, bool optimize)
 
ub4 bind_param (bind *, std::size_t count)
 
ub4 bind_result (bind *, std::size_t count, std::size_t lob_prefetch_size=0)
 
void rebind_result (bind *, std::size_t count, std::size_t lob_prefetch_size=0)
 
void stream_result (bind *, std::size_t count, void *old_base=0, void *new_base=0)
 
- Protected Member Functions inherited from odb::statement
 statement ()
 

Protected Attributes

connection_typeconn_
 
auto_handle< OCIStmtstmt_
 
unbindudata_
 
std::size_t usize_
 

Additional Inherited Members

- Static Public Member Functions inherited from odb::statement
static void process_insert (const char *statement, const void *const *bind, std::size_t bind_size, std::size_t bind_skip, char param_symbol, std::string &result)
 
static void process_update (const char *statement, const void *const *bind, std::size_t bind_size, std::size_t bind_skip, char param_symbol, std::string &result)
 
static void process_select (const char *statement, const void *const *bind, std::size_t bind_size, std::size_t bind_skip, char quote_open, char quote_close, bool optimize, std::string &result, bool as=true)
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual odb::oracle::statement::~statement ( )
pure virtual

Implements odb::statement.

odb::oracle::statement::statement ( connection_type ,
const std::string &  text,
statement_kind  ,
const binding process,
bool  optimize 
)
protected
odb::oracle::statement::statement ( connection_type ,
const char *  text,
statement_kind  ,
const binding process,
bool  optimize 
)
protected

Member Function Documentation

OCIStmt* odb::oracle::statement::handle ( ) const
inline
virtual const char* odb::oracle::statement::text ( ) const
virtual

Implements odb::statement.

virtual connection_type& odb::oracle::statement::connection ( )
inlinevirtual

Implements odb::statement.

bool odb::oracle::statement::empty ( ) const
inline
ub4 odb::oracle::statement::bind_param ( bind ,
std::size_t  count 
)
protected
ub4 odb::oracle::statement::bind_result ( bind ,
std::size_t  count,
std::size_t  lob_prefetch_size = 0 
)
protected
void odb::oracle::statement::rebind_result ( bind ,
std::size_t  count,
std::size_t  lob_prefetch_size = 0 
)
protected
void odb::oracle::statement::stream_result ( bind ,
std::size_t  count,
void *  old_base = 0,
void *  new_base = 0 
)
protected

Member Data Documentation

connection_type& odb::oracle::statement::conn_
protected
auto_handle<OCIStmt> odb::oracle::statement::stmt_
protected
unbind* odb::oracle::statement::udata_
protected
std::size_t odb::oracle::statement::usize_
protected

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