MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / replace

Function replace

src/utilities/core/StringHelpers.cpp:359–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359std::string replace(std::string input, const std::string& before, const std::string& after) {
360 boost::replace_all(input, before, after);
361 return input;
362}
363
364template <typename Value>
365std::string number_formatter(const Value value, const int base) {

Callers 14

escapeNameMethod · 0.85
setNameMethod · 0.85
TESTFunction · 0.85
BCLMeasureMethod · 0.85
fileTypeMethod · 0.85
BCLComponentMethod · 0.85
BCLSearchResultMethod · 0.85
escapeNameMethod · 0.85
escapeNameMethod · 0.85
toIdStringMethod · 0.85

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.68
testExampleModelFunction · 0.68
testExampleComponentFunction · 0.68