Castor3D 0.16.0
Multiplatform 3D engine
Public Types | Public Member Functions | List of all members
castor::format::BasicPrefixBuffer< prefix_type, char_type, traits > Struct Template Reference

Stream buffer used by streams to indent lines. More...

#include <StreamPrefixBuffer.hpp>

Inheritance diagram for castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >:
Inheritance graph
[legend]
Collaboration diagram for castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >:
Collaboration graph
[legend]

Public Types

using int_type = typename traits::int_type
 
using pos_type = typename traits::pos_type
 
using off_type = typename traits::off_type
 

Public Member Functions

 BasicPrefixBuffer (std::basic_streambuf< char_type, traits > *sbuf)
 Constructor.
 
std::streambuf * sbuf () const
 Retrieves the stream buffer.
 

Detailed Description

template<typename prefix_type, typename char_type, typename traits>
struct castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >

Stream buffer used by streams to indent lines.

Member Typedef Documentation

◆ int_type

template<typename prefix_type , typename char_type , typename traits >
using castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >::int_type = typename traits::int_type

◆ off_type

template<typename prefix_type , typename char_type , typename traits >
using castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >::off_type = typename traits::off_type

◆ pos_type

template<typename prefix_type , typename char_type , typename traits >
using castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >::pos_type = typename traits::pos_type

Constructor & Destructor Documentation

◆ BasicPrefixBuffer()

template<typename prefix_type , typename char_type , typename traits >
castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >::BasicPrefixBuffer ( std::basic_streambuf< char_type, traits > * sbuf)
inlineexplicit

Constructor.

Member Function Documentation

◆ sbuf()

template<typename prefix_type , typename char_type , typename traits >
std::streambuf * castor::format::BasicPrefixBuffer< prefix_type, char_type, traits >::sbuf ( ) const
inline

Retrieves the stream buffer.

Returns
The buffer

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