Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <string_data_template.h>
Public Member Functions | |
void | Retain () |
void | Release () |
bool | CanOperateInPlace (size_t nTotalLen) const |
void | CopyContents (const StringDataTemplate &other) |
void | CopyContents (const CharType *pStr, size_t nLen) |
void | CopyContentsAt (size_t offset, const CharType *pStr, size_t nLen) |
Static Public Member Functions | |
static StringDataTemplate * | Create (size_t nLen) |
static StringDataTemplate * | Create (const CharType *pStr, size_t nLen) |
Public Attributes | |
intptr_t | m_nRefs = 0 |
size_t | m_nDataLength |
const size_t | m_nAllocLength |
CharType | m_String [1] |
Definition at line 16 of file string_data_template.h.
|
inline |
Definition at line 24 of file string_data_template.h.
void fxcrt::StringDataTemplate< CharType >::CopyContents | ( | const CharType * | pStr, |
size_t | nLen ) |
Definition at line 73 of file string_data_template.cpp.
References fxcrt::StringDataTemplate< CharType >::m_String.
void fxcrt::StringDataTemplate< CharType >::CopyContents | ( | const StringDataTemplate< CharType > & | other | ) |
Definition at line 65 of file string_data_template.cpp.
References fxcrt::StringDataTemplate< CharType >::m_String.
void fxcrt::StringDataTemplate< CharType >::CopyContentsAt | ( | size_t | offset, |
const CharType * | pStr, | ||
size_t | nLen ) |
Definition at line 82 of file string_data_template.cpp.
References fxcrt::StringDataTemplate< CharType >::m_String.
|
static |
Definition at line 50 of file string_data_template.cpp.
|
static |
Definition at line 23 of file string_data_template.cpp.
void fxcrt::StringDataTemplate< CharType >::Release | ( | ) |
Definition at line 59 of file string_data_template.cpp.
References fxcrt::StringDataTemplate< CharType >::m_nRefs, and pdfium::internal::StringDealloc().
|
inline |
Definition at line 21 of file string_data_template.h.
References fxcrt::StringDataTemplate< CharType >::m_nRefs.
const size_t fxcrt::StringDataTemplate< CharType >::m_nAllocLength |
Definition at line 43 of file string_data_template.h.
size_t fxcrt::StringDataTemplate< CharType >::m_nDataLength |
Definition at line 42 of file string_data_template.h.
intptr_t fxcrt::StringDataTemplate< CharType >::m_nRefs = 0 |
Definition at line 37 of file string_data_template.h.
Referenced by fxcrt::StringDataTemplate< CharType >::Release(), and fxcrt::StringDataTemplate< CharType >::Retain().
CharType fxcrt::StringDataTemplate< CharType >::m_String[1] |
Definition at line 46 of file string_data_template.h.
Referenced by fxcrt::StringDataTemplate< CharType >::CopyContents(), fxcrt::StringDataTemplate< CharType >::CopyContents(), and fxcrt::StringDataTemplate< CharType >::CopyContentsAt().