| 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/utils/TeUpdateDBVersion.h File Reference

This file contains the routines to update a TerraLib database to its different versions. More...

`#include "../kernel/TeDatabase.h"`
`#include "TeUtilsDefines.h"`

Go to the source code of this file.

## Functions

TLUTILS_DLL bool | isLowerVersion (const std::string &version1, const std::string &version2)
| verify if a version is lower than othen version
TLUTILS_DLL bool | needUpdateDB (TeDatabase *db, string &DBversion)
| verify if the database needs update
TLUTILS_DLL bool | updateDBVersion (TeDatabase *db, string &DBversion, string &errorMessage)
| update database version
TLUTILS_DLL bool | updateDB20To30 (TeDatabase *db, string &errorMessage)
| update database from release 2.0 to release 3.0
TLUTILS_DLL bool | updateDB30To301 (TeDatabase *db, string &errorMessage)
| update database from release 3.0 to release 3.0.1
TLUTILS_DLL bool | updateDB301To302 (TeDatabase *db, string &errorMessage)
| update database from release 3.0.1 to release 3.0.2 (3.0 Plus)
TLUTILS_DLL bool | updateDB302To310 (TeDatabase *db, string &errorMessage)
| update database from release 3.0.2 to release 3.1.0
TLUTILS_DLL bool | updateDB310To311 (TeDatabase *db, string &errorMessage)
| update database from release 3.1.0 to release 3.1.1
TLUTILS_DLL bool | updateDB311To320 (TeDatabase *db, string &errorMessage)
| update database from release 3.1.1 to release 3.2.0
TLUTILS_DLL bool | updateDB320To3201 (TeDatabase *db, string &errorMessage)
| update database from release 3.2.0 to release 3.2.0.1
TLUTILS_DLL bool | updateDB3201To331 (TeDatabase *db, string &errorMessage)
| update database from release 3.2.0.1 to release 3.3.1
TLUTILS_DLL bool | updateDB331To400 (TeDatabase *db, string &errorMessage)
| update database from release 3.3.1 to release 4.0.0
TLUTILS_DLL bool | updateDB400To412 (TeDatabase *db, string &errorMessage)
| update database from release 4.0.0 to release 4.1.2

## Detailed Description

This file contains the routines to update a TerraLib database to its different versions.

## Function Documentation

TLUTILS_DLL bool isLowerVersion | ( | const std::string & | version1,
|  | const std::string & | version2
| ) |  |

verify if a version is lower than othen version

TLUTILS_DLL bool needUpdateDB | ( | TeDatabase * | db,
|  | string & | DBversion
| ) |  |

verify if the database needs update

TLUTILS_DLL bool updateDB20To30 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 2.0 to release 3.0

TLUTILS_DLL bool updateDB301To302 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.0.1 to release 3.0.2 (3.0 Plus)

TLUTILS_DLL bool updateDB302To310 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.0.2 to release 3.1.0

TLUTILS_DLL bool updateDB30To301 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.0 to release 3.0.1

TLUTILS_DLL bool updateDB310To311 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.1.0 to release 3.1.1

TLUTILS_DLL bool updateDB311To320 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.1.1 to release 3.2.0

TLUTILS_DLL bool updateDB3201To331 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.2.0.1 to release 3.3.1

TLUTILS_DLL bool updateDB320To3201 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.2.0 to release 3.2.0.1

TLUTILS_DLL bool updateDB331To400 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 3.3.1 to release 4.0.0

TLUTILS_DLL bool updateDB400To412 | ( | TeDatabase * | db,
|  | string & | errorMessage
| ) |  |

update database from release 4.0.0 to release 4.1.2

TLUTILS_DLL bool updateDBVersion | ( | TeDatabase * | db,
|  | string & | DBversion,
|  | string & | errorMessage
| ) |  |

update database version

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines