MCPcopy Create free account
hub / github.com/RenderKit/embree / getContents

Method getContents

tutorials/external/catch.hpp:9880–9888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9878 }
9879
9880 std::string TempFile::getContents() {
9881 std::stringstream sstr;
9882 char buffer[100] = {};
9883 std::rewind(m_file);
9884 while (std::fgets(buffer, sizeof(buffer), m_file)) {
9885 sstr << buffer;
9886 }
9887 return sstr.str();
9888 }
9889
9890 OutputRedirect::OutputRedirect(std::string& stdout_dest, std::string& stderr_dest) :
9891 m_originalStdout(dup(1)),

Callers 1

~OutputRedirectMethod · 0.80

Calls 1

strMethod · 0.45

Tested by

no test coverage detected