![]() |
Prusa Slicer 2.6.0
|
A class that allows to create a temporary wide or narrow UTF strings from wide or narrow UTF source. More...
#include <src/boost/nowide/stackstring.hpp>
Public Types | |
| typedef CharOut | output_char |
| typedef CharIn | input_char |
Public Member Functions | |
| basic_stackstring (basic_stackstring const &other) | |
| void | swap (basic_stackstring &other) |
| basic_stackstring & | operator= (basic_stackstring const &other) |
| basic_stackstring () | |
| bool | convert (input_char const *input) |
| bool | convert (input_char const *begin, input_char const *end) |
| output_char * | c_str () |
| output_char const * | c_str () const |
| void | clear () |
| ~basic_stackstring () | |
Static Public Attributes | |
| static const size_t | buffer_size = BufferSize |
Static Private Member Functions | |
| static size_t | get_space (size_t insize, size_t outsize, size_t in) |
Private Attributes | |
| output_char | buffer_ [buffer_size] |
| output_char * | mem_buffer_ |
A class that allows to create a temporary wide or narrow UTF strings from wide or narrow UTF source.
It uses on stack buffer of the string is short enough and allocated a buffer on the heap if the size of the buffer is too small
| typedef CharIn boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::input_char |
| typedef CharOut boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::output_char |
|
inline |
References boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::buffer_, boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::buffer_size, boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::clear(), and boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::mem_buffer_.
Here is the call graph for this function:
|
inline |
|
inline |
References boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::clear().
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
References boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::buffer_, and boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::mem_buffer_.
Referenced by boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::basic_stackstring(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::~basic_stackstring(), and boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::convert().
Here is the caller graph for this function:
|
inline |
References boost::nowide::basic_convert(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::buffer_, boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::buffer_size, boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::clear(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::get_space(), and boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::mem_buffer_.
Here is the call graph for this function:
|
inline |
References boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::convert(), and input().
Referenced by boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::convert().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprivate |
Referenced by boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::convert().
Here is the caller graph for this function:
|
inline |
References boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::swap().
Here is the call graph for this function:
|
inline |
References boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::buffer_, boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::buffer_size, and boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::mem_buffer_.
Referenced by boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::operator=().
Here is the caller graph for this function:
|
private |
Referenced by boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::basic_stackstring(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::c_str(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::c_str(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::clear(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::convert(), and boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::swap().
|
static |
|
private |
Referenced by boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::basic_stackstring(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::c_str(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::c_str(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::clear(), boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::convert(), and boost::nowide::basic_stackstring< CharOut, CharIn, BufferSize >::swap().