| TerraLib 4.1

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

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

Public Types | Public Member Functions | Static Public Member Functions
TeDecoderFactory Class Reference

A decoder abstract factory. More...

`#include <TeDecoder.h>`

Inheritance diagram for TeDecoderFactory:

List of all members.

## Public Types

typedef map< string, string > | TeNames2Decoders
| Maps synonyms to decoders identifiers (example "TIFF" or "tif" to a decoder to TIFF format)

## Public Member Functions

| TeDecoderFactory (const string &name)
| Builds an appropriate decoder from a identifier.
virtual | ~TeDecoderFactory ()
| Virtual destructor.
virtual bool | acceptFile (const std::string &fileName)

## Static Public Member Functions

static TeDecoder * | loadDecoder (const TeRasterParams &params)
static TeNames2Decoders & | instanceName2Dec ()
| Unique instance instance of map from synonyms to decoder identifiers.

## Detailed Description

A decoder abstract factory.

Implements an abstract factory that builds appropriate decoders according to a string identifier.

## Member Typedef Documentation

typedef map<string,string> TeDecoderFactory::TeNames2Decoders

Maps synonyms to decoders identifiers (example "TIFF" or "tif" to a decoder to TIFF format)

## Constructor & Destructor Documentation

TeDecoderFactory::TeDecoderFactory | ( | const string & | name | ) |

Builds an appropriate decoder from a identifier.

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

Virtual destructor.

## Member Function Documentation

bool TeDecoderFactory::acceptFile | ( | const std::string & | fileName | ) | `[virtual]`

static TeNames2Decoders& TeDecoderFactory::instanceName2Dec | ( |  | ) | `[inline, static]`

Unique instance instance of map from synonyms to decoder identifiers.

Examples:
  importGridData.cpp, and importJPEG.cpp.

TeDecoder * TeDecoderFactory::loadDecoder | ( | const TeRasterParams & | params | ) | `[static]`

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines