libosmscout  0.1
osmscout::ConsoleProgress Class Reference

#include <Progress.h>

+ Inheritance diagram for osmscout::ConsoleProgress:

Public Member Functions

 ConsoleProgress ()=default
 
void Debug (const std::string &text) override
 
void Error (const std::string &text) override
 
void Info (const std::string &text) override
 
void SetAction (const std::string &action) override
 
void SetProgress (double current, double total, const std::string &label) override
 
void SetProgress (unsigned int current, unsigned int total, const std::string &label) override
 
void SetProgress (unsigned long current, unsigned long total, const std::string &label="") override
 
void SetProgress (unsigned long long current, unsigned long long total, const std::string &label="") override
 
void SetStep (const std::string &step) override
 
void Warning (const std::string &text) override
 
 ~ConsoleProgress () override=default
 
- Public Member Functions inherited from osmscout::Progress
bool OutputDebug () const
 
void SetOutputDebug (bool outputDebug)
 
virtual ~Progress ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from osmscout::Progress
 Progress ()
 

Constructor & Destructor Documentation

◆ ConsoleProgress()

osmscout::ConsoleProgress::ConsoleProgress ( )
default

◆ ~ConsoleProgress()

osmscout::ConsoleProgress::~ConsoleProgress ( )
overridedefault

Member Function Documentation

◆ Debug()

void osmscout::ConsoleProgress::Debug ( const std::string &  text)
overridevirtual

Reimplemented from osmscout::Progress.

References osmscout::Progress::OutputDebug().

◆ Error()

void osmscout::ConsoleProgress::Error ( const std::string &  text)
overridevirtual

Reimplemented from osmscout::Progress.

◆ Info()

void osmscout::ConsoleProgress::Info ( const std::string &  text)
overridevirtual

Reimplemented from osmscout::Progress.

◆ SetAction()

void osmscout::ConsoleProgress::SetAction ( const std::string &  action)
overridevirtual

Reimplemented from osmscout::Progress.

◆ SetProgress() [1/4]

void osmscout::ConsoleProgress::SetProgress ( double  current,
double  total,
const std::string &  label = "" 
)
overridevirtual

Reimplemented from osmscout::Progress.

Referenced by SetProgress().

◆ SetProgress() [2/4]

void osmscout::ConsoleProgress::SetProgress ( unsigned int  current,
unsigned int  total,
const std::string &  label 
)
overridevirtual

Reimplemented from osmscout::Progress.

References SetProgress().

◆ SetProgress() [3/4]

void osmscout::ConsoleProgress::SetProgress ( unsigned long  current,
unsigned long  total,
const std::string &  label = "" 
)
overridevirtual

Reimplemented from osmscout::Progress.

References SetProgress().

◆ SetProgress() [4/4]

void osmscout::ConsoleProgress::SetProgress ( unsigned long long  current,
unsigned long long  total,
const std::string &  label = "" 
)
overridevirtual

Reimplemented from osmscout::Progress.

References SetProgress().

◆ SetStep()

void osmscout::ConsoleProgress::SetStep ( const std::string &  step)
overridevirtual

Reimplemented from osmscout::Progress.

◆ Warning()

void osmscout::ConsoleProgress::Warning ( const std::string &  text)
overridevirtual

Reimplemented from osmscout::Progress.


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