The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
ucs4_convert_impl::iteratorwriter< oitor_t > Struct Template Reference

Transforms an output iterator to a writer for ucs4_convert_impl functions. More...

#include <unicode_cast.hpp>

Public Member Functions

 iteratorwriter (oitor_t &out)
 
bool can_push (std::size_t)
 
template<typename value_type >
void push (value_type val)
 

Public Attributes

oitor_t & out_
 

Detailed Description

template<typename oitor_t>
struct ucs4_convert_impl::iteratorwriter< oitor_t >

Transforms an output iterator to a writer for ucs4_convert_impl functions.

Definition at line 28 of file unicode_cast.hpp.

Constructor & Destructor Documentation

◆ iteratorwriter()

template<typename oitor_t >
ucs4_convert_impl::iteratorwriter< oitor_t >::iteratorwriter ( oitor_t &  out)
inline

Definition at line 31 of file unicode_cast.hpp.

Member Function Documentation

◆ can_push()

template<typename oitor_t >
bool ucs4_convert_impl::iteratorwriter< oitor_t >::can_push ( std::size_t  )
inline

Definition at line 33 of file unicode_cast.hpp.

◆ push()

template<typename oitor_t >
template<typename value_type >
void ucs4_convert_impl::iteratorwriter< oitor_t >::push ( value_type  val)
inline

Member Data Documentation

◆ out_

template<typename oitor_t >
oitor_t& ucs4_convert_impl::iteratorwriter< oitor_t >::out_

Definition at line 30 of file unicode_cast.hpp.

Referenced by ucs4_convert_impl::iteratorwriter< oitor_t >::push().


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