Go to the documentation of this file.
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);
TCEString findPlaceholder(const TCEString &str)
HDLTemplateInstantiator()
TCEString getPlaceholderDefault(const TCEString &str)
friend class HDLTemplateInstantiatorTest
void replacePlaceholderFromFile(const std::string &key, const Path &filePath, bool append=false)
void fillPlaceholders(TCEString &str)
std::map< PlaceholderKey, Replacer > ReplacerMap
TCEString getPlaceholderKey(const TCEString &str)
void replacePlaceholder(const std::string &key, const std::string &replacer, bool append=false)
void setEntityString(const TCEString &entityStr)
static const std::string PLACEHOLDEREND
void instantiateTemplateFile(const std::string &templateFile, const std::string &dstFile)
static const std::string PLACEHOLDERSEPARATOR
static const std::string PLACEHOLDERBEGIN