libosmscout 0.1
Loading...
Searching...
No Matches
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
template<class... Args>
void Debug (std::format_string< Args... > format, Args &&...args)
template<class... Args>
void Error (std::format_string< Args... > format, Args &&...args)
template<class... Args>
void Info (std::format_string< Args... > format, Args &&...args)
Progress operator= (const Progress &&other)=delete
Progress operator= (const Progress &other)=delete
bool OutputDebug () const
 Progress (const Progress &&other)=delete
 Progress (const Progress &other)=delete
template<class... Args>
void SetAction (std::format_string< Args... > format, Args &&...args)
void SetOutputDebug (bool outputDebug)
template<class... Args>
void SetStep (std::format_string< Args... > format, Args &&...args)
template<class... Args>
void Warning (std::format_string< Args... > format, Args &&...args)
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().

Referenced by ~ConsoleProgress().

◆ Error()

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

Reimplemented from osmscout::Progress.

Referenced by ~ConsoleProgress().

◆ Info()

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

Reimplemented from osmscout::Progress.

Referenced by ~ConsoleProgress().

◆ SetAction()

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

Reimplemented from osmscout::Progress.

Referenced by ~ConsoleProgress().

◆ SetProgress() [1/4]

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

◆ 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.

Referenced by ~ConsoleProgress().

◆ Warning()

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

Reimplemented from osmscout::Progress.

Referenced by ~ConsoleProgress().


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