Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QJSValueIteratorPrivate Class Reference

#include <qjsvalueiterator_p.h>

+ Collaboration diagram for QJSValueIteratorPrivate:

Public Member Functions

 QJSValueIteratorPrivate (const QJSValue &v)
 
void init (const QJSValue &v)
 
bool isValid () const
 
void next ()
 

Public Attributes

QV4::ExecutionEngineengine = nullptr
 
QV4::PersistentValue object
 
QScopedPointer< QV4::OwnPropertyKeyIteratoriterator
 
QV4::PersistentValue currentKey
 
QV4::PersistentValue nextKey
 

Detailed Description

Definition at line 23 of file qjsvalueiterator_p.h.

Constructor & Destructor Documentation

◆ QJSValueIteratorPrivate()

QT_BEGIN_NAMESPACE QJSValueIteratorPrivate::QJSValueIteratorPrivate ( const QJSValue & v)

Definition at line 13 of file qjsvalueiterator.cpp.

References init().

+ Here is the call graph for this function:

Member Function Documentation

◆ init()

void QJSValueIteratorPrivate::init ( const QJSValue & v)

Definition at line 18 of file qjsvalueiterator.cpp.

References QJSValuePrivate::engine(), engine, iterator, next(), o, and QScopedPointer< T, Cleanup >::reset().

Referenced by QJSValueIteratorPrivate(), and QJSValueIterator::operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isValid()

bool QJSValueIteratorPrivate::isValid ( ) const

Definition at line 51 of file qjsvalueiterator.cpp.

References engine, and iterator.

Referenced by QJSValueIterator::hasNext(), QJSValueIterator::name(), QJSValueIterator::next(), and QJSValueIterator::value().

+ Here is the caller graph for this function:

◆ next()

void QJSValueIteratorPrivate::next ( )

Definition at line 35 of file qjsvalueiterator.cpp.

References currentKey, engine, iterator, QV4::OwnPropertyKeyIterator::next(), nextKey, o, and QV4::PersistentValue::set().

Referenced by init(), and QJSValueIterator::next().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ currentKey

QV4::PersistentValue QJSValueIteratorPrivate::currentKey

◆ engine

QV4::ExecutionEngine* QJSValueIteratorPrivate::engine = nullptr

◆ iterator

QScopedPointer<QV4::OwnPropertyKeyIterator> QJSValueIteratorPrivate::iterator

Definition at line 35 of file qjsvalueiterator_p.h.

Referenced by init(), isValid(), and next().

◆ nextKey

QV4::PersistentValue QJSValueIteratorPrivate::nextKey

Definition at line 37 of file qjsvalueiterator_p.h.

Referenced by QJSValueIterator::hasNext(), and next().

◆ object

QV4::PersistentValue QJSValueIteratorPrivate::object

Definition at line 34 of file qjsvalueiterator_p.h.

Referenced by QJSValueIterator::value().


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