MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / FileStream

Method FileStream

extern/Catch2/catch.hpp:13696–13699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13694 mutable std::ofstream m_ofs;
13695 public:
13696 FileStream( StringRef filename ) {
13697 m_ofs.open( filename.c_str() );
13698 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" );
13699 }
13700 ~FileStream() override = default;
13701 public: // IStream
13702 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