| TerraLib 4.1

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

- File List
- File Members

Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeViewTreeUtils.cpp File Reference
`#include "TeViewTreeUtils.h"`
`#include "TeViewTreeIterator.h"`
`#include <string.h>`

## Functions

void | TeClearViewTree (TeViewTree *vtree)
TeTheme * | TeFindTheme (TeViewTree &vtree, char *name, bool case_sensitive)
| Look at a View Tree for a theme with the given name.

## Function Documentation

void TeClearViewTree | ( | TeViewTree * | vtree | ) |

TeTheme* TeFindTheme | ( | TeViewTree & | vtree,
|  | char * | name,
|  | bool | case_sensitive
| ) |  |

Look at a View Tree for a theme with the given name.

This function creates a simple theme with the given parameters. A simple theme is a non thematic theme without any associated where clause and with only one attribute table associated to it. It is assumed that, given the feature (layer) name, its the attributes table is named name_attr while the geometries tables are called namePontos, nameLinhas and namePoligonos for respectively the Points geometry table, Lines geometry table and Poligons geometry table.

Parameters:

  vtree | theme name and also name of the theme associated feature(layer)
  name | name of the theme to be found
  case_sensitive(optional) | name of the key field of the associated attribute table. If no key is given it is assumed that the key name is object_id.

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines