libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
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

◆ Progress() [3/3]

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

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

◆ Debug() [2/2]

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

◆ Error() [1/2]

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

Reimplemented in osmscout::ConsoleProgress.

◆ Error() [2/2]

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

◆ Info() [1/2]

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

Reimplemented in osmscout::ConsoleProgress.

◆ Info() [2/2]

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ OutputDebug()

bool osmscout::Progress::OutputDebug ( ) const

◆ SetAction() [1/2]

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

Reimplemented in osmscout::ConsoleProgress.

◆ SetAction() [2/2]

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

◆ SetOutputDebug()

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

◆ SetProgress() [1/4]

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

Reimplemented in osmscout::ConsoleProgress.

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

◆ SetStep() [2/2]

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

◆ Warning() [1/2]

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

Reimplemented in osmscout::ConsoleProgress.

◆ Warning() [2/2]

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

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