- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions

# ResultIterator< T > Class Template Reference

Search for all occurrences

## Detailed Description

### template<typename T>
class QtConcurrent::ResultIterator< T >

Definition at line 103 of file qtconcurrentresultstore.h.

`#include <qtconcurrentresultstore.h>`

Inheritance diagram for ResultIterator< T >:
[legend]

List of all members.

## Public Member Functions
| ResultIterator (const ResultIteratorBase &base)
const T & | value () const
const T * | pointer () const

## Constructor & Destructor Documentation

ResultIterator | ( | const ResultIteratorBase & | base | ) | `[inline]`

Definition at line 106 of file qtconcurrentresultstore.h.

        : ResultIteratorBase(base) { }

## Member Function Documentation

const T& value | ( |  | ) | const `[inline]`

Search for all occurrences

Definition at line 109 of file qtconcurrentresultstore.h.

        {
            return *pointer();
        }

const T* pointer | ( |  | ) | const `[inline]`

Search for all occurrences

Definition at line 114 of file qtconcurrentresultstore.h.

        {
            if (mapIterator.value().isVector())
                return &(reinterpret_cast<const QVector<T> *>(mapIterator.value().result)->at(m_vectorIndex));
            else
                return reinterpret_cast<const T *>(mapIterator.value().result);
        }

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

- QtCore/qtconcurrentresultstore.h