| TerraLib 4.1

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

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

Public Member Functions | Static Public Member Functions | Protected Attributes
TeQuerierImpl Class Reference

An abstract querier class to build STOs (Spatial Temporal Objects) More...

`#include <TeQuerierImpl.h>`

Inheritance diagram for TeQuerierImpl:

List of all members.

## Public Member Functions

| TeQuerierImpl (TeQuerierParams *par)
| list of the attributes of the querier
| TeQuerierImpl (const TeQuerierImpl &other)
| Copy constructor.
TeQuerierImpl & | operator= (const TeQuerierImpl &other)
| Operator =.
virtual | ~TeQuerierImpl ()
| Destructor.
string | objectId ()
| Returns the object identifier.
TeTheme * | theme ()
| Returns the theme pointer.
bool | loadTimeFrameInstances (int frame=-1)
| Loads the STOs.
bool | getTSEntry (TeTSEntry &tsEntry, int frame)
| Gets each temporal serie entry, for each time frame.
int | getNumTimeFrames ()
| Gets the number of generated time frames.
bool | getTS (TeTemporalSeries &ts)
| Gets the full temporal serie.
TeTSParams & | getTSParams ()
| Returns the temporal serie params.
TeAttributeList | getAttrList ()
| Gets the attribute list from querier.
TeQuerierParams * | params ()
| Returns the querier parameters.
virtual bool | loadInstances (TeTSEntry *ent=0)=0
| Loads the STOs.
virtual bool | fetchInstance (TeSTInstance &stoi)=0
| Returns each loaded STO.
virtual bool | loadGeometries (TeMultiGeometry &geometries, unsigned int &index)=0
| Loads all geometries of the index-th geometry representation.
virtual bool | loadGeometries (TeMultiGeometry &geometries)=0
| Loads all geometries.
virtual int | numElemInstances ()
| Returns the number of instances to each time frame.
virtual void | clear ()
| Empties querier instances.

## Static Public Member Functions

static TeQuerierImpl * | DefaultObject (const TeQuerierParams &)
| Returns a default object.

## Protected Attributes

TeQuerierParams * | params_
| querier parameters that define the used querier strategy
TeTemporalSeries * | ts_
bool | filledSerie_
| temporal series
TeSharedPtr< TeAttributeList > | attrList_
| this flag indicates if the temporal serie was filled

## Detailed Description

An abstract querier class to build STOs (Spatial Temporal Objects)

## Constructor & Destructor Documentation

TeQuerierImpl::TeQuerierImpl | ( | TeQuerierParams * | par | ) |

list of the attributes of the querier

Constructor

TeQuerierImpl::TeQuerierImpl | ( | const TeQuerierImpl & | other | ) |

Copy constructor.

TeQuerierImpl::~TeQuerierImpl | ( |  | ) | `[virtual]`

Destructor.

## Member Function Documentation

virtual void TeQuerierImpl::clear | ( | void |  | ) | `[inline, virtual]`

Empties querier instances.

Reimplemented in TeQuerierDB.

static TeQuerierImpl* TeQuerierImpl::DefaultObject | ( | const TeQuerierParams & |  | ) | `[inline, static]`

Returns a default object.

virtual bool TeQuerierImpl::fetchInstance | ( | TeSTInstance & | stoi | ) | `[pure virtual]`

Returns each loaded STO.

Implemented in TeQuerierSHP, TeQuerierDB, TeQuerierDBStr1, TeQuerierDBStr2, and TeQuerierDBStr3.

TeAttributeList TeQuerierImpl::getAttrList | ( |  | ) | `[inline]`

Gets the attribute list from querier.

int TeQuerierImpl::getNumTimeFrames | ( |  | ) |

Gets the number of generated time frames.

bool TeQuerierImpl::getTS | ( | TeTemporalSeries & | ts | ) |

Gets the full temporal serie.

bool TeQuerierImpl::getTSEntry | ( | TeTSEntry & | tsEntry,
|  | int | frame
| ) |  |

Gets each temporal serie entry, for each time frame.

TeTSParams & TeQuerierImpl::getTSParams | ( |  | ) |

Returns the temporal serie params.

virtual bool TeQuerierImpl::loadGeometries | ( | TeMultiGeometry & | geometries,
|  | unsigned int & | index
| ) |  | `[pure virtual]`

Loads all geometries of the index-th geometry representation.

Implemented in TeQuerierSHP, and TeQuerierDB.

virtual bool TeQuerierImpl::loadGeometries | ( | TeMultiGeometry & | geometries | ) | `[pure virtual]`

Loads all geometries.

Implemented in TeQuerierSHP, and TeQuerierDB.

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

Loads the STOs.

Implemented in TeQuerierSHP, TeQuerierDB, TeQuerierDBStr1, TeQuerierDBStr2, and TeQuerierDBStr3.

bool TeQuerierImpl::loadTimeFrameInstances | ( | int | frame = `-1` | ) |

Loads the STOs.

virtual int TeQuerierImpl::numElemInstances | ( |  | ) | `[inline, virtual]`

Returns the number of instances to each time frame.

Reimplemented in TeQuerierDBStr1, TeQuerierDBStr2, and TeQuerierDBStr3.

string TeQuerierImpl::objectId | ( |  | ) | `[inline]`

Returns the object identifier.

TeQuerierImpl & TeQuerierImpl::operator= | ( | const TeQuerierImpl & | other | ) |

Operator =.

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

Returns the querier parameters.

TeTheme* TeQuerierImpl::theme | ( |  | ) | `[inline]`

Returns the theme pointer.

Reimplemented in TeQuerierDB.

## Member Data Documentation

TeSharedPtr<TeAttributeList> TeQuerierImpl::attrList_`[protected]`

this flag indicates if the temporal serie was filled

bool TeQuerierImpl::filledSerie_`[protected]`

temporal series

TeQuerierParams* TeQuerierImpl::params_`[protected]`

querier parameters that define the used querier strategy

TeTemporalSeries* TeQuerierImpl::ts_`[protected]`

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines