| 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/kernel/TeGeoFileInfo.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 *************************************************************************************/
    00023 /*
    00024            \file TeGeoFileInfo.h
    00025            \brief This file contains a simple class to represent the geo data file informations that can be handled by TerraLib.
    00026 */
    00027
    00028 #ifndef __TERRALIB_INTERNAL_GEOFILEINFO_H
    00029 #define __TERRALIB_INTERNAL_GEOFILEINFO_H
    00030
    00031 // TerraLib
    00032 #include "TeDefines.h"
    00033
    00034 // STL
    00035 #include <string>
    00036
    00037 class TL_DLL TeGeoFileInfo
    00038 {
    00039 public:
    00040
    00041            TeGeoFileInfo();
    00042            ~TeGeoFileInfo();
    00043
    00044            const std::string& getId() const;
    00045            const std::string& getDescription() const;
    00046            const std::string& getExtension() const;
    00047            bool hasCreateSupport() const;
    00048
    00049            void setId(const std::string& id);
    00050            void setDescription(const std::string& d);
    00051            void setExtension(const std::string& e);
    00052            void setCreateSupport(bool b);
    00053
    00054            void print() const;
    00055
    00056            std::string getFilter() const;
    00057
    00058 private:
    00059
    00060            std::string _id;
    00061            std::string _description;
    00062            std::string _extension;
    00063            bool _hasCreateSupport;
    00064 };
    00065
    00066 #endif //__TERRALIB_INTERNAL_GEOFILEINFO_H

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines