#include <stringtemplate.h>

Public Member Functions


Static Public Member Functions

static LM_PUBLIC_API auto Expand (const std::string &input, const std::unordered_map< std::string, std::string > &dict) -> std::string
 Expand template.

Detailed Description

String template.

Implements string template supports. This feature offers advanced control on the scene configuration file. The language syntax is based on the ctemplate library: https://github.com/olafvdspek/ctemplate

Although we leave the detailed explanation to the documentation of the ctemplate library, for convenience we briefly describe the usage of the template language.