27 #include "../xml/Reader.h"
28 #include "../xml/ReaderFactory.h"
175 while(xmlReader.
next())
197 while(xmlReader.
next())
219 while(xmlReader.
next())
241 while(xmlReader.
next())
250 std::string name = xmlReader.
getAttr(
"name");
251 std::string href = xmlReader.
getAttr(
"xlink:href");
263 while(xmlReader.
next())
te::plugin::PluginInfo & operator<<(te::plugin::PluginInfo &pInfo, te::xml::Reader &xmlReader)
It deserializes the plugin info using the given XML reader.
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.
std::string m_site
The provider home page.
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.
std::string m_terralibVersion
The TerraLib version this plugin depends on.
virtual std::string getElementLocalName() const =0
It returns the local part of the element name in the case of an element node.
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.
virtual std::string getAttr(const std::string &name) const =0
It returns the attribute value in the case of an element node with valid attributes.
std::string m_email
The provider contact e-mail.
std::string m_release
The release date of the plugin. This may be used to identify new versions of a given plugin...
virtual NodeType getNodeType() const =0
It return the type of node read.
std::vector< Resource > m_resources
The list of resources used by plugin.
virtual std::string getElementValue() const =0
It returns the element data value in the case of VALUE node.
std::vector< Parameter > m_parameters
Any configuration parameter that can be informed to plugin (map: parameter-name -> parameter-value)...
std::pair< std::string, std::string > Resource
std::string m_description
A brief explanation about the plugin.
std::string m_name
Provider name: may be a person or a company.
The basic information about a plugin.
The basic information about a plugin.
virtual bool hasAttrs() const =0
It tells if the element has attributes in the case of an element node.
virtual bool next()=0
It gets the next event to be read.
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.