openDAQ
Open data acquisition platform
IterablePtr< TValueInterface, TValuePtr > Class Template Reference

An iterable object can construct iterators and use them to iterate through items. More...

Detailed Description

template<class TValueInterface, class TValuePtr>
class IterablePtr< TValueInterface, TValuePtr >

An iterable object can construct iterators and use them to iterate through items.

Use this object to get the start and end iterators. Use iterators to iterate through available items. Containers such as lists and dictionaries usually implement this interface.

Public Member Functions

NativeIterator< TValuePtr > createStartIteratorInterface () const
 Creates and returns the object's start iterator. More...
 
NativeIterator< TValuePtr > createEndIteratorInterface () const
 Creates and returns the object's end iterator. More...
 
NativeIterator< TValuePtr > begin () const
 Creates and returns the object's start iterator. More...
 
NativeIterator< TValuePtr > end () const
 Creates and returns the object's end iterator. More...
 

Member Function Documentation

◆ begin()

NativeIterator< TValuePtr > begin

Creates and returns the object's start iterator.

Returns
The object's start iterator.

◆ createEndIteratorInterface()

NativeIterator< TValuePtr > createEndIteratorInterface

Creates and returns the object's end iterator.

Returns
The object's stop iterator.

◆ createStartIteratorInterface()

NativeIterator< TValuePtr > createStartIteratorInterface

Creates and returns the object's start iterator.

Returns
The object's start iterator.

◆ end()

NativeIterator< TValuePtr > end

Creates and returns the object's end iterator.

Returns
The object's stop iterator.