31#ifndef TTA_HDL_TEMPLATE_INSTANTIATOR_HH
32#define TTA_HDL_TEMPLATE_INSTANTIATOR_HH
54 const std::string& key,
const std::string& replacer,
57 const std::string& key,
61 const std::string& templateFile,
62 const std::string& dstFile);
HDLTemplateInstantiator()
static const std::string PLACEHOLDERBEGIN
void instantiateTemplateFile(const std::string &templateFile, const std::string &dstFile)
void replacePlaceholderFromFile(const std::string &key, const Path &filePath, bool append=false)
friend class HDLTemplateInstantiatorTest
TCEString findPlaceholder(const TCEString &str)
void fillPlaceholders(TCEString &str)
TCEString getPlaceholderDefault(const TCEString &str)
TCEString getPlaceholderKey(const TCEString &str)
void setEntityString(const TCEString &entityStr)
std::map< PlaceholderKey, Replacer > ReplacerMap
static const std::string PLACEHOLDERSEPARATOR
void replacePlaceholder(const std::string &key, const std::string &replacer, bool append=false)
static const std::string PLACEHOLDEREND