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

Class DebugOutStream

tests/catch.hpp:11017–11030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11015 ///////////////////////////////////////////////////////////////////////////
11016
11017 class DebugOutStream : public IStream {
11018 std::unique_ptr<StreamBufImpl<OutputDebugWriter>> m_streamBuf;
11019 mutable std::ostream m_os;
11020 public:
11021 DebugOutStream()
11022 : m_streamBuf( new StreamBufImpl<OutputDebugWriter>() ),
11023 m_os( m_streamBuf.get() )
11024 {}
11025
11026 ~DebugOutStream() override = default;
11027
11028 public: // IStream
11029 std::ostream& stream() const override { return m_os; }
11030 };
11031
11032 }} // namespace anon::detail
11033

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected