OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::string_variable_map Class Reference

Class storing a map of variable names to values, doing string substitution. More...

#include <eagine/str_var_subst.hpp>

Public Member Functions

auto set (std::string name, std::string value) -> string_variable_map &
 Set the value of a variable with name.
 
auto subst_variables (const std::string &str) const -> std::string
 Uses the stored variables to do substitution in the given string.
 
auto operator() (const std::string &str) const -> std::string
 Uses the stored variables to do substitution in the given string.
 

Detailed Description

Class storing a map of variable names to values, doing string substitution.


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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).