![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4string_p.h>
Public Types | |
enum | StringType { StringType_Symbol , StringType_Regular , StringType_ArrayIndex , StringType_Unknown , StringType_AddedString , StringType_SubString , StringType_Complex = StringType_AddedString } |
Public Member Functions | |
void | init () |
void | init (QStringPrivate text) |
void | destroy () |
QStringPrivate & | text () const |
QString | toQString () const |
void | createHashValue () const |
unsigned | hashValue () const |
Public Member Functions inherited from QV4::Heap::Base | |
void * | operator new (size_t)=delete |
ReturnedValue | asReturnedValue () const |
void | mark (QV4::MarkStack *markStack) |
bool | isMarked () const |
void | setMarkBit () |
bool | inUse () const |
void * | operator new (size_t, Managed *m) |
void * | operator 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::Base | |
static void | markObjects (Base *, MarkStack *) |
Public Attributes | |
struct { | |
unsigned char data [sizeof(QStringPrivate)] | |
} | textStorage |
PropertyKey | identifier |
uint | subtype |
uint | stringHash |
Public Attributes inherited from QV4::Heap::Base | |
Pointer< InternalClass *, 0 > | internalClass |
Definition at line 33 of file qv4string_p.h.
Enumerator | |
---|---|
StringType_Symbol | |
StringType_Regular | |
StringType_ArrayIndex | |
StringType_Unknown | |
StringType_AddedString | |
StringType_SubString | |
StringType_Complex |
Definition at line 35 of file qv4string_p.h.
void Heap::StringOrSymbol::createHashValue | ( | ) | const |
Definition at line 212 of file qv4string.cpp.
void Heap::StringOrSymbol::destroy | ( | ) |
Definition at line 97 of file qv4string.cpp.
|
inline |
Definition at line 71 of file qv4string_p.h.
|
inline |
Definition at line 45 of file qv4string_p.h.
|
inline |
Definition at line 50 of file qv4string_p.h.
|
static |
Definition at line 15 of file qv4string.cpp.
|
inline |
Definition at line 64 of file qv4string_p.h.
|
inline |
Definition at line 66 of file qv4string_p.h.
unsigned char QV4::Heap::StringOrSymbol::data[sizeof(QStringPrivate)] |
Definition at line 56 of file qv4string_p.h.
|
mutable |
Definition at line 57 of file qv4string_p.h.
|
mutable |
Definition at line 59 of file qv4string_p.h.
|
mutable |
Definition at line 58 of file qv4string_p.h.
struct { ... } QV4::Heap::StringOrSymbol::textStorage |