Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <stdint.h>
#include <string>
#include <vector>
#include "core/fxcrt/bytestring.h"
#include "core/fxcrt/widestring.h"
#include "third_party/base/containers/span.h"
Go to the source code of this file.
Namespaces | |
namespace | fxcrt |
Functions | |
constexpr uint32_t | FXBSTR_ID (uint8_t c1, uint8_t c2, uint8_t c3, uint8_t c4) |
ByteString | FX_UTF8Encode (WideStringView wsStr) |
std::u16string | FX_UTF16Encode (WideStringView wsStr) |
float | StringToFloat (ByteStringView str) |
float | StringToFloat (WideStringView wsStr) |
size_t | FloatToString (float f, pdfium::span< char > buf) |
double | StringToDouble (ByteStringView str) |
double | StringToDouble (WideStringView wsStr) |
size_t | DoubleToString (double d, pdfium::span< char > buf) |
template<typename StrType > | |
std::vector< StrType > | fxcrt::Split (const StrType &that, typename StrType::CharType ch) |
template std::vector< ByteString > | fxcrt::Split< ByteString > (const ByteString &that, ByteString::CharType ch) |
template std::vector< WideString > | fxcrt::Split< WideString > (const WideString &that, WideString::CharType ch) |
size_t DoubleToString | ( | double | d, |
pdfium::span< char > | buf ) |
Definition at line 222 of file fx_string.cpp.
References FXSYS_round().
size_t FloatToString | ( | float | f, |
pdfium::span< char > | buf ) |
Definition at line 210 of file fx_string.cpp.
References FXSYS_roundf().
std::u16string FX_UTF16Encode | ( | WideStringView | wsStr | ) |
Definition at line 77 of file fx_string.cpp.
ByteString FX_UTF8Encode | ( | WideStringView | wsStr | ) |
Definition at line 69 of file fx_string.cpp.
|
constexpr |
Definition at line 19 of file fx_string.h.
Referenced by fxcrt::TEST().
double StringToDouble | ( | ByteStringView | str | ) |
Definition at line 214 of file fx_string.cpp.
double StringToDouble | ( | WideStringView | wsStr | ) |
Definition at line 218 of file fx_string.cpp.
float StringToFloat | ( | ByteStringView | str | ) |
Definition at line 202 of file fx_string.cpp.
float StringToFloat | ( | WideStringView | wsStr | ) |
Definition at line 206 of file fx_string.cpp.