Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <bytestring.h>
Public Types | |
using | CharType = char |
using | const_iterator = const CharType* |
using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
Public Member Functions | |
ByteString () | |
ByteString (const ByteString &other) | |
ByteString (ByteString &&other) noexcept | |
ByteString (char ch) | |
ByteString (const char *ptr) | |
ByteString (wchar_t)=delete | |
ByteString (const char *pStr, size_t len) | |
ByteString (const uint8_t *pStr, size_t len) | |
ByteString (ByteStringView bstrc) | |
ByteString (ByteStringView str1, ByteStringView str2) | |
ByteString (const std::initializer_list< ByteStringView > &list) | |
ByteString (const fxcrt::ostringstream &outStream) | |
~ByteString () | |
void | clear () |
const char * | c_str () const |
const uint8_t * | raw_str () const |
ByteStringView | AsStringView () const |
pdfium::span< const char > | span () const |
pdfium::span< const uint8_t > | raw_span () const |
const_iterator | begin () const |
const_iterator | end () const |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
size_t | GetLength () const |
size_t | GetStringLength () const |
bool | IsEmpty () const |
bool | IsValidIndex (size_t index) const |
bool | IsValidLength (size_t length) const |
int | Compare (ByteStringView str) const |
bool | EqualNoCase (ByteStringView str) const |
bool | operator== (const char *ptr) const |
bool | operator== (ByteStringView str) const |
bool | operator== (const ByteString &other) const |
bool | operator!= (const char *ptr) const |
bool | operator!= (ByteStringView str) const |
bool | operator!= (const ByteString &other) const |
bool | operator< (const char *ptr) const |
bool | operator< (ByteStringView str) const |
bool | operator< (const ByteString &other) const |
ByteString & | operator= (const char *str) |
ByteString & | operator= (ByteStringView str) |
ByteString & | operator= (const ByteString &that) |
ByteString & | operator= (ByteString &&that) noexcept |
ByteString & | operator+= (char ch) |
ByteString & | operator+= (const char *str) |
ByteString & | operator+= (const ByteString &str) |
ByteString & | operator+= (ByteStringView str) |
CharType | operator[] (const size_t index) const |
CharType | Front () const |
CharType | Back () const |
void | SetAt (size_t index, char c) |
size_t | Insert (size_t index, char ch) |
size_t | InsertAtFront (char ch) |
size_t | InsertAtBack (char ch) |
size_t | Delete (size_t index, size_t count=1) |
void | Reserve (size_t len) |
pdfium::span< char > | GetBuffer (size_t nMinBufLength) |
void | ReleaseBuffer (size_t nNewLength) |
ByteString | Substr (size_t offset) const |
ByteString | Substr (size_t first, size_t count) const |
ByteString | First (size_t count) const |
ByteString | Last (size_t count) const |
absl::optional< size_t > | Find (ByteStringView subStr, size_t start=0) const |
absl::optional< size_t > | Find (char ch, size_t start=0) const |
absl::optional< size_t > | ReverseFind (char ch) const |
bool | Contains (ByteStringView lpszSub, size_t start=0) const |
bool | Contains (char ch, size_t start=0) const |
void | MakeLower () |
void | MakeUpper () |
void | Trim () |
void | Trim (char target) |
void | Trim (ByteStringView targets) |
void | TrimLeft () |
void | TrimLeft (char target) |
void | TrimLeft (ByteStringView targets) |
void | TrimRight () |
void | TrimRight (char target) |
void | TrimRight (ByteStringView targets) |
size_t | Replace (ByteStringView pOld, ByteStringView pNew) |
size_t | Remove (char ch) |
uint32_t | GetID () const |
Static Public Member Functions | |
static ByteString | FormatInteger (int i) |
static ByteString | FormatFloat (float f) |
static ByteString | Format (const char *pFormat,...) |
static ByteString | FormatV (const char *pFormat, va_list argList) |
Protected Types | |
using | StringData = StringDataTemplate<char> |
Protected Member Functions | |
void | ReallocBeforeWrite (size_t nNewLen) |
void | AllocBeforeWrite (size_t nNewLen) |
void | AllocCopy (ByteString &dest, size_t nCopyLen, size_t nCopyIndex) const |
void | AssignCopy (const char *pSrcData, size_t nSrcLen) |
void | Concat (const char *pSrcData, size_t nSrcLen) |
intptr_t | ReferenceCountForTesting () const |
Protected Attributes | |
RetainPtr< StringData > | m_pData |
Friends | |
class | ByteString_Assign_Test |
class | ByteString_Concat_Test |
class | ByteString_Construct_Test |
class | StringPool_ByteString_Test |
Definition at line 32 of file bytestring.h.
using fxcrt::ByteString::CharType = char |
Definition at line 34 of file bytestring.h.
using fxcrt::ByteString::const_iterator = const CharType* |
Definition at line 35 of file bytestring.h.
using fxcrt::ByteString::const_reverse_iterator = std::reverse_iterator<const_iterator> |
Definition at line 36 of file bytestring.h.
|
protected |
Definition at line 216 of file bytestring.h.
|
default |
Referenced by CPDF_Annot::AnnotSubtypeToString(), CPDFSDK_InteractiveForm::ExportFieldsToFDFTextBuf(), CPDFSDK_InteractiveForm::ExportFormToFDFTextBuf(), FormatV(), CPDFSDK_FormFillEnvironment::GetAppName(), CFX_Font::GetBaseFontName(), CPDF_Array::GetByteStringAt(), CPDF_Dictionary::GetByteStringFor(), CFX_Font::GetFaceName(), CFPF_SkiaFont::GetFamilyName(), CFX_Font::GetFamilyName(), CPDF_Icon::GetImageAlias(), CPDF_PageLabel::GetLabel(), CFXJSE_FormCalcContext::GetLocalDateFormat(), CFXJSE_FormCalcContext::GetLocalTimeFormat(), CPDF_Dictionary::GetNameFor(), GetNameFromTT(), CPDF_FormControl::GetOnStateName(), CPDF_BAFontMap::GetPDFFontAlias(), CPVT_FontMap::GetPDFFontAlias(), CPWL_EditImpl::GetPDFWordString(), CFX_Font::GetPsName(), CPDF_Object::GetString(), CPDF_Reference::GetString(), CPDF_Action::GetURI(), CFXJSE_FormCalcContext::IsoDate2Local(), CFXJSE_FormCalcContext::IsoTime2Local(), CFXJSE_FormCalcContext::Local2IsoDate(), CPDF_SyntaxParser::ReadHexString(), CPDF_SyntaxParser::ReadString(), CPDFSDK_AppStream::SetAsListBox(), CPDFSDK_AppStream::SetAsPushButton(), Substr(), fxcrt::WideString::ToDefANSI(), and CFDF_Document::WriteToString().
|
default |
Referenced by CPDF_DocPageData::AddStandardFont(), CPDF_Dictionary::GetByteStringFor(), CPDF_SyntaxParser::ReadString(), ReleaseBuffer(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), and fxcrt::TEST().
|
noexcept |
Definition at line 130 of file bytestring.cpp.
|
explicit |
Definition at line 134 of file bytestring.cpp.
Referenced by TEST().
fxcrt::ByteString::ByteString | ( | const char * | ptr | ) |
Definition at line 139 of file bytestring.cpp.
References ByteString().
Referenced by ByteString(), AdobeNameFromUnicode(), FPDFEditEmbedderTest::CheckFontDescriptor(), CPDF_ViewerPreferences::Duplex(), FormatInteger(), FPDF_GetNamedDestByName(), CPDF_GeneralState::GetBlendMode(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), TEST(), TEST(), and TEST_F().
|
delete |
fxcrt::ByteString::ByteString | ( | const char * | pStr, |
size_t | len ) |
Definition at line 115 of file bytestring.cpp.
fxcrt::ByteString::ByteString | ( | const uint8_t * | pStr, |
size_t | len ) |
Definition at line 120 of file bytestring.cpp.
|
explicit |
Definition at line 142 of file bytestring.cpp.
fxcrt::ByteString::ByteString | ( | ByteStringView | str1, |
ByteStringView | str2 ) |
Definition at line 149 of file bytestring.cpp.
fxcrt::ByteString::ByteString | ( | const std::initializer_list< ByteStringView > & | list | ) |
Definition at line 163 of file bytestring.cpp.
|
explicit |
Definition at line 182 of file bytestring.cpp.
|
default |
|
protected |
Definition at line 368 of file bytestring.cpp.
References clear().
|
protected |
Definition at line 514 of file bytestring.cpp.
|
protected |
Definition at line 341 of file bytestring.cpp.
|
inline |
Definition at line 87 of file bytestring.h.
|
inline |
Definition at line 156 of file bytestring.h.
|
inline |
Definition at line 102 of file bytestring.h.
Referenced by CFX_FontMapper::AddInstalledFont(), rend(), and fxcrt::TEST().
|
inline |
Definition at line 76 of file bytestring.h.
Referenced by CJS_PublicMethods::AF_MakeArrayFromList(), CJS_PublicMethods::AFRange_Validate(), DefaultGetFaceName(), CPDFXFA_DocEnvironment::ExportData(), FPDF_GetNamedDest(), FPDF_StructElement_Attr_GetBlobValue(), FPDFAction_GetURIPath(), FPDFFont_GetFontName(), FPDFLink_GetURL(), FPDFPage_Flatten(), FPDFPageObjMark_GetParamBlobValue(), FPDFSignatureObj_GetContents(), FPDFText_GetBoundedText(), FPDFText_GetFontInfo(), FPDFText_GetText(), CPDF_SyntaxParser::GetIndirectObject(), FX_PosixFolder::GetNextFile(), GetPlatformString(), CFX_FontMapper::GetStandardFontName(), NulTerminateMaybeCopyAndReturnLength(), FX_Folder::OpenFolder(), operator<(), fxcrt::operator<<(), PDF_NameEncode(), TestFonts::RenameFont(), CFDETextOutTest::SetUp(), CFXJSE_FormCalcContext::Str(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), TEST(), TEST(), TEST(), TEST_F(), CFXJSE_FormCalcContext::UnitValue(), and Utf16EncodeMaybeCopyAndReturnLength().
void fxcrt::ByteString::clear | ( | ) |
Definition at line 190 of file bytestring.cpp.
Referenced by AllocBeforeWrite(), CPWL_EditImpl::DrawEdit(), operator=(), operator=(), PDF_DataDecode(), ReallocBeforeWrite(), ReleaseBuffer(), and Replace().
int fxcrt::ByteString::Compare | ( | ByteStringView | str | ) | const |
Definition at line 683 of file bytestring.cpp.
Referenced by CFXJSE_FormCalcContext::less_operator(), operator<(), fxcrt::operator<(), fxcrt::operator<(), and CFXJSE_FormCalcContext::Within().
|
protected |
Definition at line 451 of file bytestring.cpp.
|
inline |
Definition at line 187 of file bytestring.h.
|
inline |
Definition at line 191 of file bytestring.h.
size_t fxcrt::ByteString::Delete | ( | size_t | index, |
size_t | count = 1 ) |
Definition at line 430 of file bytestring.cpp.
|
inline |
Definition at line 103 of file bytestring.h.
Referenced by CFX_FontMapper::AddInstalledFont(), rbegin(), and fxcrt::TEST().
bool fxcrt::ByteString::EqualNoCase | ( | ByteStringView | str | ) | const |
Definition at line 317 of file bytestring.cpp.
Referenced by CFXJSE_FormCalcContext::Decode(), CFXJSE_FormCalcContext::Encode(), FPDFDoc_GetPageMode(), and fxcrt::TEST().
absl::optional< size_t > fxcrt::ByteString::Find | ( | ByteStringView | subStr, |
size_t | start = 0 ) const |
Definition at line 559 of file bytestring.cpp.
absl::optional< size_t > fxcrt::ByteString::Find | ( | char | ch, |
size_t | start = 0 ) const |
Definition at line 545 of file bytestring.cpp.
ByteString fxcrt::ByteString::First | ( | size_t | count | ) | const |
Definition at line 505 of file bytestring.cpp.
|
staticnodiscard |
Definition at line 106 of file bytestring.cpp.
References FormatV().
Referenced by CFXJSE_FormCalcContext::Date(), CPDFXFA_DocEnvironment::ExportData(), FPDF_CreateNewDocument(), FPDFAttachment_SetFile(), FPDFPage_Flatten(), CXFA_FontMgr::GetFont(), CFXJSE_FormCalcContext::Local2IsoDate(), CFXJSE_FormCalcContext::Num2AllTime(), CFXJSE_FormCalcContext::Num2Date(), CFXJSE_FormCalcContext::Str(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), and CFXJSE_FormCalcContext::WordNum().
|
staticnodiscard |
Definition at line 74 of file bytestring.cpp.
Referenced by TEST().
|
staticnodiscard |
Definition at line 67 of file bytestring.cpp.
References ByteString().
Referenced by CFXJSE_FormCalcContext::Str(), and fxcrt::TEST().
|
staticnodiscard |
Definition at line 80 of file bytestring.cpp.
References ByteString().
Referenced by Format().
|
inline |
Definition at line 155 of file bytestring.h.
Referenced by CBC_OnedEAN13Writer::Encode().
pdfium::span< char > fxcrt::ByteString::GetBuffer | ( | size_t | nMinBufLength | ) |
Definition at line 405 of file bytestring.cpp.
|
inline |
Definition at line 213 of file bytestring.h.
|
inline |
Definition at line 115 of file bytestring.h.
|
inline |
Definition at line 116 of file bytestring.h.
size_t fxcrt::ByteString::Insert | ( | size_t | index, |
char | ch ) |
Definition at line 531 of file bytestring.cpp.
|
inline |
Definition at line 162 of file bytestring.h.
|
inline |
Definition at line 161 of file bytestring.h.
|
inline |
Definition at line 119 of file bytestring.h.
Referenced by CFXJSE_FormCalcContext::At(), FPDFEditEmbedderTest::CheckFontDescriptor(), CPDF_FormField::CountSelectedItems(), CFX_PSRenderer::DrawDIBits(), CPWL_EditImpl::DrawEdit(), CFXJSE_FormCalcContext::Eval(), CFXJSE_FormCalcContext::eval_translation(), CFX_FontMapper::FindSubstFont(), FPDFDoc_GetPageMode(), FPDFPage_Flatten(), CPDF_GenerateAP::GenerateFormAP(), CFX_Font::GetBaseFontName(), CPDF_FormControl::GetCheckedAPState(), CPDF_FormControl::GetExportValue(), CPDF_SyntaxParser::GetIndirectObject(), GetNameFromTT(), CFX_Font::GetPsName(), CPDF_StructTree::GetRoleMapNameFor(), CPDF_DocPageData::GetStandardFont(), CPDF_Action::GetType(), CFXJSE_FormCalcContext::HasValue(), MakeLower(), MakeUpper(), CPDF_SecurityHandler::OnCreate(), operator==(), CPDF_StreamParser::ReadInlineStream(), Remove(), CFX_FolderFontInfo::ReportFace(), CPDFSDK_InteractiveForm::SubmitFields(), CPDFSDK_InteractiveForm::SubmitForm(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), CFXJSE_FormCalcContext::Time2Num(), CFXJSE_FormCalcContext::UnitType(), and CPDF_Name::WriteTo().
|
inline |
Definition at line 120 of file bytestring.h.
|
inline |
Definition at line 121 of file bytestring.h.
ByteString fxcrt::ByteString::Last | ( | size_t | count | ) | const |
Definition at line 509 of file bytestring.cpp.
void fxcrt::ByteString::MakeLower | ( | ) |
Definition at line 587 of file bytestring.cpp.
References IsEmpty().
Referenced by CFX_Font::IsItalic(), CFX_FolderFontInfo::ScanPath(), fxcrt::TEST(), CFXJSE_FormCalcContext::UnitType(), and CFXJSE_FormCalcContext::UnitValue().
void fxcrt::ByteString::MakeUpper | ( | ) |
Definition at line 595 of file bytestring.cpp.
References IsEmpty().
Referenced by fxcrt::TEST().
|
inline |
Definition at line 131 of file bytestring.h.
|
inline |
Definition at line 132 of file bytestring.h.
References operator==().
Referenced by CFX_FontMapper::FindSubstFont(), and fxcrt::TEST().
|
inline |
Definition at line 130 of file bytestring.h.
References operator==().
Referenced by CheckForUnsupportedAnnot(), CPDF_DIB::ContinueLoadDIBBase(), CFX_Font::GetBaseFontName(), CPDF_SyntaxParser::GetIndirectObject(), fxcrt::operator!=(), CFX_FolderFontInfo::ReportFace(), CFX_FolderFontInfo::ScanPath(), and fxcrt::TEST().
ByteString & fxcrt::ByteString::operator+= | ( | ByteStringView | str | ) |
Definition at line 249 of file bytestring.cpp.
ByteString & fxcrt::ByteString::operator+= | ( | char | ch | ) |
Definition at line 237 of file bytestring.cpp.
Referenced by CBC_OnedCode39Writer::Encode(), CBC_OnedCode39Writer::encodedContents(), PDF_EncodeString(), PDF_HexEncodeString(), CBC_EANCode::Preprocess(), CPDF_SyntaxParser::ReadHexString(), CPDF_SyntaxParser::ReadString(), and CFXJSE_FormCalcContext::Str().
ByteString & fxcrt::ByteString::operator+= | ( | const ByteString & | str | ) |
Definition at line 242 of file bytestring.cpp.
Referenced by CPWL_EditImpl::DrawEdit(), FPDFPage_Flatten(), CFX_Font::GetBaseFontName(), CFX_Font::GetFaceName(), CFX_FolderFontInfo::ReportFace(), CFX_FolderFontInfo::ScanPath(), CPDFSDK_AppStream::SetAsCheckBox(), CPDFSDK_AppStream::SetAsRadioButton(), and CFXJSE_FormCalcContext::Str().
ByteString & fxcrt::ByteString::operator+= | ( | const char * | str | ) |
Definition at line 230 of file bytestring.cpp.
Referenced by CWin32Platform::CreateDefaultSystemFontInfo(), CGdiplusExt::Load(), PDF_EncodeString(), CFX_FolderFontInfo::ScanPath(), CFXJSE_FormCalcContext::Str(), fxcrt::TEST(), fxcrt::TEST(), and fxcrt::TEST().
bool fxcrt::ByteString::operator< | ( | ByteStringView | str | ) | const |
Definition at line 303 of file bytestring.cpp.
References Compare().
bool fxcrt::ByteString::operator< | ( | const ByteString & | other | ) | const |
Definition at line 307 of file bytestring.cpp.
Referenced by fxcrt::TEST().
bool fxcrt::ByteString::operator< | ( | const char * | ptr | ) | const |
Definition at line 291 of file bytestring.cpp.
References c_str().
Referenced by fxcrt::TEST().
|
noexcept |
Definition at line 223 of file bytestring.cpp.
Referenced by CPDF_FormControl::CheckControl(), CPDF_FormField::CheckControl(), CPDFXFA_DocEnvironment::ExportData(), CFX_FontMapper::FindSubstFont(), FPDF_CreateNewDocument(), FPDFAttachment_SetStringValue(), FPDFPage_Flatten(), CFX_AndroidFontInfo::GetFaceName(), CFX_ExternalFontInfo::GetFaceName(), CPDF_DefaultAppearance::GetFont(), CPDF_SyntaxParser::GetNextWord(), CPDFSDK_AppStream::SetAsRadioButton(), CPDFSDK_InteractiveForm::SubmitFields(), and fxcrt::TEST().
ByteString & fxcrt::ByteString::operator= | ( | ByteStringView | str | ) |
Definition at line 207 of file bytestring.cpp.
References clear().
ByteString & fxcrt::ByteString::operator= | ( | const ByteString & | that | ) |
Definition at line 216 of file bytestring.cpp.
Referenced by CFX_FontMapper::FindSubstFont(), fxcrt::TEST(), fxcrt::TEST(), and CFXJSE_FormCalcContext::UnitValue().
ByteString & fxcrt::ByteString::operator= | ( | const char * | str | ) |
Definition at line 198 of file bytestring.cpp.
References clear().
Referenced by CFX_PSRenderer::DrawDIBits(), CFX_FontMapper::FindSubstFont(), CPDF_FormControl::GetCheckedAPState(), CPDF_FormControl::GetExportValue(), FX_PosixFolder::GetNextFile(), CFX_Font::GetPsName(), CPDF_SimpleFont::LoadPDFEncoding(), PDF_DataDecode(), fxcrt::TEST(), and fxcrt::TEST().
bool fxcrt::ByteString::operator== | ( | ByteStringView | str | ) | const |
Definition at line 267 of file bytestring.cpp.
bool fxcrt::ByteString::operator== | ( | const ByteString & | other | ) | const |
Definition at line 276 of file bytestring.cpp.
References IsEmpty().
Referenced by CPDF_FormControl::CheckControl(), CPDF_FormField::CheckControl(), CPDF_Font::Create(), PDFObjectsTest::Equal(), CPDF_FormControl::IsChecked(), CPDF_FormControl::IsDefaultChecked(), operator!=(), and fxcrt::TEST().
bool fxcrt::ByteString::operator== | ( | const char * | ptr | ) | const |
Definition at line 256 of file bytestring.cpp.
Referenced by CPDF_AnnotList::CPDF_AnnotList(), CheckForUnsupportedAnnot(), CPDF_OCContext::CheckOCGDictVisible(), CPDF_OCContext::CheckPageObjectVisible(), CPDF_DIB::ContinueLoadDIBBase(), CPDF_Font::Create(), CFX_FontMapper::FindSubstFont(), FPDFAttachment_GetStringValue(), FPDFAttachment_SetStringValue(), CPDFSDK_BAAnnot::GetBorderStyle(), CPDF_FileSpec::GetFileName(), CPDF_IconFit::GetScaleMethod(), CPDF_ColorSpace::GetStockCSForName(), CPDF_Dest::GetZoomMode(), CPDF_CIDFont::Load(), LoadCryptInfo(), CPDF_SimpleFont::LoadPDFEncoding(), operator!=(), fxcrt::operator==(), PDF_DataDecode(), CPDF_Parser::RebuildCrossRef(), ReportUnsupportedFeatures(), CFX_FolderFontInfo::ScanPath(), CPDF_Boolean::SetString(), CPDF_Annot::StringToAnnotSubtype(), fxcrt::TEST(), and CFXJSE_FormCalcContext::UnitValue().
|
inline |
Definition at line 150 of file bytestring.h.
Referenced by CPDF_Annot::DrawBorder(), CBC_OnedCode39Writer::Encode(), CBC_OnedEAN13Writer::Encode(), CBC_OnedEAN8Writer::Encode(), and fxcrt::TEST().
|
inline |
Definition at line 97 of file bytestring.h.
|
inline |
Definition at line 80 of file bytestring.h.
Referenced by CFX_FolderFontInfo::ReportFace(), and fxcrt::TEST().
|
inline |
Definition at line 108 of file bytestring.h.
References end().
|
protected |
Definition at line 347 of file bytestring.cpp.
References clear().
|
protected |
Definition at line 475 of file bytestring.cpp.
Referenced by fxcrt::TEST(), and fxcrt::TEST().
void fxcrt::ByteString::ReleaseBuffer | ( | size_t | nNewLength | ) |
Definition at line 380 of file bytestring.cpp.
References ByteString(), and clear().
size_t fxcrt::ByteString::Remove | ( | char | ch | ) |
Definition at line 603 of file bytestring.cpp.
References IsEmpty().
|
inline |
Definition at line 111 of file bytestring.h.
References begin().
size_t fxcrt::ByteString::Replace | ( | ByteStringView | pOld, |
ByteStringView | pNew ) |
Definition at line 637 of file bytestring.cpp.
References clear(), and FXSYS_memcpy().
void fxcrt::ByteString::Reserve | ( | size_t | len | ) |
Definition at line 401 of file bytestring.cpp.
absl::optional< size_t > fxcrt::ByteString::ReverseFind | ( | char | ch | ) | const |
Definition at line 575 of file bytestring.cpp.
void fxcrt::ByteString::SetAt | ( | size_t | index, |
char | c ) |
Definition at line 525 of file bytestring.cpp.
|
inline |
Definition at line 93 of file bytestring.h.
ByteString fxcrt::ByteString::Substr | ( | size_t | first, |
size_t | count ) const |
Definition at line 484 of file bytestring.cpp.
References ByteString().
ByteString fxcrt::ByteString::Substr | ( | size_t | offset | ) | const |
Definition at line 479 of file bytestring.cpp.
void fxcrt::ByteString::Trim | ( | ) |
Definition at line 699 of file bytestring.cpp.
Referenced by fxcrt::TEST().
void fxcrt::ByteString::Trim | ( | ByteStringView | targets | ) |
Definition at line 710 of file bytestring.cpp.
void fxcrt::ByteString::Trim | ( | char | target | ) |
Definition at line 704 of file bytestring.cpp.
Referenced by fxcrt::TEST().
void fxcrt::ByteString::TrimLeft | ( | ) |
Definition at line 715 of file bytestring.cpp.
Referenced by CFXJSE_FormCalcContext::HasValue(), CFXJSE_FormCalcContext::Ltrim(), fxcrt::TEST(), and fxcrt::TEST().
void fxcrt::ByteString::TrimLeft | ( | ByteStringView | targets | ) |
Definition at line 723 of file bytestring.cpp.
Referenced by TrimLeft().
void fxcrt::ByteString::TrimLeft | ( | char | target | ) |
Definition at line 719 of file bytestring.cpp.
References TrimLeft().
Referenced by fxcrt::TEST().
void fxcrt::ByteString::TrimRight | ( | ) |
Definition at line 749 of file bytestring.cpp.
Referenced by CFXJSE_FormCalcContext::Rtrim(), fxcrt::TEST(), and fxcrt::TEST().
void fxcrt::ByteString::TrimRight | ( | ByteStringView | targets | ) |
Definition at line 757 of file bytestring.cpp.
Referenced by TrimRight().
void fxcrt::ByteString::TrimRight | ( | char | target | ) |
Definition at line 753 of file bytestring.cpp.
References TrimRight().
Referenced by fxcrt::TEST().
|
friend |
Definition at line 227 of file bytestring.h.
|
friend |
Definition at line 228 of file bytestring.h.
|
friend |
Definition at line 229 of file bytestring.h.
|
friend |
Definition at line 230 of file bytestring.h.
|
protected |
Definition at line 225 of file bytestring.h.