| TerraLib 4.1

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

Functions
Extended Theme Functions

## Functions

TL_DLL bool | createAppThemeTable (TeDatabase *db, bool integrity=false, const string &tableName="te_theme_application")
TL_DLL bool | populateAppThemeTable (TeDatabase *db, const string &tableName="te_theme_application")
TL_DLL bool | deleteAppTheme (TeDatabase *db, TeAbstractTheme *theme, const string &tableName="te_theme_application")

## Detailed Description

A set of functions to manipulate the extension of a Theme as proposed by TerraView application. It can be used as a model for other TerraLib based applications.

See also:
  TeAppTheme.h

## Function Documentation

TL_DLL bool createAppThemeTable | ( | TeDatabase * | db,
|  | bool | integrity = `false`,
|  | const string & | tableName = `"te_theme_application"`
| ) |  |

Creates a table to store extra information about the extended Theme

Parameters:

  db | a pointer to a TerraLib database
  integrity | a flag to indicate that the a integrity relation should be created (with Theme)
  tableName | name of the table that persists the extended theme

TL_DLL bool deleteAppTheme | ( | TeDatabase * | db,
|  | TeAbstractTheme * | theme,
|  | const string & | tableName = `"te_theme_application"`
| ) |  |

Delete an extended theme

Parameters:

  db | a pointer to a TerraLib database
  theme | pointer to a theme to be deleted
  tableName | name of the table that persists the extended theme

TL_DLL bool populateAppThemeTable | ( | TeDatabase * | db,
|  | const string & | tableName = `"te_theme_application"`
| ) |  |

Populates the extended theme table with default parameters

Parameters:

  db | a pointer to a TerraLib database
  tableName | name of the table that persists the extended theme

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines