Lumiera
0.pre.03
»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 82 of file text-template-gen-node-binding.hpp.
Public Types | |
using | Iter = Rec::scopeIter |
using | Node = diff::GenNode |
using | Rec = diff::Rec |
using | Value = std::string |
Public Member Functions | |
DataSource (Node const &root) | |
bool | contains (string key) |
Node const * | findNode (string key) |
Iter | getSequence (string key) |
bool | isSubScope () |
DataSource | openContext (Iter &iter) |
Value | retrieveContent (string key) |
Public Attributes | |
Node const * | data_ |
DataSource * | parScope_ |