WPILibC++ 2024.3.2
detail::to_utf8< WChar, Buffer > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/format.h>

Public Member Functions

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

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ to_utf8() [1/2]

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

◆ 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

Member Function Documentation

◆ c_str()

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

◆ convert() [1/2]

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

◆ convert() [2/2]

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

◆ operator string_view()

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

◆ size()

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

◆ str()

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

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