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
QJSListForOfIterator Struct Reference

#include <qjslist.h>

+ Collaboration diagram for QJSListForOfIterator:

Public Types

using Ptr = QJSListForOfIterator *
 

Public Member Functions

void init ()
 
template<typename List , typename Value >
bool hasNext (const QJSList< List, Value > &list) const
 
template<typename List , typename Value >
Value next (const QJSList< List, Value > &list)
 

Detailed Description

Definition at line 347 of file qjslist.h.

Member Typedef Documentation

◆ Ptr

Definition at line 350 of file qjslist.h.

Member Function Documentation

◆ hasNext()

template<typename List , typename Value >
bool QJSListForOfIterator::hasNext ( const QJSList< List, Value > & list) const
inline

Definition at line 354 of file qjslist.h.

References list, and QList< T >::size().

+ Here is the call graph for this function:

◆ init()

void QJSListForOfIterator::init ( )
inline

Definition at line 351 of file qjslist.h.

◆ next()

template<typename List , typename Value >
Value QJSListForOfIterator::next ( const QJSList< List, Value > & list)
inline

Definition at line 357 of file qjslist.h.

References QList< T >::at(), and list.

+ Here is the call graph for this function:

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