Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <iosfwd>
#include <memory>
#include <string>
#include <vector>
#include "public/fpdfview.h"
#include "testing/free_deleter.h"
Go to the source code of this file.
Typedefs | |
using | ScopedFPDFWideString = std::unique_ptr<FPDF_WCHAR, pdfium::FreeDeleter> |
Functions | |
std::ostream & | operator<< (std::ostream &os, const CFX_DateTime &dt) |
std::vector< std::string > | StringSplit (const std::string &str, char delimiter) |
std::string | GetPlatformString (FPDF_WIDESTRING wstr) |
std::wstring | GetPlatformWString (FPDF_WIDESTRING wstr) |
ScopedFPDFWideString | GetFPDFWideString (const std::wstring &wstr) |
std::vector< FPDF_WCHAR > | GetFPDFWideStringBuffer (size_t length_bytes) |
using ScopedFPDFWideString = std::unique_ptr<FPDF_WCHAR, pdfium::FreeDeleter> |
Definition at line 31 of file fx_string_testhelpers.h.
ScopedFPDFWideString GetFPDFWideString | ( | const std::wstring & | wstr | ) |
Definition at line 63 of file fx_string_testhelpers.cpp.
std::vector< FPDF_WCHAR > GetFPDFWideStringBuffer | ( | size_t | length_bytes | ) |
Definition at line 78 of file fx_string_testhelpers.cpp.
std::string GetPlatformString | ( | FPDF_WIDESTRING | wstr | ) |
Definition at line 41 of file fx_string_testhelpers.cpp.
References fxcrt::ByteString::c_str(), fxcrt::WideString::ToUTF8(), and WideStringFromFPDFWideString().
Referenced by TEST_F(), TEST_F(), and TEST_F().
std::wstring GetPlatformWString | ( | FPDF_WIDESTRING | wstr | ) |
std::ostream & operator<< | ( | std::ostream & | os, |
const CFX_DateTime & | dt ) |
Definition at line 17 of file fx_string_testhelpers.cpp.
References CFX_DateTime::GetDay(), CFX_DateTime::GetHour(), CFX_DateTime::GetMillisecond(), CFX_DateTime::GetMinute(), CFX_DateTime::GetMonth(), CFX_DateTime::GetSecond(), and CFX_DateTime::GetYear().
std::vector< std::string > StringSplit | ( | const std::string & | str, |
char | delimiter ) |
Definition at line 26 of file fx_string_testhelpers.cpp.