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::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 427 of file qv4value_p.h.

Member Function Documentation

◆ base()

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

Definition at line 433 of file qv4value_p.h.

◆ data()

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

Definition at line 450 of file qv4value_p.h.

◆ mark()

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

Definition at line 454 of file qv4value_p.h.

◆ operator[]()

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

Definition at line 446 of file qv4value_p.h.

References alloc.

◆ set() [1/2]

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

Definition at line 440 of file qv4value_p.h.

◆ set() [2/2]

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

Definition at line 443 of file qv4value_p.h.

Member Data Documentation

◆ alloc

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

Definition at line 430 of file qv4value_p.h.

Referenced by operator[]().

◆ offset

◆ size

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

Definition at line 429 of file qv4value_p.h.

◆ values

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

Definition at line 431 of file qv4value_p.h.


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