| TerraLib 4.1

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

- File List
- File Members

Classes | Typedefs | Enumerations | Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeDatabase.h File Reference

This file contains structures and definitions about database support in TerraLib. More...

`#include "TeDefines.h"`
`#include "TeDataTypes.h"`
`#include "TeTable.h"`
`#include "TeGeometry.h"`
`#include "TeStatistics.h"`
`#include "TeProject.h"`
`#include "TeRaster.h"`
`#include "TeView.h"`
`#include "TeVisual.h"`
`#include "TeMetaModelCache.h"`
`#include "TeSharedPtr.h"`
`#include "TeDatabaseIndex.h"`
`#include "TeConnection.h"`
`#include <set>`
`#include <string>`

Go to the source code of this file.

## Classes

class | TeDatabase
| An abstract database class. More...
class | TeDatabasePortal
| An abstract access portal to a database. More...

## Typedefs

typedef vector< string > | TeKeys
| A vector of objects identifications (object_id)
typedef map< string, double > | TeKeysToDist
| A Map of objects identifications (object_id) to a distance value.
typedef vector< TeGeometry * > | TeGeometryVect
| A Vector of pointers to TeGeometry.
typedef map< string, TeStatisticsDimensionVect > | TeObjectStatistics
| A Map of the objects identifications to a set of statistical values.

## Enumerations

enum | TeCursorLocation { TeCLIENTESIDE, TeSERVERSIDE }
enum | TeCursorType { TeUNIDIRECTIONAL, TeBIDIRECTIONAL, TeRANDOMACCESS }
enum | TeCursorEditType { TeREADONLY, TeREADWRITE }
enum | TeCursorDataType { TeBINARYCURSOR, TeTEXTCURSOR }
enum | TeSpatialIndexType { TeRTREE, TeQUADTREE }

## Functions

template<typename Iterator >
vector< string > | generateInClauses (const Iterator &begin, const Iterator &end, TeDatabase *db, bool addPlicae=true)
| Breaks a collection of strings into a series of IN clauses to be used in query expressions.

## Detailed Description

This file contains structures and definitions about database support in TerraLib.

## Typedef Documentation

typedef vector<TeGeometry*> TeGeometryVect

A Vector of pointers to TeGeometry.

typedef vector<string> TeKeys

A vector of objects identifications (object_id)

typedef map<string, double> TeKeysToDist

A Map of objects identifications (object_id) to a distance value.

typedef map<string, TeStatisticsDimensionVect> TeObjectStatistics

A Map of the objects identifications to a set of statistical values.

## Enumeration Type Documentation

enum TeCursorDataType

Type of edition on record set cursor

Enumerator:

  TeBINARYCURSOR |
  TeTEXTCURSOR |

enum TeCursorEditType

Type of edition on record set cursor

Enumerator:

  TeREADONLY |
  TeREADWRITE |

enum TeCursorLocation

Location of a cursor on record set

Enumerator:

  TeCLIENTESIDE |
  TeSERVERSIDE |

enum TeCursorType

Type of cursor on record set

Enumerator:

  TeUNIDIRECTIONAL |
  TeBIDIRECTIONAL |
  TeRANDOMACCESS |

enum TeSpatialIndexType

Type of spatial index

Enumerator:

  TeRTREE |
  TeQUADTREE |

## Function Documentation

template<typename Iterator >

vector<string> generateInClauses | ( | const Iterator & | begin,
|  | const Iterator & | end,
|  | TeDatabase * | db,
|  | bool | addPlicae = `true`
| ) |  |

Breaks a collection of strings into a series of IN clauses to be used in query expressions.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines