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

#include <qv4objectiterator_p.h>

Collaboration diagram for QV4::ObjectIterator:

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

ExecutionEngineengine
Objectobject
OwnPropertyKeyIteratoriterator = nullptr
uint flags

Detailed Description

Definition at line 25 of file qv4objectiterator_p.h.

Member Enumeration Documentation

◆ Flags

Enumerator
NoFlags 
EnumerableOnly 
WithSymbols 

Definition at line 27 of file qv4objectiterator_p.h.

Constructor & Destructor Documentation

◆ ObjectIterator()

QV4::ObjectIterator::ObjectIterator ( Scope & scope,
const Object * o,
uint flags )
inline

Definition at line 38 of file qv4objectiterator_p.h.

◆ ~ObjectIterator()

QV4::ObjectIterator::~ObjectIterator ( )
inline

Definition at line 47 of file qv4objectiterator_p.h.

Member Function Documentation

◆ next()

PropertyKey ObjectIterator::next ( Property * pd = nullptr,
PropertyAttributes * attributes = nullptr )

Definition at line 17 of file qv4objectiterator.cpp.

◆ nextPropertyName()

ReturnedValue ObjectIterator::nextPropertyName ( Value * value)

Definition at line 38 of file qv4objectiterator.cpp.

◆ nextPropertyNameAsString() [1/2]

ReturnedValue ObjectIterator::nextPropertyNameAsString ( )

Definition at line 74 of file qv4objectiterator.cpp.

◆ nextPropertyNameAsString() [2/2]

ReturnedValue ObjectIterator::nextPropertyNameAsString ( Value * value)

Definition at line 57 of file qv4objectiterator.cpp.

Member Data Documentation

◆ engine

ExecutionEngine* QV4::ObjectIterator::engine

Definition at line 33 of file qv4objectiterator_p.h.

◆ flags

uint QV4::ObjectIterator::flags

Definition at line 36 of file qv4objectiterator_p.h.

◆ iterator

OwnPropertyKeyIterator* QV4::ObjectIterator::iterator = nullptr

Definition at line 35 of file qv4objectiterator_p.h.

◆ object

Object* QV4::ObjectIterator::object

Definition at line 34 of file qv4objectiterator_p.h.


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