| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Friends
ibpp_internals::StatementImpl Class Reference

`#include <_ibpp.h>`

Inheritance diagram for ibpp_internals::StatementImpl:

List of all members.

## Public Member Functions

isc_stmt_handle | GetHandle ()
void | AttachDatabaseImpl (DatabaseImpl *)
void | DetachDatabaseImpl ()
void | AttachTransactionImpl (TransactionImpl *)
void | DetachTransactionImpl ()
| StatementImpl (DatabaseImpl *, TransactionImpl *, const std::string &)
| ~StatementImpl ()
void | Prepare (const std::string &sql)
void | Execute (const std::string &sql)
void | Execute ()
void | ExecuteImmediate (const std::string &)
void | CursorExecute (const std::string &cursor, const std::string &sql)
void | CursorExecute (const std::string &cursor)
bool | Fetch ()
bool | Fetch (IBPP::Row &)
int | AffectedRows ()
void | Close ()
std::string & | Sql ()
IBPP::STT | Type ()
void | SetNull (int)
void | Set (int, bool)
void | Set (int, const char *)
void | Set (int, const void *, int)
void | Set (int, const std::string &)
void | Set (int, int16_t)
void | Set (int, int32_t)
void | Set (int, int64_t)
void | Set (int, float)
void | Set (int, double)
void | Set (int, const IBPP::Timestamp &)
void | Set (int, const IBPP::Date &)
void | Set (int, const IBPP::Time &)
void | Set (int, const IBPP::DBKey &)
void | Set (int, const IBPP::Blob &)
void | Set (int, const IBPP::Array &)
bool | IsNull (int)
bool | Get (int, bool *)
bool | Get (int, bool &)
bool | Get (int, char *)
bool | Get (int, void *, int &)
bool | Get (int, std::string &)
bool | Get (int, int16_t *)
bool | Get (int, int16_t &)
bool | Get (int, int32_t *)
bool | Get (int, int32_t &)
bool | Get (int, int64_t *)
bool | Get (int, int64_t &)
bool | Get (int, float *)
bool | Get (int, float &)
bool | Get (int, double *)
bool | Get (int, double &)
bool | Get (int, IBPP::Timestamp &)
bool | Get (int, IBPP::Date &)
bool | Get (int, IBPP::Time &)
bool | Get (int, IBPP::DBKey &)
bool | Get (int, IBPP::Blob &)
bool | Get (int, IBPP::Array &)
bool | IsNull (const std::string &)
bool | Get (const std::string &, bool *)
bool | Get (const std::string &, bool &)
bool | Get (const std::string &, char *)
bool | Get (const std::string &, void *, int &)
bool | Get (const std::string &, std::string &)
bool | Get (const std::string &, int16_t *)
bool | Get (const std::string &, int16_t &)
bool | Get (const std::string &, int32_t *)
bool | Get (const std::string &, int32_t &)
bool | Get (const std::string &, int64_t *)
bool | Get (const std::string &, int64_t &)
bool | Get (const std::string &, float *)
bool | Get (const std::string &, float &)
bool | Get (const std::string &, double *)
bool | Get (const std::string &, double &)
bool | Get (const std::string &, IBPP::Timestamp &)
bool | Get (const std::string &, IBPP::Date &)
bool | Get (const std::string &, IBPP::Time &)
bool | Get (const std::string &, IBPP::DBKey &)
bool | Get (const std::string &, IBPP::Blob &)
bool | Get (const std::string &, IBPP::Array &)
int | ColumnNum (const std::string &)
int | ColumnNumAlias (const std::string &)
const char * | ColumnName (int)
const char * | ColumnAlias (int)
const char * | ColumnTable (int)
IBPP::SDT | ColumnType (int)
int | ColumnSubtype (int)
int | ColumnSize (int)
int | ColumnScale (int)
int | Columns ()
IBPP::SDT | ParameterType (int)
int | ParameterSubtype (int)
int | ParameterSize (int)
int | ParameterScale (int)
int | Parameters ()
void | Plan (std::string &)
IBPP::Database | DatabasePtr () const
IBPP::Transaction | TransactionPtr () const
IBPP::IStatement * | AddRef ()
void | Release ()

## Friends

class | TransactionImpl

## Constructor & Destructor Documentation

StatementImpl::StatementImpl | ( | DatabaseImpl * | database,
|  | TransactionImpl * | transaction,
|  | const std::string & | sql
| ) |  |

StatementImpl::~StatementImpl | ( |  | ) |

## Member Function Documentation

