Lumiera  0.pre.03
»edit your freedom«
DataSource< diff::GenNode > Struct Template Reference

#include "lib/text-template-gen-node-binding.hpp"

Description

template<>
struct lib::text_template::DataSource< diff::GenNode >

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.

See also
TextTemplate_test::verify_ETD_binding()

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_
 
DataSourceparScope_
 
+ Collaboration diagram for DataSource< diff::GenNode >:

The documentation for this struct was generated from the following file: