![]() |
Qt 6.x
The Qt SDK
|
#include <qv4objectiterator_p.h>
Public Types | |
enum | Flags { NoFlags = 0 , EnumerableOnly = 0x1 , WithSymbols = 0x2 } |
Public Member Functions | |
ObjectIterator (Scope &scope, const Object *o, uint flags) | |
~ObjectIterator () | |
PropertyKey | next (Property *pd=nullptr, PropertyAttributes *attributes=nullptr) |
ReturnedValue | nextPropertyName (Value *value) |
ReturnedValue | nextPropertyNameAsString (Value *value) |
ReturnedValue | nextPropertyNameAsString () |
Public Attributes | |
ExecutionEngine * | engine |
Object * | object |
OwnPropertyKeyIterator * | iterator = nullptr |
uint | flags |
Definition at line 24 of file qv4objectiterator_p.h.
Enumerator | |
---|---|
NoFlags | |
EnumerableOnly | |
WithSymbols |
Definition at line 26 of file qv4objectiterator_p.h.
Definition at line 37 of file qv4objectiterator_p.h.
References QV4::Scope::alloc(), engine, QV4::Scope::engine, and o.
|
inline |
Definition at line 46 of file qv4objectiterator_p.h.
PropertyKey ObjectIterator::next | ( | Property * | pd = nullptr , |
PropertyAttributes * | attributes = nullptr |
||
) |
Definition at line 16 of file qv4objectiterator.cpp.
References attrs, engine, EnumerableOnly, QV4::PropertyKey::invalid(), iterator, QV4::OwnPropertyKeyIterator::next(), and WithSymbols.
ReturnedValue ObjectIterator::nextPropertyName | ( | Value * | value | ) |
Definition at line 37 of file qv4objectiterator.cpp.
References attrs, engine, next, QV4::Encode::null(), and Q_ASSERT.
ReturnedValue ObjectIterator::nextPropertyNameAsString | ( | ) |
Definition at line 73 of file qv4objectiterator.cpp.
References attrs, engine, next, and QV4::Encode::null().
ReturnedValue ObjectIterator::nextPropertyNameAsString | ( | Value * | value | ) |
Definition at line 56 of file qv4objectiterator.cpp.
References attrs, engine, next, and QV4::Encode::null().
ExecutionEngine* QV4::ObjectIterator::engine |
Definition at line 32 of file qv4objectiterator_p.h.
Referenced by next(), nextPropertyName(), nextPropertyNameAsString(), and nextPropertyNameAsString().
uint QV4::ObjectIterator::flags |
Definition at line 35 of file qv4objectiterator_p.h.
OwnPropertyKeyIterator* QV4::ObjectIterator::iterator = nullptr |
Definition at line 34 of file qv4objectiterator_p.h.
Referenced by next().
Object* QV4::ObjectIterator::object |
Definition at line 33 of file qv4objectiterator_p.h.