Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/text-template.hpp"
Data-binding for a Map-of-strings.
Simple keys are retrieved by direct lookup. For the representation of nested data sequences, the following conventions apply
<index-key>.<elm-key>.<key>
Definition at line 654 of file text-template.hpp.
Public Types | |
using | Iter = decltype(iterNestedKeys("","")) |
using | Value = std::string_view |
Public Member Functions | |
DataSource (MapS const &map) | |
bool | contains (string key) |
Iter | getSequence (string key) |
bool | isSubScope () |
DataSource | openContext (Iter &iter) |
Value | retrieveContent (string key) |
Public Attributes | |
MapS const * | data_ {nullptr} |
string | keyPrefix_ {} |