MCPcopy Create free account
hub / github.com/cvanaret/Uno / COStream

Method COStream

interfaces/C/Uno_C_API.cpp:444–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442class COStream : public std::ostream {
443public:
444 COStream(uno_logger_stream_callback logger_stream_callback, void* user_data, std::size_t buffer_size = 1024) : // 1024 default buffer size
445 std::ostream(&this->buffer), buffer(logger_stream_callback, user_data, buffer_size) { }
446
447private:
448 // internal stream buffer that sends output to the uno_logger_stream_callback

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected