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

Method FileStream

tests/catch.hpp:10990–10993  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10988 mutable std::ofstream m_ofs;
10989 public:
10990 FileStream( StringRef filename ) {
10991 m_ofs.open( filename.c_str() );
10992 CATCH_ENFORCE( !m_ofs.fail(), "Unable to open file: '" << filename << "'" );
10993 }
10994 ~FileStream() override = default;
10995 public: // IStream
10996 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