MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / FileStream

Method FileStream

extlibs/catch/include/catch/catch.hpp:13052–13055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13050 mutable std::ofstream m_ofs;
13051 public:
13052 FileStream( StringRef filename ) {
13053 m_ofs.open( filename.c_str() );
13054 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" );
13055 }
13056 ~FileStream() override = default;
13057 public: // IStream
13058 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