| TerraLib 4.1

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

- Namespace List
- Namespace Members

Classes | Typedefs | Enumerations | Functions | Variables
IBPP Namespace Reference

## Classes

class | Exception
class | LogicException
class | SQLException
class | WrongType
class | Date
class | Time
class | Timestamp
class | DBKey
class | User
class | Ptr
class | IBlob
class | IArray
class | IService
class | IDatabase
class | ITransaction
class | IRow
class | IStatement
class | IEvents
class | EventInterface

## Typedefs

typedef Ptr< IBlob > | Blob
typedef Ptr< IArray > | Array
typedef Ptr< IService > | Service
typedef Ptr< IDatabase > | Database
typedef Ptr< ITransaction > | Transaction
typedef Ptr< IStatement > | Statement
typedef Ptr< IEvents > | Events
typedef Ptr< IRow > | Row

## Enumerations

enum | TAM { amWrite, amRead }
enum | TIL { ilConcurrency, ilReadDirty, ilReadCommitted, ilConsistency }
enum | TLR { lrWait, lrNoWait }
enum | TTR { trSharedWrite, trSharedRead, trProtectedWrite, trProtectedRead }
enum | STT { stUnknown, stUnsupported, stSelect, stInsert, stUpdate, stDelete, stDDL, stExecProcedure, stSelectUpdate, stSetGenerator, stSavePoint }
enum | SDT { sdArray, sdBlob, sdDate, sdTime, sdTimestamp, sdString, sdSmallint, sdInteger, sdLargeint, sdFloat, sdDouble }
enum | ADT { adDate, adTime, adTimestamp, adString, adBool, adInt16, adInt32, adInt64, adFloat, adDouble }
enum | DSM { dsForce, dsDenyTrans, dsDenyAttach }
enum | BRF { brVerbose = 0x1, brIgnoreChecksums = 0x100, brIgnoreLimbo = 0x200, brMetadataOnly = 0x400, brNoGarbageCollect = 0x800, brNonTransportable = 0x1000, brConvertExtTables = 0x2000, brReplace = 0x10000, brDeactivateIdx = 0x20000, brNoShadow = 0x40000, brNoValidity = 0x80000, brPerTableCommit = 0x100000,
brUseAllSpace = 0x200000
}
enum | RPF { rpMendRecords = 0x1, rpValidatePages = 0x2, rpValidateFull = 0x4, rpReadOnly = 0x100, rpIgnoreChecksums = 0x200, rpKillShadows = 0x400 }
enum | TFF { tfIgnoreLimbo = 0x1, tfAutoCommit = 0x2, tfNoAutoUndo = 0x4 }

## Functions

bool | CheckVersion (uint32_t AppVersion)
int | GDSVersion ()
void | ClientLibSearchPaths (const std::string &)
Service | ServiceFactory (const std::string &ServerName, const std::string &UserName, const std::string &UserPassword)
Database | DatabaseFactory (const std::string &ServerName, const std::string &DatabaseName, const std::string &UserName, const std::string &UserPassword, const std::string &RoleName, const std::string &CharSet, const std::string &CreateParams)
Transaction | TransactionFactory (Database db, TAM am, TIL il, TLR lr, TFF flags)
Statement | StatementFactory (Database db, Transaction tr, const std::string &sql)
Blob | BlobFactory (Database db, Transaction tr)
Array | ArrayFactory (Database db, Transaction tr)
Events | EventsFactory (Database db)
Database | DatabaseFactory (const std::string &ServerName, const std::string &DatabaseName, const std::string &UserName, const std::string &UserPassword)
Statement | StatementFactory (Database db, Transaction tr)
bool | dtoi (int date, int *py, int *pm, int *pd)
bool | itod (int *pdate, int year, int month, int day)
void | ttoi (int itime, int *phour, int *pminute, int *psecond, int *ptt)
void | itot (int *ptime, int hour, int minute, int second=0, int tenthousandths=0)

## Variables

const uint32_t | Version = (2<<24) + (5<<16) + (3<<8) + 1
const int | MinDate = -693594
const int | MaxDate = 2958464

## Typedef Documentation

typedef Ptr<IArray> IBPP::Array

typedef Ptr<IBlob> IBPP::Blob

typedef Ptr<IDatabase> IBPP::Database

typedef Ptr<IEvents> IBPP::Events

typedef Ptr<IRow> IBPP::Row

typedef Ptr<IService> IBPP::Service

typedef Ptr<IStatement> IBPP::Statement

typedef Ptr<ITransaction> IBPP::Transaction

## Enumeration Type Documentation

enum IBPP::ADT

Enumerator:

  adDate |
  adTime |
  adTimestamp |
  adString |
  adBool |
  adInt16 |
  adInt32 |
  adInt64 |
  adFloat |
  adDouble |

enum IBPP::BRF

Enumerator:

  brVerbose |
  brIgnoreChecksums |
  brIgnoreLimbo |
  brMetadataOnly |
  brNoGarbageCollect |
  brNonTransportable |
  brConvertExtTables |
  brReplace |
  brDeactivateIdx |
  brNoShadow |
  brNoValidity |
  brPerTableCommit |
  brUseAllSpace |

enum IBPP::DSM

Enumerator:

  dsForce |
  dsDenyTrans |
  dsDenyAttach |

enum IBPP::RPF

Enumerator:

  rpMendRecords |
  rpValidatePages |
  rpValidateFull |
  rpReadOnly |
  rpIgnoreChecksums |
  rpKillShadows |

enum IBPP::SDT

Enumerator:

  sdArray |
  sdBlob |
  sdDate |
  sdTime |
  sdTimestamp |
  sdString |
  sdSmallint |
  sdInteger |
  sdLargeint |
  sdFloat |
  sdDouble |

enum IBPP::STT

Enumerator:

  stUnknown |
  stUnsupported |
  stSelect |
  stInsert |
  stUpdate |
  stDelete |
  stDDL |
  stExecProcedure |
  stSelectUpdate |
  stSetGenerator |
  stSavePoint |

enum IBPP::TAM

Enumerator:

  amWrite |
  amRead |

enum IBPP::TFF

Enumerator:

  tfIgnoreLimbo |
  tfAutoCommit |
  tfNoAutoUndo |

enum IBPP::TIL

Enumerator:

  ilConcurrency |
  ilReadDirty |
  ilReadCommitted |
  ilConsistency |

enum IBPP::TLR

Enumerator:

  lrWait |
  lrNoWait |

enum IBPP::TTR

Enumerator:

  trSharedWrite |
  trSharedRead |
  trProtectedWrite |
  trProtectedRead |

## Function Documentation

Array IBPP::ArrayFactory | ( | Database | db,
|  | Transaction | tr
| ) |  |

Blob IBPP::BlobFactory | ( | Database | db,
|  | Transaction | tr
| ) |  |

bool IBPP::CheckVersion | ( | uint32_t | AppVersion | ) |

void IBPP::ClientLibSearchPaths | ( | const std::string & |  | ) |

Database IBPP::DatabaseFactory | ( | const std::string & | ServerName,
|  | const std::string & | DatabaseName,
|  | const std::string & | UserName,
|  | const std::string & | UserPassword,
|  | const std::string & | RoleName,
|  | const std::string & | CharSet,
|  | const std::string & | CreateParams
| ) |  |

Database IBPP::DatabaseFactory | ( | const std::string & | ServerName,
|  | const std::string & | DatabaseName,
|  | const std::string & | UserName,
|  | const std::string & | UserPassword
| ) |  | `[inline]`

bool IBPP::dtoi | ( | int | date,
|  | int * | py,
|  | int * | pm,
|  | int * | pd
| ) |  |

Events IBPP::EventsFactory | ( | Database | db | ) |

int IBPP::GDSVersion | ( |  | ) |

bool IBPP::itod | ( | int * | pdate,
|  | int | year,
|  | int | month,
|  | int | day
| ) |  |

void IBPP::itot | ( | int * | ptime,
|  | int | hour,
|  | int | minute,
|  | int | second = `0`,
|  | int | tenthousandths = `0`
| ) |  |

Service IBPP::ServiceFactory | ( | const std::string & | ServerName,
|  | const std::string & | UserName,
|  | const std::string & | UserPassword
| ) |  |

Statement IBPP::StatementFactory | ( | Database | db,
|  | Transaction | tr
| ) |  | `[inline]`

Statement IBPP::StatementFactory | ( | Database | db,
|  | Transaction | tr,
|  | const std::string & | sql
| ) |  |

Transaction IBPP::TransactionFactory | ( | Database | db,
|  | TAM | am,
|  | TIL | il,
|  | TLR | lr,
|  | TFF | flags
| ) |  |

void IBPP::ttoi | ( | int | itime,
|  | int * | phour,
|  | int * | pminute,
|  | int * | psecond,
|  | int * | ptt
| ) |  |

## Variable Documentation

const int IBPP::MaxDate = 2958464

const int IBPP::MinDate = -693594

const uint32_t IBPP::Version = (2<<24) + (5<<16) + (3<<8) + 1

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines