class MAGES::Analytics::ListIterator

Overview

Iterator for iterating over a dictionary of objects that are lists. More…

class ListIterator: public MAGES::Analytics::IQueryIterator
{
public:
    // methods

    List Iterate(
        Dictionary database,
        Func manipulator
    );
};

Inherited Members

public:
    // methods

    List Iterate(
        Dictionary database,
        Func manipulator
    );

Detailed Documentation

Iterator for iterating over a dictionary of objects that are lists.

Methods

List Iterate(
    Dictionary database,
    Func manipulator
)

Defines how to iterate over the given data and applies to them the provided manipulator function.

Parameters:

database

The data to iterate.

manipulator

Function that filters the data on each iteration.

Returns:

A list with filtered data.