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

#include <qv4arraydata_p.h>

Collaboration diagram for QV4::ArrayVTable:

Public Attributes

VTable vTable
uint type
Heap::ArrayData *(* reallocate )(Object *o, uint n, bool enforceAttributes)
ReturnedValue(* get )(const Heap::ArrayData *d, uint index)
bool(* put )(Object *o, uint index, const Value &value)
bool(* putArray )(Object *o, uint index, const Value *values, uint n)
bool(* del )(Object *o, uint index)
void(* setAttribute )(Object *o, uint index, PropertyAttributes attrs)
void(* push_front )(Object *o, const Value *values, uint n)
ReturnedValue(* pop_front )(Object *o)
uint(* truncate )(Object *o, uint newLen)
uint(* length )(const Heap::ArrayData *d)

Detailed Description

Definition at line 40 of file qv4arraydata_p.h.

Member Data Documentation

◆ del

bool(* QV4::ArrayVTable::del) (Object *o, uint index)

Definition at line 48 of file qv4arraydata_p.h.

◆ get

ReturnedValue(* QV4::ArrayVTable::get) (const Heap::ArrayData *d, uint index)

Definition at line 45 of file qv4arraydata_p.h.

◆ length

uint(* QV4::ArrayVTable::length) (const Heap::ArrayData *d)

◆ pop_front

ReturnedValue(* QV4::ArrayVTable::pop_front) (Object *o)

Definition at line 51 of file qv4arraydata_p.h.

◆ push_front

void(* QV4::ArrayVTable::push_front) (Object *o, const Value *values, uint n)

Definition at line 50 of file qv4arraydata_p.h.

◆ put

bool(* QV4::ArrayVTable::put) (Object *o, uint index, const Value &value)

Definition at line 46 of file qv4arraydata_p.h.

◆ putArray

bool(* QV4::ArrayVTable::putArray) (Object *o, uint index, const Value *values, uint n)

Definition at line 47 of file qv4arraydata_p.h.

◆ reallocate

Heap::ArrayData *(* QV4::ArrayVTable::reallocate) (Object *o, uint n, bool enforceAttributes)

Definition at line 44 of file qv4arraydata_p.h.

◆ setAttribute

void(* QV4::ArrayVTable::setAttribute) (Object *o, uint index, PropertyAttributes attrs)

Definition at line 49 of file qv4arraydata_p.h.

◆ truncate

uint(* QV4::ArrayVTable::truncate) (Object *o, uint newLen)

Definition at line 52 of file qv4arraydata_p.h.

◆ type

uint QV4::ArrayVTable::type

Definition at line 43 of file qv4arraydata_p.h.

◆ vTable

VTable QV4::ArrayVTable::vTable

Definition at line 42 of file qv4arraydata_p.h.


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