MCPcopy Create free account
hub / github.com/Profactor/cv-plot / FileStream

Method FileStream

CvPlot/ext/catch2/inc/catch.hpp:13457–13460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13455 mutable std::ofstream m_ofs;
13456 public:
13457 FileStream( StringRef filename ) {
13458 m_ofs.open( filename.c_str() );
13459 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" );
13460 }
13461 ~FileStream() override = default;
13462 public: // IStream
13463 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