Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QV4::SharedInternalClassDataPrivate< PropertyKey > Struct Reference

#include <qv4internalclass_p.h>

+ Collaboration diagram for QV4::SharedInternalClassDataPrivate< PropertyKey >:

Public Member Functions

 SharedInternalClassDataPrivate (ExecutionEngine *e)
 
 SharedInternalClassDataPrivate (const SharedInternalClassDataPrivate &other)
 
 SharedInternalClassDataPrivate (const SharedInternalClassDataPrivate &other, uint pos, PropertyKey value)
 
 ~SharedInternalClassDataPrivate ()
 
template<typename StringOrSymbol = Heap::StringOrSymbol>
void markIfNecessary (const PropertyKey &value)
 
void grow ()
 
uint alloc () const
 
uint size () const
 
void setSize (uint s)
 
PropertyKey at (uint i) const
 
void set (uint i, PropertyKey t)
 
void mark (MarkStack *s)
 

Public Attributes

int refcount = 1
 

Detailed Description

Definition at line 179 of file qv4internalclass_p.h.

Constructor & Destructor Documentation

◆ SharedInternalClassDataPrivate() [1/3]

QV4::SharedInternalClassDataPrivate< PropertyKey >::SharedInternalClassDataPrivate ( ExecutionEngine * e)
inline

Definition at line 180 of file qv4internalclass_p.h.

◆ SharedInternalClassDataPrivate() [2/3]

QV4::SharedInternalClassDataPrivate< PropertyKey >::SharedInternalClassDataPrivate ( const SharedInternalClassDataPrivate< PropertyKey > & other)

◆ SharedInternalClassDataPrivate() [3/3]

QV4::SharedInternalClassDataPrivate< PropertyKey >::SharedInternalClassDataPrivate ( const SharedInternalClassDataPrivate< PropertyKey > & other,
uint pos,
PropertyKey value )

◆ ~SharedInternalClassDataPrivate()

Member Function Documentation

◆ alloc()

Definition at line 99 of file qv4internalclass.cpp.

◆ at()

Definition at line 115 of file qv4internalclass.cpp.

References QV4::PropertyKey::fromId(), i, and Q_ASSERT.

+ Here is the call graph for this function:

◆ grow()

Definition at line 90 of file qv4internalclass.cpp.

References QV4::MemberData::allocate(), engine, and Q_ASSERT.

+ Here is the call graph for this function:

◆ mark()

◆ markIfNecessary()

template<typename StringOrSymbol >
void QV4::SharedInternalClassDataPrivate< PropertyKey >::markIfNecessary ( const PropertyKey & value)

Definition at line 205 of file qv4internalclass_p.h.

References engine, QV4::WriteBarrier::isInsertionBarrier, and QV4::WriteBarrier::markCustom().

+ Here is the call graph for this function:

◆ set()

Definition at line 121 of file qv4internalclass.cpp.

References engine, i, QV4::WriteBarrier::isInsertionBarrier, QV4::WriteBarrier::markCustom(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ setSize()

Definition at line 109 of file qv4internalclass.cpp.

References Q_ASSERT.

◆ size()

Member Data Documentation

◆ refcount

Definition at line 198 of file qv4internalclass_p.h.


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