fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::buffered_ostream::tsbuf Class Reference

#include <logger.hpp>

Inheritance diagram for FIX8::buffered_ostream::tsbuf:

Public Member Functions

 tsbuf ()=default
 
 ~tsbuf ()=default
 
const std::string & get () const
 

Private Member Functions

int_type overflow (int_type c)
 
std::streamsize xsputn (const char *s, std::streamsize num)
 

Private Attributes

std::string _str
 

Detailed Description

Definition at line 545 of file logger.hpp.

Constructor & Destructor Documentation

FIX8::buffered_ostream::tsbuf::tsbuf ( )
default
FIX8::buffered_ostream::tsbuf::~tsbuf ( )
default

Member Function Documentation

const std::string& FIX8::buffered_ostream::tsbuf::get ( ) const
inline

Definition at line 565 of file logger.hpp.

References _str.

Referenced by FIX8::log_stream::~log_stream().

565 { return _str; }
int_type FIX8::buffered_ostream::tsbuf::overflow ( int_type  c)
inlineprivate

Definition at line 549 of file logger.hpp.

550  {
551  if (c != traits_type::eof())
552  {
553  char z(c);
554  _str.append(&z, 1);
555  }
556  return c;
557  }
std::streamsize FIX8::buffered_ostream::tsbuf::xsputn ( const char *  s,
std::streamsize  num 
)
inlineprivate

Definition at line 559 of file logger.hpp.

560  { _str.append(s, num); return num; }

Member Data Documentation

std::string FIX8::buffered_ostream::tsbuf::_str
private

Definition at line 547 of file logger.hpp.

Referenced by get().


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