26 #ifndef __TERRALIB_PLUGIN_INTERNAL_PLUGININFO_H
27 #define __TERRALIB_PLUGIN_INTERNAL_PLUGININFO_H
41 namespace xml {
class Reader; }
63 typedef std::pair<std::string, std::string>
Resource;
64 typedef std::pair<std::string, std::string>
Parameter;
93 return m_name < rhs.
m_name;
96 struct Finder1st :
public std::unary_function<std::pair<std::string, std::string>, bool>
103 bool operator()(
const std::pair<std::string, std::string>& r)
125 #endif // __TERRALIB_PLUGIN_INTERNAL_PLUGININFO_H
bool operator<(const PluginInfo &rhs) const
This overloaded operator can be used to index the plugin info in a set.
std::string m_name
The plugin name: an internal value used to identify the plugin in the system. Must be a unique value...
std::vector< std::string > m_requiredPlugins
The list of required plugins in order to lunch the plugin.
This class models a XML reader object.
std::vector< std::string > m_requiredModules
The list of required category of plugins in order to lunch the plugin.
This struct can be used to describe a given plugin provider.
std::string m_licenseDescription
A brief description about the plugin license.
std::string m_displayName
The plugin name to be displayed in a graphical interface.
TEPLUGINEXPORT te::plugin::PluginInfo & operator<<(te::plugin::PluginInfo &pInfo, te::xml::Reader &xmlReader)
It deserializes the plugin info using the given XML reader.
Configuration flags for the TerraLib Plugin module.
bool operator()(const std::pair< std::string, std::string > &r)
std::string m_terralibVersion
The TerraLib version this plugin depends on.
std::string m_engine
The type of plugin execution engine: C++, JAVA.
Provider m_provider
Information about the plugin provider.
std::string m_version
The plugin version.
std::string m_site
An URL pointing to the plugin site.
std::vector< std::string > m_requiredPluginCategories
The list of required category of plugins in order to lunch the plugin.
std::string m_release
The release date of the plugin. This may be used to identify new versions of a given plugin...
This struct can be used to describe a given plugin provider.
std::vector< Resource > m_resources
The list of resources used by plugin.
std::vector< Parameter > m_parameters
Any configuration parameter that can be informed to plugin (map: parameter-name -> parameter-value)...
#define TEPLUGINEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::pair< std::string, std::string > Resource
Finder1st(const std::string &val)
std::string m_description
A brief explanation about the plugin.
The basic information about a plugin.
std::string m_category
The plugin category.
std::pair< std::string, std::string > Parameter
std::string m_licenseURL
An URL where someone can find more information on the license.