libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::Progress Class Reference

#include <Progress.h>

Inheritance diagram for osmscout::Progress:

Public Member Functions

virtual void Debug (const std::string &text)
template<class... Args>
void Debug (std::format_string< Args... > format, Args &&...args)
virtual void Error (const std::string &text)
template<class... Args>
void Error (std::format_string< Args... > format, Args &&...args)
virtual void Info (const std::string &text)
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
virtual void SetAction (const std::string &action)
template<class... Args>
void SetAction (std::format_string< Args... > format, Args &&...args)
void SetOutputDebug (bool outputDebug)
virtual void SetProgress (double current, double total, const std::string &label="")
virtual void SetProgress (unsigned int current, unsigned int total, const std::string &label="")
virtual void SetProgress (unsigned long current, unsigned long total, const std::string &label="")
virtual void SetProgress (unsigned long long current, unsigned long long total, const std::string &label="")
virtual void SetStep (const std::string &step)
template<class... Args>
void SetStep (std::format_string< Args... > format, Args &&...args)
virtual void Warning (const std::string &text)
template<class... Args>
void Warning (std::format_string< Args... > format, Args &&...args)
virtual ~Progress ()=default

Protected Member Functions

 Progress ()

Constructor & Destructor Documentation

◆ Progress() [1/3]

osmscout::Progress::Progress ( )
protected

◆ Progress() [2/3]

osmscout::Progress::Progress ( const Progress & other)
delete

References Progress().

◆ Progress() [3/3]

osmscout::Progress::Progress ( const Progress && other)
delete

References Progress().

◆ ~Progress()

virtual osmscout::Progress::~Progress ( )
virtualdefault

Member Function Documentation

◆ Debug() [1/2]

void osmscout::Progress::Debug ( const std::string & text)
virtual

Reimplemented in osmscout::ConsoleProgress.

Referenced by Debug(), and operator=().

◆ Debug() [2/2]

template<class... Args>
void osmscout::Progress::Debug ( std::format_string< Args... > format,
Args &&... args )
inline

References Debug().

◆ Error() [1/2]

void osmscout::Progress::Error ( const std::string & text)
virtual

Reimplemented in osmscout::ConsoleProgress.

Referenced by Error(), and operator=().

◆ Error() [2/2]

template<class... Args>
void osmscout::Progress::Error ( std::format_string< Args... > format,
Args &&... args )
inline

References Error().

◆ Info() [1/2]

void osmscout::Progress::Info ( const std::string & text)
virtual

Reimplemented in osmscout::ConsoleProgress.

Referenced by Info(), and operator=().

◆ Info() [2/2]

template<class... Args>
void osmscout::Progress::Info ( std::format_string< Args... > format,
Args &&... args )
inline

References Info().

◆ operator=() [1/2]

Progress osmscout::Progress::operator= ( const Progress && other)
delete

◆ operator=() [2/2]

Progress osmscout::Progress::operator= ( const Progress & other)
delete

References Progress().

◆ OutputDebug()

bool osmscout::Progress::OutputDebug ( ) const

◆ SetAction() [1/2]

void osmscout::Progress::SetAction ( const std::string & action)
virtual

Reimplemented in osmscout::ConsoleProgress.

Referenced by operator=(), and SetAction().

◆ SetAction() [2/2]

template<class... Args>
void osmscout::Progress::SetAction ( std::format_string< Args... > format,
Args &&... args )
inline

References SetAction().

◆ SetOutputDebug()

void osmscout::Progress::SetOutputDebug ( bool outputDebug)

Referenced by operator=().

◆ SetProgress() [1/4]

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

Reimplemented in osmscout::ConsoleProgress.

Referenced by operator=().

◆ SetProgress() [2/4]

void osmscout::Progress::SetProgress ( unsigned int current,
unsigned int total,
const std::string & label = "" )
virtual

Reimplemented in osmscout::ConsoleProgress.

◆ SetProgress() [3/4]

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

Reimplemented in osmscout::ConsoleProgress.

◆ SetProgress() [4/4]

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

Reimplemented in osmscout::ConsoleProgress.

◆ SetStep() [1/2]

void osmscout::Progress::SetStep ( const std::string & step)
virtual

Reimplemented in osmscout::ConsoleProgress.

Referenced by operator=(), and SetStep().

◆ SetStep() [2/2]

template<class... Args>
void osmscout::Progress::SetStep ( std::format_string< Args... > format,
Args &&... args )
inline

References SetStep().

◆ Warning() [1/2]

void osmscout::Progress::Warning ( const std::string & text)
virtual

Reimplemented in osmscout::ConsoleProgress.

Referenced by operator=(), and Warning().

◆ Warning() [2/2]

template<class... Args>
void osmscout::Progress::Warning ( std::format_string< Args... > format,
Args &&... args )
inline

References Warning().


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