Functions for manipulating XML structures.
More...
#include <JavaScriptXML.h>
|
|
| DRAIN_XML_TREE (N) &jsFunctionScope |
| |
|
| if (jsFunctionScope.empty()) |
| |
|
std::string | id (url) |
| |
|
| for (auto &c :id) |
| |
|
mout | note ("mapped id:", id) |
| |
|
| DRAIN_XML_TREE (N) &treeJS |
| |
|
treeJS | setUrl (url) |
| |
|
|
template<class N > |
| static | DRAIN_XML_TREE (N) &getOnLoadScript(DRAIN_XML_TREE(N) &root) |
| |
|
template<class N > |
| static | DRAIN_XML_TREE (N) &ensureScript(DRAIN_XML_TREE(N) &root |
| |
| template<typename N , typename ... TT> |
| static | DRAIN_XML_TREE (N) &ensureJavaScriptFunction(DRAIN_XML_TREE(N) &root |
| |
|
template<typename N > |
| static | DRAIN_XML_TREE (N) &ensureJavaScriptUrl(DRAIN_XML_TREE(N) &root |
| |
|
|
static const std::string & | label |
| |
| static const std::string const std::string & | code |
| |
|
| scriptElem = code |
| |
|
return | scriptElem |
| |
|
static const std::string & | name |
| |
| static const std::string const TT & | args |
| |
|
return | jsFunctionScope |
| |
| static const std::string & | url |
| |
|
return | treeJS |
| |
Functions for manipulating XML structures.
◆ DRAIN_XML_TREE()
template<typename N , typename ... TT>
| static DRAIN_XML_TREE |
( |
N |
| ) |
& |
|
static |
Creates a function in a shared /SCRIPT/ slot. Todo: rename
- Template Parameters
-
| N | - Tree node type (T::node_data_t) |
| TT | - function parameter names (strings). Creates... |
◆ args
| const std::string const TT& args |
Initial value:{
DRAIN_XML_TREE(N) & jsFunction = UtilsXML::getHeaderObject(root, N::xml_tag_t::SCRIPT)
◆ code
| const std::string const std::string& code |
Initial value:{
DRAIN_XML_TREE(N) & scriptElem = UtilsXML::getHeaderObject(root, N::xml_tag_t::SCRIPT, label)
◆ url
Initial value:{
LogSourc e is the means for a function or any program segment to "connect" to a Log.
Definition Log.h:326
The documentation for this class was generated from the following file: