MCPcopy Create free account
hub / github.com/davisking/dlib / mex_warn_streambuf

Method mex_warn_streambuf

dlib/matlab/mex_wrapper.cpp:3104–3112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3102
3103 public:
3104 mex_warn_streambuf (
3105 )
3106 {
3107 buf.resize(1000);
3108 setp(&buf[0], &buf[0] + buf.size()-2);
3109
3110 // make cout send data to mex_warn_streambuf
3111 oldbuf = std::cerr.rdbuf(this);
3112 }
3113
3114 ~mex_warn_streambuf()
3115 {

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected