advancement of work that consists of (usually known number) of similar steps More...

#include <store_rebuild.h>

Collaboration diagram for Progress:

Public Member Functions

 Progress (const int64_t stepsCompleted, const int64_t stepsTotal)
void print (std::ostream &os) const
 brief progress report suitable for level-0/1 debugging More...

Public Attributes

int64_t completed
 the number of finished work steps More...
int64_t goal
 the known total number of work steps (or negative) More...

Detailed Description

Definition at line 46 of file store_rebuild.h.

Constructor & Destructor Documentation

◆ Progress()

Progress::Progress ( const int64_t  stepsCompleted,
const int64_t  stepsTotal 

Definition at line 49 of file store_rebuild.h.

Member Function Documentation

◆ print()

void Progress::print ( std::ostream &  os) const

Definition at line 238 of file

References completed, and goal.

Referenced by operator<<().

Member Data Documentation

◆ completed

int64_t Progress::completed

Definition at line 55 of file store_rebuild.h.

Referenced by print().

◆ goal

int64_t Progress::goal

Definition at line 56 of file store_rebuild.h.

Referenced by print().

The documentation for this class was generated from the following files:






Web Site Translations