MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / setStream

Method setStream

include/itextstream.h:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 {}
74
75 void setStream(std::ostream& outputStream)
76 {
77 _outputStream = &outputStream;
78
79 // Copy temporary data to new buffer
80 (*_outputStream) << _tempOutputStream.str();
81 _tempOutputStream.clear();
82 }
83
84 std::ostream& getStream() {
85 return *_outputStream;

Callers 2

initialiseStreamsFunction · 0.80
InitialiseStreamsMethod · 0.80

Calls 2

strMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected