|
OpenCPN Partial API docs
|
Datatypes and methods to parse ocpn-plugins.xml XML data, either complete catalog or a single plugin. More...
#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | CatalogData |
| Overall metadata for the set of plugins used. More... | |
| struct | PluginMetadata |
| Plugin metadata, reflects the xml format directly. More... | |
| struct | CatalogCtx |
| The result from parsing the xml catalog i. More... | |
Functions | |
| bool | ParseCatalog (const std::string xml, CatalogCtx *ctx) |
| bool | ParsePlugin (const std::string &xml, PluginMetadata &metadata) |
Datatypes and methods to parse ocpn-plugins.xml XML data, either complete catalog or a single plugin.
Definition in file catalog_parser.h.
| bool ParseCatalog | ( | const std::string | xml, |
| CatalogCtx * | ctx ) |
Definition at line 117 of file catalog_parser.cpp.
| bool ParsePlugin | ( | const std::string & | xml, |
| PluginMetadata & | metadata ) |
Definition at line 106 of file catalog_parser.cpp.