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::ComplexString Struct Reference

#include <qv4string_p.h>

Inheritance diagram for QV4::Heap::ComplexString:
Collaboration diagram for QV4::Heap::ComplexString:

Public Member Functions

void init (String *l, String *n)
void init (String *ref, int from, int len)
Public Member Functions inherited from QV4::Heap::String
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 ()

Public Attributes

Stringleft
Stringright
union { 
   int   largestSubLength 
   int   from 
}; 
int len
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

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
}
Static Public Member Functions inherited from QV4::Heap::String
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 *)

Detailed Description

Definition at line 119 of file qv4string_p.h.

Member Function Documentation

◆ init() [1/2]

void Heap::ComplexString::init ( String * l,
String * n )

Definition at line 63 of file qv4string.cpp.

◆ init() [2/2]

void Heap::ComplexString::init ( Heap::String * ref,
int from,
int len )

Definition at line 85 of file qv4string.cpp.

Member Data Documentation

◆ [union]

union { ... } QV4::Heap::ComplexString

◆ from

int QV4::Heap::ComplexString::from

Definition at line 126 of file qv4string_p.h.

◆ largestSubLength

int QV4::Heap::ComplexString::largestSubLength
mutable

Definition at line 125 of file qv4string_p.h.

◆ left

String* QV4::Heap::ComplexString::left
mutable

Definition at line 122 of file qv4string_p.h.

Referenced by testing.tools.safetynet_image.ImageLocations::Left().

◆ len

int QV4::Heap::ComplexString::len

Definition at line 128 of file qv4string_p.h.

◆ right

String* QV4::Heap::ComplexString::right
mutable

Definition at line 123 of file qv4string_p.h.

Referenced by testing.tools.safetynet_image.ImageLocations::Right().


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