Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fxcrt::ByteString Class Reference

#include <bytestring.h>

+ Collaboration diagram for fxcrt::ByteString:

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
 
ByteStringoperator= (const char *str)
 
ByteStringoperator= (ByteStringView str)
 
ByteStringoperator= (const ByteString &that)
 
ByteStringoperator= (ByteString &&that) noexcept
 
ByteStringoperator+= (char ch)
 
ByteStringoperator+= (const char *str)
 
ByteStringoperator+= (const ByteString &str)
 
ByteStringoperator+= (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< StringDatam_pData
 

Friends

class ByteString_Assign_Test
 
class ByteString_Concat_Test
 
class ByteString_Construct_Test
 
class StringPool_ByteString_Test
 

Detailed Description

Definition at line 32 of file bytestring.h.

Member Typedef Documentation

◆ CharType

Definition at line 34 of file bytestring.h.

◆ const_iterator

Definition at line 35 of file bytestring.h.

◆ const_reverse_iterator

Definition at line 36 of file bytestring.h.

◆ StringData

Definition at line 216 of file bytestring.h.

Constructor & Destructor Documentation

◆ ByteString() [1/12]

◆ ByteString() [2/12]

fxcrt::ByteString::ByteString ( const ByteString & other)
default

Referenced by CPDF_DocPageData::AddStandardFont(), CPDF_Dictionary::GetByteStringFor(), CPDF_SyntaxParser::ReadString(), ReleaseBuffer(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), and fxcrt::TEST().

+ Here is the caller graph for this function:

◆ ByteString() [3/12]

fxcrt::ByteString::ByteString ( ByteString && other)
noexcept

Definition at line 130 of file bytestring.cpp.

◆ ByteString() [4/12]

fxcrt::ByteString::ByteString ( char ch)
explicit

Definition at line 134 of file bytestring.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ ByteString() [5/12]

fxcrt::ByteString::ByteString ( const char * ptr)

◆ ByteString() [6/12]

fxcrt::ByteString::ByteString ( wchar_t )
delete

◆ ByteString() [7/12]

fxcrt::ByteString::ByteString ( const char * pStr,
size_t len )

Definition at line 115 of file bytestring.cpp.

◆ ByteString() [8/12]

fxcrt::ByteString::ByteString ( const uint8_t * pStr,
size_t len )

Definition at line 120 of file bytestring.cpp.

◆ ByteString() [9/12]

fxcrt::ByteString::ByteString ( ByteStringView bstrc)
explicit

Definition at line 142 of file bytestring.cpp.

◆ ByteString() [10/12]

fxcrt::ByteString::ByteString ( ByteStringView str1,
ByteStringView str2 )

Definition at line 149 of file bytestring.cpp.

◆ ByteString() [11/12]

fxcrt::ByteString::ByteString ( const std::initializer_list< ByteStringView > & list)

Definition at line 163 of file bytestring.cpp.

◆ ByteString() [12/12]

fxcrt::ByteString::ByteString ( const fxcrt::ostringstream & outStream)
explicit

Definition at line 182 of file bytestring.cpp.

◆ ~ByteString()

fxcrt::ByteString::~ByteString ( )
default

Member Function Documentation

◆ AllocBeforeWrite()

void fxcrt::ByteString::AllocBeforeWrite ( size_t nNewLen)
protected

Definition at line 368 of file bytestring.cpp.

References clear().

+ Here is the call graph for this function:

◆ AllocCopy()

void fxcrt::ByteString::AllocCopy ( ByteString & dest,
size_t nCopyLen,
size_t nCopyIndex ) const
protected

Definition at line 514 of file bytestring.cpp.

◆ AssignCopy()

void fxcrt::ByteString::AssignCopy ( const char * pSrcData,
size_t nSrcLen )
protected

Definition at line 341 of file bytestring.cpp.

◆ AsStringView()

ByteStringView fxcrt::ByteString::AsStringView ( ) const
inline

Definition at line 87 of file bytestring.h.

◆ Back()

CharType fxcrt::ByteString::Back ( ) const
inline

Definition at line 156 of file bytestring.h.

◆ begin()

const_iterator fxcrt::ByteString::begin ( ) const
inline

Definition at line 102 of file bytestring.h.

Referenced by CFX_FontMapper::AddInstalledFont(), rend(), and fxcrt::TEST().

+ Here is the caller graph for this function:

◆ c_str()

◆ clear()

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().

+ Here is the caller graph for this function:

◆ Compare()

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().

+ Here is the caller graph for this function:

◆ Concat()

void fxcrt::ByteString::Concat ( const char * pSrcData,
size_t nSrcLen )
protected

Definition at line 451 of file bytestring.cpp.

◆ Contains() [1/2]

bool fxcrt::ByteString::Contains ( ByteStringView lpszSub,
size_t start = 0 ) const
inline

Definition at line 187 of file bytestring.h.

◆ Contains() [2/2]

bool fxcrt::ByteString::Contains ( char ch,
size_t start = 0 ) const
inline

Definition at line 191 of file bytestring.h.

◆ Delete()

size_t fxcrt::ByteString::Delete ( size_t index,
size_t count = 1 )

Definition at line 430 of file bytestring.cpp.

◆ end()

const_iterator fxcrt::ByteString::end ( ) const
inline

Definition at line 103 of file bytestring.h.

Referenced by CFX_FontMapper::AddInstalledFont(), rbegin(), and fxcrt::TEST().

+ Here is the caller graph for this function:

◆ EqualNoCase()

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().

+ Here is the caller graph for this function:

◆ Find() [1/2]

absl::optional< size_t > fxcrt::ByteString::Find ( ByteStringView subStr,
size_t start = 0 ) const

Definition at line 559 of file bytestring.cpp.

◆ Find() [2/2]

absl::optional< size_t > fxcrt::ByteString::Find ( char ch,
size_t start = 0 ) const

Definition at line 545 of file bytestring.cpp.

◆ First()

ByteString fxcrt::ByteString::First ( size_t count) const

Definition at line 505 of file bytestring.cpp.

◆ Format()

ByteString fxcrt::ByteString::Format ( const char * pFormat,
... )
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FormatFloat()

ByteString fxcrt::ByteString::FormatFloat ( float f)
staticnodiscard

Definition at line 74 of file bytestring.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ FormatInteger()

ByteString fxcrt::ByteString::FormatInteger ( int i)
staticnodiscard

Definition at line 67 of file bytestring.cpp.

References ByteString().

Referenced by CFXJSE_FormCalcContext::Str(), and fxcrt::TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FormatV()

ByteString fxcrt::ByteString::FormatV ( const char * pFormat,
va_list argList )
staticnodiscard

Definition at line 80 of file bytestring.cpp.

References ByteString().

Referenced by Format().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Front()

CharType fxcrt::ByteString::Front ( ) const
inline

Definition at line 155 of file bytestring.h.

Referenced by CBC_OnedEAN13Writer::Encode().

+ Here is the caller graph for this function:

◆ GetBuffer()

pdfium::span< char > fxcrt::ByteString::GetBuffer ( size_t nMinBufLength)

Definition at line 405 of file bytestring.cpp.

◆ GetID()

uint32_t fxcrt::ByteString::GetID ( ) const
inline

Definition at line 213 of file bytestring.h.

◆ GetLength()

size_t fxcrt::ByteString::GetLength ( ) const
inline

Definition at line 115 of file bytestring.h.

◆ GetStringLength()

size_t fxcrt::ByteString::GetStringLength ( ) const
inline

Definition at line 116 of file bytestring.h.

◆ Insert()

size_t fxcrt::ByteString::Insert ( size_t index,
char ch )

Definition at line 531 of file bytestring.cpp.

◆ InsertAtBack()

size_t fxcrt::ByteString::InsertAtBack ( char ch)
inline

Definition at line 162 of file bytestring.h.

◆ InsertAtFront()

size_t fxcrt::ByteString::InsertAtFront ( char ch)
inline

Definition at line 161 of file bytestring.h.

◆ IsEmpty()

◆ IsValidIndex()

bool fxcrt::ByteString::IsValidIndex ( size_t index) const
inline

Definition at line 120 of file bytestring.h.

◆ IsValidLength()

bool fxcrt::ByteString::IsValidLength ( size_t length) const
inline

Definition at line 121 of file bytestring.h.

◆ Last()

ByteString fxcrt::ByteString::Last ( size_t count) const

Definition at line 509 of file bytestring.cpp.

◆ MakeLower()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MakeUpper()

void fxcrt::ByteString::MakeUpper ( )

Definition at line 595 of file bytestring.cpp.

References IsEmpty().

Referenced by fxcrt::TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator!=() [1/3]

bool fxcrt::ByteString::operator!= ( ByteStringView str) const
inline

Definition at line 131 of file bytestring.h.

◆ operator!=() [2/3]

bool fxcrt::ByteString::operator!= ( const ByteString & other) const
inline

Definition at line 132 of file bytestring.h.

References operator==().

Referenced by CFX_FontMapper::FindSubstFont(), and fxcrt::TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator!=() [3/3]

bool fxcrt::ByteString::operator!= ( const char * ptr) const
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator+=() [1/4]

ByteString & fxcrt::ByteString::operator+= ( ByteStringView str)

Definition at line 249 of file bytestring.cpp.

◆ operator+=() [2/4]

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().

+ Here is the caller graph for this function:

◆ operator+=() [3/4]

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().

+ Here is the caller graph for this function:

◆ operator+=() [4/4]

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().

+ Here is the caller graph for this function:

◆ operator<() [1/3]

bool fxcrt::ByteString::operator< ( ByteStringView str) const

Definition at line 303 of file bytestring.cpp.

References Compare().

+ Here is the call graph for this function:

◆ operator<() [2/3]

bool fxcrt::ByteString::operator< ( const ByteString & other) const

Definition at line 307 of file bytestring.cpp.

Referenced by fxcrt::TEST().

+ Here is the caller graph for this function:

◆ operator<() [3/3]

bool fxcrt::ByteString::operator< ( const char * ptr) const

Definition at line 291 of file bytestring.cpp.

References c_str().

Referenced by fxcrt::TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/4]

◆ operator=() [2/4]

ByteString & fxcrt::ByteString::operator= ( ByteStringView str)

Definition at line 207 of file bytestring.cpp.

References clear().

+ Here is the call graph for this function:

◆ operator=() [3/4]

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().

+ Here is the caller graph for this function:

◆ operator=() [4/4]

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==() [1/3]

bool fxcrt::ByteString::operator== ( ByteStringView str) const

Definition at line 267 of file bytestring.cpp.

◆ operator==() [2/3]

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==() [3/3]

◆ operator[]()

CharType fxcrt::ByteString::operator[] ( const size_t index) const
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().

+ Here is the caller graph for this function:

◆ raw_span()

pdfium::span< const uint8_t > fxcrt::ByteString::raw_span ( ) const
inline

Definition at line 97 of file bytestring.h.

◆ raw_str()

const uint8_t * fxcrt::ByteString::raw_str ( ) const
inline

Definition at line 80 of file bytestring.h.

Referenced by CFX_FolderFontInfo::ReportFace(), and fxcrt::TEST().

+ Here is the caller graph for this function:

◆ rbegin()

const_reverse_iterator fxcrt::ByteString::rbegin ( ) const
inline

Definition at line 108 of file bytestring.h.

References end().

+ Here is the call graph for this function:

◆ ReallocBeforeWrite()

void fxcrt::ByteString::ReallocBeforeWrite ( size_t nNewLen)
protected

Definition at line 347 of file bytestring.cpp.

References clear().

+ Here is the call graph for this function:

◆ ReferenceCountForTesting()

intptr_t fxcrt::ByteString::ReferenceCountForTesting ( ) const
protected

Definition at line 475 of file bytestring.cpp.

Referenced by fxcrt::TEST(), and fxcrt::TEST().

+ Here is the caller graph for this function:

◆ ReleaseBuffer()

void fxcrt::ByteString::ReleaseBuffer ( size_t nNewLength)

Definition at line 380 of file bytestring.cpp.

References ByteString(), and clear().

+ Here is the call graph for this function:

◆ Remove()

size_t fxcrt::ByteString::Remove ( char ch)

Definition at line 603 of file bytestring.cpp.

References IsEmpty().

+ Here is the call graph for this function:

◆ rend()

const_reverse_iterator fxcrt::ByteString::rend ( ) const
inline

Definition at line 111 of file bytestring.h.

References begin().

+ Here is the call graph for this function:

◆ Replace()

size_t fxcrt::ByteString::Replace ( ByteStringView pOld,
ByteStringView pNew )

Definition at line 637 of file bytestring.cpp.

References clear(), and FXSYS_memcpy().

+ Here is the call graph for this function:

◆ Reserve()

void fxcrt::ByteString::Reserve ( size_t len)

Definition at line 401 of file bytestring.cpp.

◆ ReverseFind()

absl::optional< size_t > fxcrt::ByteString::ReverseFind ( char ch) const

Definition at line 575 of file bytestring.cpp.

◆ SetAt()

void fxcrt::ByteString::SetAt ( size_t index,
char c )

Definition at line 525 of file bytestring.cpp.

◆ span()

pdfium::span< const char > fxcrt::ByteString::span ( ) const
inline

Definition at line 93 of file bytestring.h.

◆ Substr() [1/2]

ByteString fxcrt::ByteString::Substr ( size_t first,
size_t count ) const

Definition at line 484 of file bytestring.cpp.

References ByteString().

+ Here is the call graph for this function:

◆ Substr() [2/2]

ByteString fxcrt::ByteString::Substr ( size_t offset) const

Definition at line 479 of file bytestring.cpp.

◆ Trim() [1/3]

void fxcrt::ByteString::Trim ( )

Definition at line 699 of file bytestring.cpp.

Referenced by fxcrt::TEST().

+ Here is the caller graph for this function:

◆ Trim() [2/3]

void fxcrt::ByteString::Trim ( ByteStringView targets)

Definition at line 710 of file bytestring.cpp.

◆ Trim() [3/3]

void fxcrt::ByteString::Trim ( char target)

Definition at line 704 of file bytestring.cpp.

Referenced by fxcrt::TEST().

+ Here is the caller graph for this function:

◆ TrimLeft() [1/3]

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().

+ Here is the caller graph for this function:

◆ TrimLeft() [2/3]

void fxcrt::ByteString::TrimLeft ( ByteStringView targets)

Definition at line 723 of file bytestring.cpp.

Referenced by TrimLeft().

+ Here is the caller graph for this function:

◆ TrimLeft() [3/3]

void fxcrt::ByteString::TrimLeft ( char target)

Definition at line 719 of file bytestring.cpp.

References TrimLeft().

Referenced by fxcrt::TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TrimRight() [1/3]

void fxcrt::ByteString::TrimRight ( )

Definition at line 749 of file bytestring.cpp.

Referenced by CFXJSE_FormCalcContext::Rtrim(), fxcrt::TEST(), and fxcrt::TEST().

+ Here is the caller graph for this function:

◆ TrimRight() [2/3]

void fxcrt::ByteString::TrimRight ( ByteStringView targets)

Definition at line 757 of file bytestring.cpp.

Referenced by TrimRight().

+ Here is the caller graph for this function:

◆ TrimRight() [3/3]

void fxcrt::ByteString::TrimRight ( char target)

Definition at line 753 of file bytestring.cpp.

References TrimRight().

Referenced by fxcrt::TEST().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ByteString_Assign_Test

friend class ByteString_Assign_Test
friend

Definition at line 227 of file bytestring.h.

◆ ByteString_Concat_Test

friend class ByteString_Concat_Test
friend

Definition at line 228 of file bytestring.h.

◆ ByteString_Construct_Test

friend class ByteString_Construct_Test
friend

Definition at line 229 of file bytestring.h.

◆ StringPool_ByteString_Test

friend class StringPool_ByteString_Test
friend

Definition at line 230 of file bytestring.h.

Member Data Documentation

◆ m_pData

RetainPtr<StringData> fxcrt::ByteString::m_pData
protected

Definition at line 225 of file bytestring.h.


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