|
OpenCPN Partial API docs
|
Implement catalog_parser.h – Datatypes and methods to parse ocpn-plugins.xml XML data, either complete catalog or a single plugin. More...
#include <sstream>#include <wx/log.h>#include "model/catalog_parser.h"#include "model/ocpn_utils.h"#include "model/catalog_handler.h"#include "pugixml.hpp"Go to the source code of this file.
Functions | |
| bool | ParsePlugin (pugi::xml_node root, PluginMetadata &plugin) |
| bool | ParsePlugin (const std::string &xml, PluginMetadata &plugin) |
| bool | ParseCatalog (const std::string xml, CatalogCtx *ctx) |
Implement catalog_parser.h – Datatypes and methods to parse ocpn-plugins.xml XML data, either complete catalog or a single plugin.
Definition in file catalog_parser.cpp.
| bool ParseCatalog | ( | const std::string | xml, |
| CatalogCtx * | ctx | ||
| ) |
Definition at line 117 of file catalog_parser.cpp.
| bool ParsePlugin | ( | const std::string & | xml, |
| PluginMetadata & | plugin | ||
| ) |
Definition at line 106 of file catalog_parser.cpp.
| bool ParsePlugin | ( | pugi::xml_node | root, |
| PluginMetadata & | plugin | ||
| ) |
Definition at line 86 of file catalog_parser.cpp.