| TerraLib 4.1

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

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

Public Member Functions | Protected Member Functions | Protected Attributes
TeComputeAttrStrategy< Iterator > Class Template Reference
Non-spatial strategy hierarchy to compute cells attributes

Abstract class in the strategies hierarchy for computing attribute values based on other layers (Strategy Design Pattern). More...

`#include <TeComputeAttributeStrategies.h>`

Inheritance diagram for TeComputeAttrStrategy< Iterator >:

List of all members.

## Public Member Functions

TeProperty | defaultValue ()
| Function to access the default value.
virtual vector< TeProperty > | compute (Iterator, Iterator, const string &)
| Virtual function to compute the attribute based on the iterator.
virtual | ~TeComputeAttrStrategy ()
| Destructor.
bool | ComputeAttrIsDummy (double value, double dummy)

## Protected Member Functions

| TeComputeAttrStrategy ()
| Empty constructor.

## Protected Attributes

TeProperty | defaultValue_
| The default returning value.

## Detailed Description

### template<class Iterator>
class TeComputeAttrStrategy< Iterator >

Abstract class in the strategies hierarchy for computing attribute values based on other layers (Strategy Design Pattern).

## Constructor & Destructor Documentation

template<class Iterator>

virtual TeComputeAttrStrategy< Iterator >::~TeComputeAttrStrategy | ( |  | ) | `[inline, virtual]`

Destructor.

template<class Iterator>

TeComputeAttrStrategy< Iterator >::TeComputeAttrStrategy | ( |  | ) | `[inline, protected]`

Empty constructor.

## Member Function Documentation

template<class Iterator>

virtual vector<TeProperty> TeComputeAttrStrategy< Iterator >::compute | ( | Iterator | ,
|  | Iterator | ,
|  | const string & |
| ) |  | `[inline, virtual]`

Virtual function to compute the attribute based on the iterator.

Reimplemented in TeAverageStrategy< Iterator >, TeSTDevStrategy< Iterator >, TeSumStrategy< Iterator >, TeMinimumStrategy< Iterator >, TeMaximumStrategy< Iterator >, TeCategoryPercentageStrategy< Iterator >, TePresenceStrategy< Iterator >, TeMajorityStrategy< Iterator >, and TeMajorityCategoryStrategy< Iterator >.

template<class Iterator>

bool TeComputeAttrStrategy< Iterator >::ComputeAttrIsDummy | ( | double | value,
|  | double | dummy
| ) |  | `[inline]`

template<class Iterator>

TeProperty TeComputeAttrStrategy< Iterator >::defaultValue | ( |  | ) | `[inline]`

Function to access the default value.

## Member Data Documentation

template<class Iterator>

TeProperty TeComputeAttrStrategy< Iterator >::defaultValue_`[protected]`

The default returning value.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeComputeAttributeStrategies.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines