| TerraLib 4.1

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

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

Public Member Functions
TeMetaModelCache Class Reference

A class for storing TerraLib's metamodel objects (TeTheme, TeLayer, ...) More...

`#include <TeMetaModelCache.h>`

List of all members.

## Public Member Functions

| TeMetaModelCache ()
| Empty constructor.
| ~TeMetaModelCache ()
| Destructor.
void | clear ()
| Clears metadata.
TeLayerMap & | layerMap ()
| Returns the map of layers in the database.
TeViewMap & | viewMap ()
| Returns the map of views in the database.
TeThemeMap & | themeMap ()
| Returns the map of themes in the database.
TeThemeMap & | invalidThemeMap ()
| Returns the map of invalid themes in the database.
TeProjectMap & | projectMap ()
| Returns the map of projects in the database.
TeLegendEntryMap & | legendMap ()
| Returns the map of legends in the database.
multiset< int > & | relationMSet ()
| Returns the set of relations between tables.
map< int, map< string, string > > & | mapThemeAlias ()

## Detailed Description

A class for storing TerraLib's metamodel objects (TeTheme, TeLayer, ...)

An instance of this class keeps track of meta objects stored in a TerraLib Database. This instance can be shared by all database connections.

See also:
  TeTheme, TeView, TeLayer, TeAttribute

## Constructor & Destructor Documentation

TeMetaModelCache::TeMetaModelCache | ( |  | ) | `[inline]`

Empty constructor.

TeMetaModelCache::~TeMetaModelCache | ( |  | ) | `[inline]`

Destructor.

## Member Function Documentation

void TeMetaModelCache::clear | ( | void |  | ) |

Clears metadata.

TeThemeMap& TeMetaModelCache::invalidThemeMap | ( |  | ) | `[inline]`

Returns the map of invalid themes in the database.

TeLayerMap& TeMetaModelCache::layerMap | ( |  | ) | `[inline]`

Returns the map of layers in the database.

TeLegendEntryMap& TeMetaModelCache::legendMap | ( |  | ) | `[inline]`

Returns the map of legends in the database.

map<int, map<string, string> >& TeMetaModelCache::mapThemeAlias | ( |  | ) | `[inline]`

TeProjectMap& TeMetaModelCache::projectMap | ( |  | ) | `[inline]`

Returns the map of projects in the database.

multiset<int>& TeMetaModelCache::relationMSet | ( |  | ) | `[inline]`

Returns the set of relations between tables.

TeThemeMap& TeMetaModelCache::themeMap | ( |  | ) | `[inline]`

Returns the map of themes in the database.

TeViewMap& TeMetaModelCache::viewMap | ( |  | ) | `[inline]`

Returns the map of views in the database.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines