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

Specifies progress statistics for Write operations.

Data members

Index total_elements;

Total number of elements to be written.

Index copied_elements;

Number of elements that have been copied.

Index committed_elements;

Number of elements that have been committed.

Friend functions

friend bool
operator==(const WriteProgressaconst WriteProgressb);
friend bool
operator!=(const WriteProgressaconst WriteProgressb);

Compares two progress states for equality.

friend std::ostream&
operator<<(std::ostreamosconst WriteProgressa);

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

struct tensorstore::WriteProgressFunction;

Specifies a write progress function for use with tensorstore::Write.