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

#include "lib/text-template.hpp"

Description

template<>
struct text_template::DataSource< string >

Adapter for the Map-Data-Source to consume a string spec (for testing)

Definition at line 726 of file text-template.hpp.

Public Member Functions

 DataSource (string const &dataSpec)
 
DataSource openContext (Iter &iter)
 
- Public Member Functions inherited from DataSource< MapS >
 DataSource (MapS const &map)
 
bool contains (string key)
 
Iter getSequence (string key)
 
bool isSubScope ()
 
DataSource openContext (Iter &iter)
 
Value retrieveContent (string key)
 

Public Attributes

std::shared_ptr< MapS > spec_
 
- Public Attributes inherited from DataSource< MapS >
MapS const * data_ {nullptr}
 
string keyPrefix_ {}
 

Additional Inherited Members

- Public Types inherited from DataSource< MapS >
using Iter = decltype(iterNestedKeys("",""))
 
using Value = std::string_view
 
+ Inheritance diagram for DataSource< string >:
+ Collaboration diagram for DataSource< string >:

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