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

Method FileStream

external/catch.hpp:13683–13686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13681 mutable std::ofstream m_ofs;
13682 public:
13683 FileStream( StringRef filename ) {
13684 m_ofs.open( filename.c_str() );
13685 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" );
13686 }
13687 ~FileStream() override = default;
13688 public: // IStream
13689 std::ostream& stream() const override {

Callers

nothing calls this directly

Calls 3

c_strMethod · 0.80
failMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected