MCPcopy Create free account
hub / github.com/cginternals/globjects / modifiedSource

Method modifiedSource

source/globjects/source/base/StringTemplate.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85std::string StringTemplate::modifiedSource() const
86{
87 std::string source = m_internal->string();
88
89 for (const auto & pair: m_replacements)
90 replaceAll(source, pair.first, pair.second);
91
92 return source;
93}
94
95
96} // namespace globjects

Callers

nothing calls this directly

Calls 2

replaceAllFunction · 0.85
stringMethod · 0.45

Tested by

no test coverage detected