| TerraLib 4.1

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

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

Public Member Functions
TeOraclePortal Class Reference

A portal to access a ADO database. More...

`#include <TeAdoOracle.h>`

Inheritance diagram for TeOraclePortal:

List of all members.

## Public Member Functions

| TeOraclePortal ()
| TeOraclePortal (TeDatabase *pDatabase)
| ~TeOraclePortal ()
bool | query (const string &qry, TeCursorLocation l=TeSERVERSIDE, TeCursorType t=TeBIDIRECTIONAL, TeCursorEditType e=TeREADWRITE, TeCursorDataType dt=TeTEXTCURSOR)
| Executes a SQL query that opens a record set.
TeTime | getDate (int i)
| Gets the value of the i-th attribute as a date.
TeTime | getDate (const string &s)
| Gets the value of a named attribute as a date.
string | getDateAsString (int i)
| Returns.
string | getDateAsString (const string &s)
| Gets the of a date/time attribute as a string formatted as accepted in further SQL statements.

## Detailed Description

A portal to access a ADO database.

## Constructor & Destructor Documentation

TeOraclePortal::TeOraclePortal | ( |  | ) |

TeOraclePortal::TeOraclePortal | ( | TeDatabase * | pDatabase | ) |

TeOraclePortal::~TeOraclePortal | ( |  | ) |

## Member Function Documentation

TeTime TeOraclePortal::getDate | ( | int | i | ) | `[virtual]`

Gets the value of the i-th attribute as a date.

Reimplemented from TeAdoPortal.

TeTime TeOraclePortal::getDate | ( | const string & | s | ) | `[virtual]`

Gets the value of a named attribute as a date.

Reimplemented from TeAdoPortal.

string TeOraclePortal::getDateAsString | ( | int | i | ) | `[virtual]`

Returns.

Reimplemented from TeAdoPortal.

string TeOraclePortal::getDateAsString | ( | const string & | s | ) | `[virtual]`

Gets the of a date/time attribute as a string formatted as accepted in further SQL statements.

Reimplemented from TeAdoPortal.

bool TeOraclePortal::query | ( | const string & | qry,
|  | TeCursorLocation | l = `TeSERVERSIDE`,
|  | TeCursorType | t = `TeBIDIRECTIONAL`,
|  | TeCursorEditType | e = `TeREADWRITE`,
|  | TeCursorDataType | dt = `TeTEXTCURSOR`
| ) |  | `[virtual]`

Executes a SQL query that opens a record set.

Reimplemented from TeAdoPortal.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/ado/TeAdoOracle.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/ado/TeAdoOracle.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines