Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
detail::to_utf8< WChar, Buffer > Class Template Reference

#include <format.h>

Public Member Functions

auto c_str () const -> const char *
 
auto convert (basic_string_view< WChar > s, to_utf8_error_policy policy=to_utf8_error_policy::abort) -> bool
 
 operator string_view () const
 
auto size () const -> size_t
 
auto str () const -> std::string
 
 to_utf8 ()
 
 to_utf8 (basic_string_view< WChar > s, to_utf8_error_policy policy=to_utf8_error_policy::abort)
 

Static Public Member Functions

static auto convert (Buffer &buf, basic_string_view< WChar > s, to_utf8_error_policy policy=to_utf8_error_policy::abort) -> bool
 

Private Attributes

Buffer buffer_
 

Detailed Description

template<typename WChar, typename Buffer = memory_buffer>
class detail::to_utf8< WChar, Buffer >

Definition at line 1383 of file format.h.

Constructor & Destructor Documentation

◆ to_utf8() [1/2]

template<typename WChar , typename Buffer = memory_buffer>
detail::to_utf8< WChar, Buffer >::to_utf8 ( )
inline

Definition at line 1388 of file format.h.

◆ to_utf8() [2/2]

template<typename WChar , typename Buffer = memory_buffer>
detail::to_utf8< WChar, Buffer >::to_utf8 ( basic_string_view< WChar >  s,
to_utf8_error_policy  policy = to_utf8_error_policy::abort 
)
inlineexplicit

Definition at line 1389 of file format.h.

Member Function Documentation

◆ c_str()

template<typename WChar , typename Buffer = memory_buffer>
auto detail::to_utf8< WChar, Buffer >::c_str ( ) const -> const char*
inline

Definition at line 1399 of file format.h.

◆ convert() [1/2]

template<typename WChar , typename Buffer = memory_buffer>
auto detail::to_utf8< WChar, Buffer >::convert ( basic_string_view< WChar >  s,
to_utf8_error_policy  policy = to_utf8_error_policy::abort 
) -> bool
inline

Definition at line 1405 of file format.h.

◆ convert() [2/2]

template<typename WChar , typename Buffer = memory_buffer>
static auto detail::to_utf8< WChar, Buffer >::convert ( Buffer &  buf,
basic_string_view< WChar >  s,
to_utf8_error_policy  policy = to_utf8_error_policy::abort 
) -> bool
inlinestatic

Definition at line 1412 of file format.h.

◆ operator string_view()

template<typename WChar , typename Buffer = memory_buffer>
detail::to_utf8< WChar, Buffer >::operator string_view ( ) const
inline

Definition at line 1397 of file format.h.

◆ size()

template<typename WChar , typename Buffer = memory_buffer>
auto detail::to_utf8< WChar, Buffer >::size ( ) const -> size_t
inline

Definition at line 1398 of file format.h.

◆ str()

template<typename WChar , typename Buffer = memory_buffer>
auto detail::to_utf8< WChar, Buffer >::str ( ) const -> std::string
inline

Definition at line 1400 of file format.h.

Member Data Documentation

◆ buffer_

template<typename WChar , typename Buffer = memory_buffer>
Buffer detail::to_utf8< WChar, Buffer >::buffer_
private

Definition at line 1385 of file format.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:30