| TerraLib 4.1

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

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/utils/TeUpdateDBVersion.h
Go to the documentation of this file.

    00001 /************************************************************************************
    00002  TerraLib - a library for developing GIS applications.
    00003 Copyright � 2001-2007 INPE and Tecgraf/PUC-Rio.
    00004
    00005 This code is part of the TerraLib library.
    00006 This library is free software; you can redistribute it and/or
    00007 modify it under the terms of the GNU Lesser General Public
    00008 License as published by the Free Software Foundation; either
    00009 version 2.1 of the License, or (at your option) any later version.
    00010
    00011 You should have received a copy of the GNU Lesser General Public
    00012 License along with this library.
    00013
    00014 The authors reassure the license terms regarding the warranties.
    00015 They specifically disclaim any warranties, including, but not limited to,
    00016 the implied warranties of merchantability and fitness for a particular purpose.
    00017 The library provided hereunder is on an "as is" basis, and the authors have no
    00018 obligation to provide maintenance, support, updates, enhancements, or modifications.
    00019 In no event shall INPE and Tecgraf / PUC-Rio be held liable to any party for direct,
    00020 indirect, special, incidental, or consequential damages arising out of the use
    00021 of this library and its documentation.
    00022 *************************************************************************************/
    00027 #ifndef  __TERRALIB_INTERNAL_UPDATEDBVERSION_H
    00028 #define  __TERRALIB_INTERNAL_UPDATEDBVERSION_H
    00029
    00030 #include "../kernel/TeDatabase.h"
    00031 #include "TeUtilsDefines.h"
    00032
    00034 TLUTILS_DLL bool isLowerVersion(const std::string& version1, const std::string& version2);
    00035
    00037 TLUTILS_DLL bool needUpdateDB(TeDatabase* db, string& DBversion);
    00038
    00040 TLUTILS_DLL bool updateDBVersion(TeDatabase* db, string& DBversion, string& errorMessage);
    00041
    00043 TLUTILS_DLL bool updateDB20To30(TeDatabase* db, string& errorMessage);
    00044
    00046 TLUTILS_DLL bool updateDB30To301(TeDatabase* db, string& errorMessage);
    00047
    00049 TLUTILS_DLL bool updateDB301To302(TeDatabase* db, string& errorMessage);
    00050
    00052 TLUTILS_DLL bool updateDB302To310(TeDatabase* db, string& errorMessage);
    00053
    00055 TLUTILS_DLL bool updateDB310To311(TeDatabase* db, string& errorMessage);
    00056
    00058 TLUTILS_DLL bool updateDB311To320(TeDatabase* db, string& errorMessage);
    00059
    00061 TLUTILS_DLL bool updateDB320To3201(TeDatabase* db, string& errorMessage);
    00062
    00064 TLUTILS_DLL bool updateDB3201To331(TeDatabase* db, string& errorMessage);
    00065
    00067 TLUTILS_DLL bool updateDB331To400(TeDatabase* db, string& errorMessage);
    00068
    00070 TLUTILS_DLL bool updateDB400To412(TeDatabase* db, string& errorMessage);
    00071
    00072 #endif
    00073

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines