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

Method FileStream

tutorials/external/catch.hpp:11258–11261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11256 mutable std::ofstream m_ofs;
11257 public:
11258 FileStream( StringRef filename ) {
11259 m_ofs.open( filename.c_str() );
11260 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" );
11261 }
11262 ~FileStream() override = default;
11263 public: // IStream
11264 std::ostream& stream() const override {

Callers

nothing calls this directly

Calls 3

failMethod · 0.80
openMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected