MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / FileStream

Method FileStream

test/catch.hpp:14936–14940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14934
14935public:
14936 FileStream(StringRef filename)
14937 {
14938 m_ofs.open(filename.c_str());
14939 CATCH_ENFORCE(!m_ofs.fail(), "Unable to open file: '" << filename << "'");
14940 }
14941 ~FileStream() override = default;
14942
14943public: // IStream

Callers

nothing calls this directly

Calls 3

failMethod · 0.80
openMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected