| TerraLib 4.1

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

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

Public Member Functions
TeQuerierDBStr2 Class Reference

A class responsible for loading spatio-temporal elements from a TerraLib database. More...

`#include <TeQuerierDBStr2.h>`

Inheritance diagram for TeQuerierDBStr2:

List of all members.

## Public Member Functions

| TeQuerierDBStr2 (TeQuerierParams *params)
| Constructor.
bool | loadInstances (TeTSEntry *ent=0)
| Loads the instances.
bool | fetchInstance (TeSTInstance &sto)
| Returns each loaded STO.
int | numElemInstances ()
| Returns the number of instances.

## Detailed Description

A class responsible for loading spatio-temporal elements from a TerraLib database.

This class implements a mechanism that is responsible for loading spatio-temporal elements from a TerraLib database, following a specific strategy (Strategy 2). Each spatio-temporal elements is represented through a TeSTInstance class. This class is internally used by the factory of queriers. It should NOT be used by anyone. This Strategy 2 works with simple chronon, without geometry, theme with collection table and existence operator in the DBMS.

See also:
  TeQuerierDB TeQuerierParams TeSTInstance

## Constructor & Destructor Documentation

TeQuerierDBStr2::TeQuerierDBStr2 | ( | TeQuerierParams * | params | ) | `[inline]`

Constructor.

## Member Function Documentation

bool TeQuerierDBStr2::fetchInstance | ( | TeSTInstance & | sto | ) | `[virtual]`

Returns each loaded STO.

Implements TeQuerierDB.

bool TeQuerierDBStr2::loadInstances | ( | TeTSEntry * | ent = `0` | ) | `[virtual]`

Loads the instances.

Implements TeQuerierDB.

int TeQuerierDBStr2::numElemInstances | ( |  | ) | `[virtual]`

Returns the number of instances.

Reimplemented from TeQuerierImpl.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeQuerierDBStr2.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeQuerierDBStr2.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines