Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
ProgressPrinter.h
Go to the documentation of this file.
1#pragma once
2namespace fishnet::util {
7private:
8 unsigned long goal; //number of iterations to be reached
9 unsigned long counter = 0;
10 int printed = 0;
11 const std::string task; //name of the task that is executed
12
13 void initialize();
14
15public:
16 static bool disable; //ProgressPrinter is disable when in --silent mode, default: ProgressPrinter is enabled
17
18 ProgressPrinter(unsigned long goal,std::string task);
19
20 explicit ProgressPrinter(std::string task);
21
23
24 void visit();
25};
26}
Definition ProgressPrinter.h:6
~ProgressPrinter()
Definition ProgressPrinter.cpp:24
static bool disable
Definition ProgressPrinter.h:16
void visit()
Definition ProgressPrinter.cpp:9
Definition AlternativeKeyMap.hpp:4