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
QV4::Heap::String Struct Reference

#include <qv4string_p.h>

Inheritance diagram for QV4::Heap::String:
Collaboration diagram for QV4::Heap::String:

Public Member Functions

const VTablevtable () const
void init (const QString &text)
void simplifyString () const
int length () const
std::size_t retainedTextSize () const
QString toQString () const
bool isEqualTo (const String *other) const
bool startsWithUpper () const
Public Member Functions inherited from QV4::Heap::StringOrSymbol
void init ()
void init (QStringPrivate text)
void destroy ()
QStringPrivatetext () const
QString toQString () const
void createHashValue () const
unsigned hashValue () const
Public Member Functions inherited from QV4::Heap::Base
voidoperator new (size_t)=delete
ReturnedValue asReturnedValue () const
void mark (QV4::MarkStack *markStack)
bool isMarked () const
void setMarkBit ()
bool inUse () const
voidoperator new (size_t, Managed *m)
voidoperator new (size_t, Base *m)
void operator delete (void *, Base *)
void init ()
void destroy ()
Q_ALWAYS_INLINE void _checkIsInitialized ()
Q_ALWAYS_INLINE void _checkIsDestroyed ()
Q_ALWAYS_INLINE void _setInitialized ()
Q_ALWAYS_INLINE void _setDestroyed ()

Static Public Member Functions

static void markObjects (Heap::Base *that, MarkStack *markStack)
Static Public Member Functions inherited from QV4::Heap::StringOrSymbol
static void markObjects (Heap::Base *that, MarkStack *markStack)
Static Public Member Functions inherited from QV4::Heap::Base
static void markObjects (Base *, MarkStack *)

Additional Inherited Members

Public Types inherited from QV4::Heap::StringOrSymbol
enum  StringType {
  StringType_Symbol , StringType_Regular , StringType_ArrayIndex , StringType_Unknown ,
  StringType_AddedString , StringType_SubString , StringType_Complex = StringType_AddedString
}
Public Attributes inherited from QV4::Heap::StringOrSymbol
struct { 
   unsigned char   data [sizeof(QStringPrivate)] 
textStorage
PropertyKey identifier
uint subtype
uint stringHash
Public Attributes inherited from QV4::Heap::Base
Pointer< InternalClass *, 0 > internalClass

Detailed Description

Definition at line 80 of file qv4string_p.h.

Member Function Documentation

◆ init()

void Heap::String::init ( const QString & text)

Definition at line 56 of file qv4string.cpp.

◆ isEqualTo()

bool QV4::Heap::String::isEqualTo ( const String * other) const
inline

Definition at line 98 of file qv4string_p.h.

◆ length()

int QV4::Heap::String::length ( ) const
inline

Definition at line 133 of file qv4string_p.h.

◆ markObjects()

void Heap::String::markObjects ( Heap::Base * that,
MarkStack * markStack )
static

Definition at line 23 of file qv4string.cpp.

◆ retainedTextSize()

std::size_t QV4::Heap::String::retainedTextSize ( ) const
inline

Definition at line 90 of file qv4string_p.h.

◆ simplifyString()

void Heap::String::simplifyString ( ) const

Definition at line 133 of file qv4string.cpp.

◆ startsWithUpper()

bool Heap::String::startsWithUpper ( ) const

Definition at line 151 of file qv4string.cpp.

◆ toQString()

QString QV4::Heap::String::toQString ( ) const
inline

Definition at line 93 of file qv4string_p.h.

◆ vtable()

const VTable * QV4::Heap::String::vtable ( ) const
inline

Definition at line 83 of file qv4string_p.h.


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