MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / ConsoleCaptureStdOut

Method ConsoleCaptureStdOut

olcPixelGameEngine.h:4281–4287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4279 }
4280
4281 void PixelGameEngine::ConsoleCaptureStdOut(const bool bCapture)
4282 {
4283 if (bCapture)
4284 sbufOldCout = std::cout.rdbuf(ssConsoleOutput.rdbuf());
4285 else
4286 std::cout.rdbuf(sbufOldCout);
4287 }
4288
4289 void PixelGameEngine::UpdateConsole()
4290 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected