|
Lightweight 0.20260303.0
|
Base class for progress managers that tracks errors automatically. More...
#include <SqlBackup.hpp>
Public Member Functions | |
| void | Update (Progress const &progress) override |
| Gets called when the progress of an individual backup/restore operation changes. | |
| size_t | ErrorCount () const noexcept override |
| Returns the number of errors encountered during the operation. | |
Public Member Functions inherited from Lightweight::SqlBackup::ProgressManager | |
| ProgressManager ()=default | |
| Default constructor. | |
| ProgressManager (ProgressManager const &)=default | |
| Default copy constructor. | |
| ProgressManager & | operator= (ProgressManager const &)=default |
| Default copy assignment operator. | |
| ProgressManager (ProgressManager &&)=default | |
| Default move constructor. | |
| ProgressManager & | operator= (ProgressManager &&)=default |
| Default move assignment operator. | |
| virtual void | AllDone ()=0 |
| Gets called when all backup/restore operations are finished. | |
| virtual void | SetMaxTableNameLength (size_t) |
| virtual void | SetTotalItems (size_t totalItems) |
| virtual void | AddTotalItems (size_t additionalItems) |
| virtual void | OnItemsProcessed (size_t count) |
Base class for progress managers that tracks errors automatically.
Definition at line 217 of file SqlBackup.hpp.
|
inlineoverridevirtual |
Gets called when the progress of an individual backup/restore operation changes.
Implements Lightweight::SqlBackup::ProgressManager.
Definition at line 220 of file SqlBackup.hpp.
References Lightweight::SqlBackup::Progress::state.
|
inlineoverridevirtualnoexcept |
Returns the number of errors encountered during the operation.
Reimplemented from Lightweight::SqlBackup::ProgressManager.
Definition at line 226 of file SqlBackup.hpp.