| 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/drivers/spl/PluginInfo.h
Go to the documentation of this file.

    00001 /************************************************************************************
    00002 TerraView - visualization and exploration of geographical databases
    00003 using TerraLib.
    00004 Copyright � 2001-2007 INPE and Tecgraf/PUC-Rio.
    00005 This file is part of TerraView. TerraView is free software; you can redistribute it
    00006 and/or modify it under the terms of the GNU General Public License as published by
    00007 the Free Software Foundation; either version 2 of the License, or
    00008 (at your option) any later version.
    00009
    00010 You should have received a copy of the GNU General Public License
    00011 along with TerraView.
    00012 The authors reassure the license terms regarding the warranties.
    00013 They specifically disclaim any warranties, including, but not limited to,
    00014 the implied warranties of merchantability and fitness for a particular purpose.
    00015 The software provided hereunder is on an "as is" basis, and the authors have no
    00016 obligation to provide maintenance, support, updates, enhancements, or modifications.
    00017 In no event shall INPE and Tecgraf / PUC-Rio be held liable to any party for direct,
    00018 indirect, special, incidental, or consequential damages arising out of the use of
    00019 this program and its documentation.
    00020 *************************************************************************************/
    00021
    00022 #ifndef PLUGININFO_H
    00023   #define PLUGININFO_H
    00024
    00025   #include <string>
    00026
    00027   #include "TeSPLDefines.h"
    00028
    00033   class TLSPL_DLL PluginInfo
    00034   {
    00035     public :
    00036
    00040       std::string plugin_name_;
    00041
    00045       std::string plugin_type_;
    00046
    00050       std::string plugin_interface_version_;
    00051
    00055       std::string plugin_build_number_;
    00056
    00060       std::string plugin_major_version_;
    00061
    00065       std::string plugin_minor_version_;
    00066
    00070       std::string plugin_description_;
    00071
    00075       std::string plugin_vendor_;
    00076
    00080       std::string plugin_vendor_email_;
    00081
    00085       std::string plugin_url_;
    00086
    00090       PluginInfo() {};
    00091
    00097       bool operator==( const PluginInfo& external ) const
    00098       {
    00099         if(
    00100             ( plugin_name_ == external.plugin_name_ ) &&
    00101             ( plugin_type_ == external.plugin_type_ ) &&
    00102             ( plugin_interface_version_ ==
    00103               external.plugin_interface_version_ ) &&
    00104             ( plugin_build_number_ == external.plugin_build_number_ ) &&
    00105             ( plugin_major_version_ == external.plugin_major_version_ ) &&
    00106             ( plugin_minor_version_ == external.plugin_minor_version_ ) &&
    00107             ( plugin_description_ == external.plugin_description_ ) &&
    00108             ( plugin_vendor_ == external.plugin_vendor_ ) &&
    00109             ( plugin_vendor_email_ == external.plugin_vendor_email_ ) &&
    00110             ( plugin_url_ == external.plugin_url_ ) ) {
    00111
    00112           return true;
    00113         } else {
    00114           return false;
    00115         }
    00116       };
    00117   };
    00118
    00119 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines