Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | List of all members
castor::LoggerStreambufT< CharT, TraitsT > Class Template Reference

#include <LoggerStreambuf.hpp>

Inheritance diagram for castor::LoggerStreambufT< CharT, TraitsT >:
Inheritance graph
[legend]
Collaboration diagram for castor::LoggerStreambufT< CharT, TraitsT >:
Collaboration graph
[legend]

Public Types

using string_type = std::basic_string< CharT >
 
using ostream_type = std::basic_ostream< CharT >
 
using streambuf_type = std::basic_streambuf< CharT >
 
using int_type = typename std::basic_streambuf< CharT >::int_type
 
using traits_type = typename std::basic_streambuf< CharT >::traits_type
 

Public Member Functions

 LoggerStreambufT (std::basic_ostream< CharT > &stream)
 
 LoggerStreambufT (LoggerInstance &logger, ostream_type &stream)
 
 ~LoggerStreambufT () noexcept override
 
int_type overflow (int_type c=traits_type::eof()) override
 

Member Typedef Documentation

◆ int_type

template<typename CharT , typename TraitsT >
using castor::LoggerStreambufT< CharT, TraitsT >::int_type = typename std::basic_streambuf< CharT >::int_type

◆ ostream_type

template<typename CharT , typename TraitsT >
using castor::LoggerStreambufT< CharT, TraitsT >::ostream_type = std::basic_ostream< CharT >

◆ streambuf_type

template<typename CharT , typename TraitsT >
using castor::LoggerStreambufT< CharT, TraitsT >::streambuf_type = std::basic_streambuf< CharT >

◆ string_type

template<typename CharT , typename TraitsT >
using castor::LoggerStreambufT< CharT, TraitsT >::string_type = std::basic_string< CharT >

◆ traits_type

template<typename CharT , typename TraitsT >
using castor::LoggerStreambufT< CharT, TraitsT >::traits_type = typename std::basic_streambuf< CharT >::traits_type

Constructor & Destructor Documentation

◆ LoggerStreambufT() [1/2]

template<typename CharT , typename TraitsT >
castor::LoggerStreambufT< CharT, TraitsT >::LoggerStreambufT ( std::basic_ostream< CharT > & stream)
inlineexplicit

◆ LoggerStreambufT() [2/2]

template<typename CharT , typename TraitsT >
castor::LoggerStreambufT< CharT, TraitsT >::LoggerStreambufT ( LoggerInstance & logger,
ostream_type & stream )
inlineexplicit

◆ ~LoggerStreambufT()

template<typename CharT , typename TraitsT >
castor::LoggerStreambufT< CharT, TraitsT >::~LoggerStreambufT ( )
inlineoverridenoexcept

Member Function Documentation

◆ overflow()

template<typename CharT , typename TraitsT >
int_type castor::LoggerStreambufT< CharT, TraitsT >::overflow ( int_type c = traits_type::eof())
inlineoverride

References castor::makeUniqueLock().

Here is the call graph for this function:

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