Vowpal Wabbit
Public Member Functions | Private Attributes | List of all members
vw_ostream::vw_streambuf Class Reference
Inheritance diagram for vw_ostream::vw_streambuf:

Public Member Functions

 vw_streambuf (vw_ostream &str)
 
virtual int sync ()
 

Private Attributes

vw_ostreamparent
 

Detailed Description

Definition at line 9 of file error_reporting.h.

Constructor & Destructor Documentation

◆ vw_streambuf()

vw_ostream::vw_streambuf::vw_streambuf ( vw_ostream str)
inline

Definition at line 14 of file error_reporting.h.

References sync().

14 : parent(str){};

Member Function Documentation

◆ sync()

int vw_ostream::vw_streambuf::sync ( )
virtual

Definition at line 246 of file global_data.cc.

Referenced by vw_streambuf().

247 {
248  int ret = std::stringbuf::sync();
249  if (ret)
250  return ret;
251 
253  str("");
254  return 0; // success
255 }
void * trace_context
trace_message_t trace_listener

Member Data Documentation

◆ parent

vw_ostream& vw_ostream::vw_streambuf::parent
private

Definition at line 11 of file error_reporting.h.


The documentation for this class was generated from the following files: