#include "tensorstore/progress.h"
struct tensorstore::ReadProgress;

Specifies progress statistics for Read operations.

Data members

Index total_elements;

Total number of elements to be read.

Index copied_elements;

Number of elements that have been copied.

Friend functions

friend bool operator==(const ReadProgress& a, const ReadProgress& b);
friend bool operator!=(const ReadProgress& a, const ReadProgress& b);

Compares two progress states for equality.

friend std::ostream&
operator<<(std::ostream& os, const ReadProgress& a);
friend void AbslStringify(Sink& sink, const ReadProgress& a);

Prints a debugging string representation to an std::ostream.

struct tensorstore::ReadProgressFunction;

Specifies a read progress function for use with tensorstore::Read.