| TerraLib 4.1

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

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

Public Member Functions
TeShapefileDriver Class Reference
Geographical data formats

Concrete implementation of a driver shapefiles. More...

`#include <TeDriverSHPDBF.h>`

Inheritance diagram for TeShapefileDriver:

List of all members.

## Public Member Functions

| TeShapefileDriver (std::string fileName)
| Constructor from a file name.
| ~TeShapefileDriver ()
| Destructor.
std::string | getFileName ()
| Returns the complete access path associated to this driver.
bool | isDataAccessible ()
| Returns true or false whether the data file is accessible.
TeProjection * | getDataProjection ()
| Returns the spatial reference associated to the data as an instance of TeProjection.
bool | getDataInfo (unsigned int &nObjects, TeBox &ext, TeGeomRep &repres)
| Loads the minimum metadata information about the data.
bool | getDataAttributesList (TeAttributeList &attList)
| Loads the list of descriptive attributes of the objetcts represented in the file.
bool | loadData (TeSTElementSet *dataSet)
| Loads the data into an TeSTElementSet structure in memory.
void | close ()
| Releases internal structures and invalidate the access to the data file.

## Detailed Description

Concrete implementation of a driver shapefiles.

## Constructor & Destructor Documentation

TeShapefileDriver::TeShapefileDriver | ( | std::string | fileName | ) |

Constructor from a file name.

TeShapefileDriver::~TeShapefileDriver | ( |  | ) |

Destructor.

## Member Function Documentation

void TeShapefileDriver::close | ( | void |  | ) |

Releases internal structures and invalidate the access to the data file.

bool TeShapefileDriver::getDataAttributesList | ( | TeAttributeList & | attList | ) | `[virtual]`

Loads the list of descriptive attributes of the objetcts represented in the file.

Implements TeGeoDataDriver.

bool TeShapefileDriver::getDataInfo | ( | unsigned int & | nObjects,
|  | TeBox & | ext,
|  | TeGeomRep & | repres
| ) |  | `[virtual]`

Loads the minimum metadata information about the data.

Implements TeGeoDataDriver.

TeProjection * TeShapefileDriver::getDataProjection | ( |  | ) | `[virtual]`

Returns the spatial reference associated to the data as an instance of TeProjection.

Implements TeGeoDataDriver.

std::string TeShapefileDriver::getFileName | ( |  | ) | `[virtual]`

Returns the complete access path associated to this driver.

Implements TeGeoDataDriver.

bool TeShapefileDriver::isDataAccessible | ( |  | ) | `[virtual]`

Returns true or false whether the data file is accessible.

Implements TeGeoDataDriver.

bool TeShapefileDriver::loadData | ( | TeSTElementSet * | dataSet | ) | `[virtual]`

Loads the data into an TeSTElementSet structure in memory.

Implements TeGeoDataDriver.

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

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/shapelib/TeDriverSHPDBF.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/shapelib/TeDriverSHPDBF.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines