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::WideTextBuffer Class Referencefinal

#include <widetext_buffer.h>

+ Inheritance diagram for fxcrt::WideTextBuffer:
+ Collaboration diagram for fxcrt::WideTextBuffer:

Public Member Functions

size_t GetLength () const override
 
pdfium::span< wchar_t > GetWideSpan ()
 
pdfium::span< const wchar_t > GetWideSpan () const
 
WideStringView AsStringView () const
 
WideString MakeString () const
 
void AppendChar (wchar_t wch)
 
void Delete (size_t start_index, size_t count)
 
WideTextBufferoperator<< (ByteStringView ascii)
 
WideTextBufferoperator<< (const wchar_t *lpsz)
 
WideTextBufferoperator<< (WideStringView str)
 
WideTextBufferoperator<< (const WideString &str)
 
WideTextBufferoperator<< (const WideTextBuffer &buf)
 
- Public Member Functions inherited from fxcrt::BinaryBuffer
 BinaryBuffer ()
 
 BinaryBuffer (BinaryBuffer &&that) noexcept
 
 BinaryBuffer (const BinaryBuffer &that)=delete
 
virtual ~BinaryBuffer ()
 
BinaryBufferoperator= (BinaryBuffer &&that) noexcept
 
BinaryBufferoperator= (const BinaryBuffer &that)=delete
 
pdfium::span< uint8_t > GetMutableSpan ()
 
pdfium::span< const uint8_t > GetSpan () const
 
bool IsEmpty () const
 
size_t GetSize () const
 
void Clear ()
 
void SetAllocStep (size_t step)
 
void EstimateSize (size_t size)
 
void AppendSpan (pdfium::span< const uint8_t > span)
 
void AppendString (const ByteString &str)
 
void AppendUint8 (uint8_t value)
 
void AppendUint16 (uint16_t value)
 
void AppendUint32 (uint32_t value)
 
void AppendDouble (double value)
 
DataVector< uint8_t > DetachBuffer ()
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::BinaryBuffer
void ExpandBuf (size_t size)
 
void DeleteBuf (size_t start_index, size_t count)
 
- Protected Attributes inherited from fxcrt::BinaryBuffer
size_t m_AllocStep = 0
 
size_t m_DataSize = 0
 
DataVector< uint8_t > m_buffer
 

Detailed Description

Definition at line 18 of file widetext_buffer.h.

Member Function Documentation

◆ AppendChar()

void fxcrt::WideTextBuffer::AppendChar ( wchar_t wch)

Definition at line 36 of file widetext_buffer.cpp.

Referenced by CXFA_FMStringExpression::ToJavaScript().

+ Here is the caller graph for this function:

◆ AsStringView()

WideStringView fxcrt::WideTextBuffer::AsStringView ( ) const

Definition at line 28 of file widetext_buffer.cpp.

References GetWideSpan().

Referenced by CFXJSE_FormCalcContext::Lower(), fxcrt::TEST(), fxcrt::TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), CXFA_FMAssignExpression::ToJavaScript(), and CXFA_FMCallExpression::ToJavaScript().

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

◆ Delete()

void fxcrt::WideTextBuffer::Delete ( size_t start_index,
size_t count )

Definition at line 41 of file widetext_buffer.cpp.

◆ GetLength()

size_t fxcrt::WideTextBuffer::GetLength ( ) const
overridevirtual

Reimplemented from fxcrt::BinaryBuffer.

Definition at line 14 of file widetext_buffer.cpp.

◆ GetWideSpan() [1/2]

pdfium::span< wchar_t > fxcrt::WideTextBuffer::GetWideSpan ( )

Definition at line 18 of file widetext_buffer.cpp.

Referenced by fxcrt::TEST().

+ Here is the caller graph for this function:

◆ GetWideSpan() [2/2]

pdfium::span< const wchar_t > fxcrt::WideTextBuffer::GetWideSpan ( ) const

Definition at line 23 of file widetext_buffer.cpp.

Referenced by AsStringView().

+ Here is the caller graph for this function:

◆ MakeString()

WideString fxcrt::WideTextBuffer::MakeString ( ) const

Definition at line 32 of file widetext_buffer.cpp.

Referenced by CXFA_FMCallExpression::IsBuiltInFunc(), fxcrt::TEST(), fxcrt::TEST(), fxcrt::TEST(), TEST_F(), and CXFA_FMCallExpression::ToJavaScript().

+ Here is the caller graph for this function:

◆ operator<<() [1/5]

WideTextBuffer & fxcrt::WideTextBuffer::operator<< ( ByteStringView ascii)

Definition at line 49 of file widetext_buffer.cpp.

◆ operator<<() [2/5]

WideTextBuffer & fxcrt::WideTextBuffer::operator<< ( const wchar_t * lpsz)

Definition at line 66 of file widetext_buffer.cpp.

◆ operator<<() [3/5]

WideTextBuffer & fxcrt::WideTextBuffer::operator<< ( const WideString & str)

Definition at line 61 of file widetext_buffer.cpp.

◆ operator<<() [4/5]

WideTextBuffer & fxcrt::WideTextBuffer::operator<< ( const WideTextBuffer & buf)

Definition at line 71 of file widetext_buffer.cpp.

◆ operator<<() [5/5]

WideTextBuffer & fxcrt::WideTextBuffer::operator<< ( WideStringView str)

Definition at line 56 of file widetext_buffer.cpp.


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