![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4arraydata_p.h>
Public Member Functions | |
| uint | mappedIndex (uint indexindex) const |
| Value | data (uint indexindex) const |
| uint & | len () |
| uint | len () const |
| Public Member Functions inherited from QV4::ArrayData | |
| Q_MANAGED_TYPE (ArrayData) | |
| uint | alloc () const |
| uint & | alloc () |
| void | setAlloc (uint aa) |
| Type | type () const |
| void | setType (Type tt) |
| PropertyAttributes * | attrs () const |
| void | setAttrs (PropertyAttributes *aa) |
| const Value * | arrayData () const |
| void | setArrayData (EngineBase *e, uint indexindex, Value newVal) |
| const ArrayVTable * | vtable () const |
| bool | isSparse () const |
| uint | length () const |
| bool | hasAttributes () const |
| PropertyAttributes | attributes (uint i) const |
| bool | isEmpty (uint i) const |
| ReturnedValue | get (uint i) const |
| Public Member Functions inherited from QV4::Managed | |
| Heap::InternalClass * | internalClass () const |
| const VTable * | vtable () const |
| ExecutionEngine * | engine () const |
| bool | isV4SequenceType () const |
| bool | isV4QObjectWrapper () const |
| bool | isQmlListPropertyType () const |
| bool | isArrayLike () const |
| bool | isArrayObject () const |
| bool | isStringObject () const |
| bool | isSymbolObject () const |
| QString | className () const |
| bool | isEqualTo (const Managed *other) const |
| bool | inUse () const |
| bool | markBit () const |
| void | mark (MarkStack *markStack) |
| Q_ALWAYS_INLINE Heap::Base * | heapObject () const |
| template<typename T> | |
| T * | cast () |
| template<typename T> | |
| const T * | cast () const |
| Public Member Functions inherited from QV4::Value | |
| bool | isString () const |
| bool | isStringOrSymbol () const |
| bool | isSymbol () const |
| bool | isObject () const |
| bool | isFunctionObject () const |
| QML_NEARLY_ALWAYS_INLINE String * | stringValue () const |
| QML_NEARLY_ALWAYS_INLINE StringOrSymbol * | stringOrSymbolValue () const |
| QML_NEARLY_ALWAYS_INLINE Symbol * | symbolValue () const |
| QML_NEARLY_ALWAYS_INLINE Object * | objectValue () const |
| QML_NEARLY_ALWAYS_INLINE ManagedPtr | managed () const |
| QML_NEARLY_ALWAYS_INLINE Value::HeapBasePtr | heapObject () const |
| int | toUInt16 () const |
| int | toInt32 () const |
| unsigned int | toUInt32 () const |
| qint64 | toLength () const |
| qint64 | toIndex () const |
| bool | toBoolean () const |
| double | toInteger () const |
| ReturnedValue | convertedToNumber () const |
| double | toNumber () const |
| double | toNumberImpl () const |
| QString | toQStringNoThrow () const |
| QString | toQString () const |
| QString | toQString (bool *ok) const |
| Heap::String * | toString (ExecutionEngine *e) const |
| QV4::PropertyKey | toPropertyKey (ExecutionEngine *e) const |
| Heap::Object * | toObject (ExecutionEngine *e) const |
| bool | isPrimitive () const |
| template<typename T> | |
| const T * | as () const |
| template<typename T> | |
| T * | as () |
| template<typename T> | |
| T * | cast () |
| template<typename T> | |
| const T * | cast () const |
| uint | asArrayLength (bool *ok) const |
| bool | sameValue (Value other) const |
| bool | sameValueZero (Value other) const |
| void | mark (MarkStack *markStack) const |
| Value & | operator= (const ScopedValue &vv) |
| Value & | operator= (ReturnedValue vv) |
| Value & | operator= (ManagedPtr mm) |
| Value & | operator= (HeapBasePtr o) |
| template<typename T> | |
| Value & | operator= (const Scoped< T > &tt) |
| template<> | |
| const ArrayObject * | as () const |
| template<> | |
| const FunctionObject * | as () const |
| template<> | |
| const StringOrSymbol * | as () const |
| template<> | |
| const String * | as () const |
| template<> | |
| const DateObject * | as () const |
| template<> | |
| const Managed * | as () const |
| template<> | |
| const Object * | as () const |
| template<> | |
| const ErrorObject * | as () const |
| template<> | |
| const UrlObject * | as () const |
| template<> | |
| const UrlSearchParamsObject * | as () const |
| Public Member Functions inherited from QV4::StaticValue | |
| StaticValue ()=default | |
| constexpr | StaticValue (quint64 valval) |
| StaticValue & | operator= (ReturnedValue vv) |
| template<typename Value> | |
| StaticValue & | operator= (const Value &) |
| template<typename Value> | |
| const Value & | asValue () const |
| template<typename Value> | |
| Value & | asValue () |
| QV4_NEARLY_ALWAYS_INLINE constexpr quint64 & | rawValueRef () |
| QV4_NEARLY_ALWAYS_INLINE constexpr quint64 | rawValue () const |
| QV4_NEARLY_ALWAYS_INLINE constexpr void | setRawValue (quint64 raw) |
| QV4_NEARLY_ALWAYS_INLINE constexpr void | setTagValue (quint32 tag, quint32 valuevalue) |
| QV4_NEARLY_ALWAYS_INLINE constexpr quint32 | value () const |
| QV4_NEARLY_ALWAYS_INLINE constexpr quint32 | tag () const |
| QV4_NEARLY_ALWAYS_INLINE constexpr void | setTag (quint32 tag) |
| QV4_NEARLY_ALWAYS_INLINE constexpr int | int_32 () const |
| QV4_NEARLY_ALWAYS_INLINE constexpr void | setInt_32 (int i) |
| QV4_NEARLY_ALWAYS_INLINE uint | uint_32 () const |
| QV4_NEARLY_ALWAYS_INLINE constexpr void | setEmpty () |
| Type | type () const |
| quint64 | quickType () const |
| bool | isEmpty () const |
| bool | isNull () const |
| bool | isBoolean () const |
| bool | isInteger () const |
| bool | isNullOrUndefined () const |
| bool | isUndefined () const |
| bool | isDouble () const |
| bool | isNumber () const |
| bool | isManagedOrUndefined () const |
| bool | isManaged () const |
| bool | isIntOrBool () const |
| bool | integerCompatible () const |
| bool | isNaN () const |
| bool | isPositiveInt () const |
| QV4_NEARLY_ALWAYS_INLINE double | doubleValue () const |
| QV4_NEARLY_ALWAYS_INLINE void | setDouble (double d) |
| bool | isInt32 () |
| double | asDouble () const |
| bool | booleanValue () const |
| int | integerValue () const |
| bool | tryIntegerConversion () |
| bool | toBoolean () const |
| int | toInt32 () const |
| ReturnedValue * | data_ptr () |
| constexpr ReturnedValue | asReturnedValue () const |
| template<> | |
| StaticValue & | operator= (const Value &valuevalue) |
| template<typename Managed> | |
| StaticValue & | operator= (const Managed &mm) |
| template<> | |
| Value & | asValue () |
| template<> | |
| const Value & | asValue () const |
Static Public Member Functions | |
| static Heap::ArrayData * | reallocate (Object *o, uint nn, bool enforceAttributes) |
| static ReturnedValue | get (const Heap::ArrayData *d, uint indexindex) |
| static bool | put (Object *o, uint indexindex, const Value &valuevalue) |
| static bool | putArray (Object *o, uint indexindex, const Value *valuesvalues, uint nn) |
| static bool | del (Object *o, uint indexindex) |
| static void | setAttribute (Object *o, uint indexindex, PropertyAttributes attrs) |
| static void | push_front (Object *o, const Value *valuesvalues, uint nn) |
| static ReturnedValue | pop_front (Object *o) |
| static uint | truncate (Object *o, uint newLen) |
| static uint | length (const Heap::ArrayData *d) |
| Static Public Member Functions inherited from QV4::ArrayData | |
| static void | ensureAttributes (Object *o) |
| static void | realloc (Object *o, Type newType, uint alloc, bool enforceAttributes) |
| static void | sort (ExecutionEngine *engine, Object *thisObject, const Value &comparefn, uint dataLen) |
| static uint | append (Object *objobj, ArrayObject *otherObj, uint nn) |
| static void | insert (Object *o, uint indexindex, const Value *vv, bool isAccessor=false) |
| Static Public Member Functions inherited from QV4::Managed | |
| static QString | typeToString (Type) |
| Static Public Member Functions inherited from QV4::Value | |
| static constexpr Value | fromStaticValue (StaticValue staticValue) |
| static constexpr Value | undefined () |
| static Value | fromHeapObject (HeapBasePtr mm) |
| static bool | toBooleanImpl (Value valval) |
| static double | toNumberImpl (Value vv) |
| static Heap::String * | toString (ExecutionEngine *e, Value valval) |
| static Heap::Object * | toObject (ExecutionEngine *e, Value valval) |
| static constexpr Value | fromReturnedValue (ReturnedValue valval) |
| static double | toInteger (double d) |
| static int | toInt32 (double d) |
| static unsigned int | toUInt32 (double d) |
| static constexpr Value | emptyValue () |
| static constexpr Value | fromBoolean (bool bb) |
| static constexpr Value | fromInt32 (int i) |
| static constexpr Value | undefinedValue () |
| static constexpr Value | nullValue () |
| static Value | fromDouble (double d) |
| static Value | fromUInt32 (uint i) |
| Static Public Member Functions inherited from QV4::StaticValue | |
| static int | valueOffset () |
| static int | tagOffset () |
| static constexpr quint64 | tagValue (quint32 tag, quint32 valuevalue) |
| static constexpr quint64 | tagBitMask (TagBit bit) |
| static bool | integerCompatible (StaticValue aa, StaticValue bb) |
| static bool | bothDouble (StaticValue aa, StaticValue bb) |
| static QV4_NEARLY_ALWAYS_INLINE bool | isInt32 (double d) |
| static constexpr StaticValue | fromReturnedValue (ReturnedValue valval) |
| static constexpr StaticValue | emptyValue () |
| static constexpr StaticValue | fromBoolean (bool bb) |
| static constexpr StaticValue | fromInt32 (int i) |
| static constexpr StaticValue | undefinedValue () |
| static constexpr StaticValue | nullValue () |
| static StaticValue | fromDouble (double d) |
| static StaticValue | fromUInt32 (uint i) |
| static double | toInteger (double d) |
| static int | toInt32 (double d) |
| static unsigned int | toUInt32 (double d) |
Definition at line 188 of file qv4arraydata_p.h.
Definition at line 194 of file qv4arraydata_p.h.
Definition at line 205 of file qv4arraydata.cpp.
|
static |
Definition at line 183 of file qv4arraydata.cpp.
|
inline |
Definition at line 196 of file qv4arraydata_p.h.
|
inline |
Definition at line 197 of file qv4arraydata_p.h.
|
static |
Definition at line 285 of file qv4arraydata.cpp.
Definition at line 193 of file qv4arraydata_p.h.
|
static |
Definition at line 248 of file qv4arraydata.cpp.
Definition at line 227 of file qv4arraydata.cpp.
Definition at line 191 of file qv4arraydata.cpp.
Definition at line 290 of file qv4arraydata.cpp.
Definition at line 169 of file qv4arraydata.cpp.
|
static |
Definition at line 222 of file qv4arraydata.cpp.
Definition at line 261 of file qv4arraydata.cpp.