Microsoft Azure Storage Client Library for C++  7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
Public Member Functions | List of all members
azure::storage::result_iterator< result_type > Class Template Reference

Represents a result iterator that could be used to enumerate results in the result set in a lazy way. More...

Inheritance diagram for azure::storage::result_iterator< result_type >:

Public Member Functions

 result_iterator ()
 Initializes a new instance of the azure::storage::result_iterator<result_type> class. More...
 
 result_iterator (std::function< result_segment< result_type >(const continuation_token &, size_t)> result_generator, utility::size64_t max_results, size_t max_results_per_segment)
 Initializes a new instance of the azure::storage::result_iterator<result_type> class. More...
 
const result_type & operator * () const
 
result_type & operator * ()
 
const result_type * operator-> () const
 
result_type * operator-> ()
 
result_iteratoroperator++ ()
 
result_iterator operator++ (int)
 
bool operator== (const result_iterator &rhs) const
 
bool operator!= (const result_iterator &rhs) const
 

Detailed Description

template<typename result_type>
class azure::storage::result_iterator< result_type >

Represents a result iterator that could be used to enumerate results in the result set in a lazy way.

Template Parameters
result_typeThe type of the result.

Constructor & Destructor Documentation

◆ result_iterator() [1/2]

template<typename result_type >
azure::storage::result_iterator< result_type >::result_iterator ( )
inline

Initializes a new instance of the azure::storage::result_iterator<result_type> class.

◆ result_iterator() [2/2]

template<typename result_type >
azure::storage::result_iterator< result_type >::result_iterator ( std::function< result_segment< result_type >(const continuation_token &, size_t)>  result_generator,
utility::size64_t  max_results,
size_t  max_results_per_segment 
)
inline

Initializes a new instance of the azure::storage::result_iterator<result_type> class.

Parameters
result_generatorThe result segment generator.
max_resultsA non-negative integer value that indicates the maximum number of results to be returned by the result iterator. If this value is 0, the maximum possible number of results will be returned.
max_results_per_segmentA non-negative integer value that indicates the maximum number of results to be returned in one segment. If this value is 0, the maximum possible number of results returned in a segment will be determined by individual service.