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::ValueArray< o > Struct Template Reference

#include <qv4value_p.h>

+ Collaboration diagram for QV4::ValueArray< o >:

Public Member Functions

Value::HeapBasePtr base ()
 
void set (EngineBase *e, uint index, Value v)
 
void set (EngineBase *e, uint index, Value::HeapBasePtr b)
 
const Valueoperator[] (uint index) const
 
const Valuedata () const
 
void mark (MarkStack *markStack)
 

Public Attributes

uint size
 
uint alloc
 
Value values [1]
 

Static Public Attributes

static constexpr size_t offset = o
 

Detailed Description

template<size_t o>
struct QV4::ValueArray< o >

Definition at line 418 of file qv4value_p.h.

Member Function Documentation

◆ base()

template<size_t o>
Value::HeapBasePtr QV4::ValueArray< o >::base ( )
inline

Definition at line 424 of file qv4value_p.h.

References base, and Q_ASSERT.

◆ data()

template<size_t o>
const Value * QV4::ValueArray< o >::data ( ) const
inline

Definition at line 441 of file qv4value_p.h.

◆ mark()

template<size_t o>
void QV4::ValueArray< o >::mark ( MarkStack * markStack)
inline

Definition at line 445 of file qv4value_p.h.

◆ operator[]()

template<size_t o>
const Value & QV4::ValueArray< o >::operator[] ( uint index) const
inline

Definition at line 437 of file qv4value_p.h.

References Q_ASSERT.

◆ set() [1/2]

template<size_t o>
void QV4::ValueArray< o >::set ( EngineBase * e,
uint index,
Value v )
inline

Definition at line 431 of file qv4value_p.h.

References base, and data_ptr().

+ Here is the call graph for this function:

◆ set() [2/2]

template<size_t o>
void QV4::ValueArray< o >::set ( EngineBase * e,
uint index,
Value::HeapBasePtr b )
inline

Definition at line 434 of file qv4value_p.h.

References base, and data_ptr().

+ Here is the call graph for this function:

Member Data Documentation

◆ alloc

template<size_t o>
uint QV4::ValueArray< o >::alloc

Definition at line 421 of file qv4value_p.h.

◆ offset

template<size_t o>
constexpr size_t QV4::ValueArray< o >::offset = o
staticconstexpr

Definition at line 419 of file qv4value_p.h.

◆ size

template<size_t o>
uint QV4::ValueArray< o >::size

Definition at line 420 of file qv4value_p.h.

◆ values

template<size_t o>
Value QV4::ValueArray< o >::values[1]

Definition at line 422 of file qv4value_p.h.


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