![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "lib/text-template-gen-node-binding.hpp"
Data-binding for a tree of GenNode data (ETD).
Attributes are accessible as keys, while iteration descends into the child scope of the attribute indicated in the ${for <key>}` tag.
Definition at line 73 of file text-template-gen-node-binding.hpp.
Public Types | |
| using | Node = diff::GenNode |
| using | Rec = diff::Rec |
| using | Value = std::string |
| using | Iter = Rec::scopeIter |
Public Attributes | |
| Node const * | data_ |
| DataSource * | parScope_ |
Public Member Functions | |
| bool | isSubScope () |
| DataSource (Node const &root) | |
| Node const * | findNode (string key) |
| bool | contains (string key) |
| Value | retrieveContent (string key) |
| Iter | getSequence (string key) |
| DataSource | openContext (Iter &iter) |
|
inline |
Definition at line 82 of file text-template-gen-node-binding.hpp.
| using Node = diff::GenNode |
Definition at line 75 of file text-template-gen-node-binding.hpp.
Definition at line 76 of file text-template-gen-node-binding.hpp.
| using Value = std::string |
Definition at line 88 of file text-template-gen-node-binding.hpp.
| using Iter = Rec::scopeIter |
Definition at line 89 of file text-template-gen-node-binding.hpp.
|
inline |
Definition at line 80 of file text-template-gen-node-binding.hpp.
|
inline |
Definition at line 92 of file text-template-gen-node-binding.hpp.
References GenNode::data, DataCap::get(), Record< VAL >::get(), Record< VAL >::hasAttribute(), and GenNode::isNested().
Here is the call graph for this function:
|
inline |
Definition at line 111 of file text-template-gen-node-binding.hpp.
|
inline |
Definition at line 117 of file text-template-gen-node-binding.hpp.
|
inline |
Definition at line 123 of file text-template-gen-node-binding.hpp.
|
inline |
Definition at line 135 of file text-template-gen-node-binding.hpp.
| Node const* data_ |
Definition at line 78 of file text-template-gen-node-binding.hpp.
| DataSource* parScope_ |
Definition at line 79 of file text-template-gen-node-binding.hpp.
Collaboration diagram for DataSource< diff::GenNode >: