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_segment< result_type > Class Template Reference

Represents a result segment retrieved from the total set of possible results. More...

Public Member Functions

 result_segment ()
 Initializes a new instance of the azure::storage::result_segment<result_type> class. More...
 
 result_segment (std::vector< result_type > results, continuation_token token)
 Initializes a new instance of the azure::storage::result_segment<result_type> class. More...
 
const std::vector< result_type > & results () const
 Gets an enumerable collection of results. More...
 
const azure::storage::continuation_tokencontinuation_token () const
 Gets the continuation token used to retrieve the next segment of results. More...
 

Detailed Description

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

Represents a result segment retrieved from the total set of possible results.

Template Parameters
result_typeThe type of the result.

Constructor & Destructor Documentation

◆ result_segment() [1/2]

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

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

◆ result_segment() [2/2]

template<typename result_type >
azure::storage::result_segment< result_type >::result_segment ( std::vector< result_type >  results,
continuation_token  token 
)
inline

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

Parameters
resultsAn enumerable collection of results.
tokenThe continuation token.

Member Function Documentation

◆ continuation_token()

template<typename result_type >
const azure::storage::continuation_token& azure::storage::result_segment< result_type >::continuation_token ( ) const
inline

Gets the continuation token used to retrieve the next segment of results.

Returns
The continuation token.

◆ results()

template<typename result_type >
const std::vector<result_type>& azure::storage::result_segment< result_type >::results ( ) const
inline

Gets an enumerable collection of results.

Returns
An enumerable collection of results.