dxFeed Graal CXX API
Loading...
Searching...
No Matches
IterableInstrumentProfile Class Referencefinal

A wrapper around Java Iterator for InstrumentProfile. More...

#include <IterableInstrumentProfile.hpp>

Public Member Functions

bool hasNext () const noexcept
 Returns true if the iterable has more elements.
 
std::shared_ptr< InstrumentProfilenext () const
 Returns the next element in the iteration.
 

Detailed Description

A wrapper around Java Iterator for InstrumentProfile.

Member Function Documentation

◆ hasNext()

bool IterableInstrumentProfile::hasNext ( ) const
nodiscardnoexcept

Returns true if the iterable has more elements.

Returns
true if the iteration has more elements

◆ next()

std::shared_ptr< InstrumentProfile > IterableInstrumentProfile::next ( ) const
nodiscard

Returns the next element in the iteration.

Returns
the next element in the iteration or std::shared_ptr<InstrumentProfile>{nullptr}