IBPP::IStatement * StatementImpl::AddRef | ( |  | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::AffectedRows | ( |  | ) | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::AttachDatabaseImpl | ( | DatabaseImpl * | database | ) |

void StatementImpl::AttachTransactionImpl | ( | TransactionImpl * | transaction | ) |

void StatementImpl::Close | ( |  | ) | `[virtual]`

Implements IBPP::IStatement.

const char * StatementImpl::ColumnAlias | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

const char * StatementImpl::ColumnName | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::ColumnNum | ( | const std::string & | name | ) | `[virtual]`

Implements IBPP::IStatement.

int ibpp_internals::StatementImpl::ColumnNumAlias | ( | const std::string & |  | ) |

int StatementImpl::Columns | ( |  | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::ColumnScale | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::ColumnSize | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::ColumnSubtype | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

const char * StatementImpl::ColumnTable | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

IBPP::SDT StatementImpl::ColumnType | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::CursorExecute | ( | const std::string & | cursor,
|  | const std::string & | sql
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void ibpp_internals::StatementImpl::CursorExecute | ( | const std::string & | cursor | ) | `[inline, virtual]`

Implements IBPP::IStatement.

IBPP::Database StatementImpl::DatabasePtr | ( |  | ) | const`[virtual]`

Implements IBPP::IStatement.

void StatementImpl::DetachDatabaseImpl | ( |  | ) |

void StatementImpl::DetachTransactionImpl | ( |  | ) |

void ibpp_internals::StatementImpl::Execute | ( |  | ) | `[inline, virtual]`

Implements IBPP::IStatement.

void StatementImpl::Execute | ( | const std::string & | sql | ) | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::ExecuteImmediate | ( | const std::string & | sql | ) | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Fetch | ( |  | ) | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Fetch | ( | IBPP::Row & | row | ) | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | IBPP::Date & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | bool * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | double & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | int32_t * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | int32_t & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | int64_t * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | int64_t & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | float * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | float & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | double * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | int16_t & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | void * | bindata,
|  | int & | userlen
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | bool & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | IBPP::Timestamp & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | char * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | char * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | IBPP::Blob & | retblob
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool ibpp_internals::StatementImpl::Get | ( | const std::string & | ,
|  | IBPP::Array & |
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool ibpp_internals::StatementImpl::Get | ( | int | ,
|  | IBPP::Array & |
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | std::string & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | int16_t * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | int16_t & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | IBPP::Date & | date
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | int32_t * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | int32_t & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | int64_t * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | int64_t & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | float * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | IBPP::Time & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | IBPP::DBKey & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | double * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | double & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | IBPP::Timestamp & | timestamp
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | IBPP::Time & | time
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | IBPP::DBKey & | key
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | IBPP::Blob & | blob
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | int | column,
|  | float & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | bool * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | bool & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | void * | retvalue,
|  | int & | count
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | std::string & | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::Get | ( | const std::string & | name,
|  | int16_t * | retvalue
| ) |  | `[virtual]`

Implements IBPP::IStatement.

isc_stmt_handle ibpp_internals::StatementImpl::GetHandle | ( |  | ) | `[inline]`

bool StatementImpl::IsNull | ( | int | column | ) | `[virtual]`

Implements IBPP::IStatement.

bool StatementImpl::IsNull | ( | const std::string & | name | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::Parameters | ( |  | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::ParameterScale | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::ParameterSize | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

int StatementImpl::ParameterSubtype | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

IBPP::SDT StatementImpl::ParameterType | ( | int | varnum | ) | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Plan | ( | std::string & | plan | ) | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Prepare | ( | const std::string & | sql | ) | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Release | ( |  | ) | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const void * | bindata,
|  | int | len
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const IBPP::Date & | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const IBPP::DBKey & | key
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const IBPP::Timestamp & | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | bool | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const IBPP::Blob & | blob
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void ibpp_internals::StatementImpl::Set | ( | int | ,
|  | const IBPP::Array & |
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const IBPP::Time & | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const char * | cstring
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | int64_t | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | const std::string & | s
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | float | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | int32_t | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | int16_t | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::Set | ( | int | param,
|  | double | value
| ) |  | `[virtual]`

Implements IBPP::IStatement.

void StatementImpl::SetNull | ( | int | param | ) | `[virtual]`

Implements IBPP::IStatement.

std::string& ibpp_internals::StatementImpl::Sql | ( |  | ) | `[inline, virtual]`

Implements IBPP::IStatement.

IBPP::Transaction StatementImpl::TransactionPtr | ( |  | ) | const`[virtual]`

Implements IBPP::IStatement.

IBPP::STT ibpp_internals::StatementImpl::Type | ( |  | ) | `[inline, virtual]`

Implements IBPP::IStatement.

## Friends And Related Function Documentation

friend class TransactionImpl`[friend]`

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/Firebird/ibpp/core/_ibpp.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/Firebird/ibpp/core/statement.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines