Prints information to the console.
More...
#include <utility.h>
|
| timed_print () |
|
void | print_header () const |
|
void | print_split () const |
|
void | print (const std::string &str) const |
|
void | timer_print (const std::string &proc, const std::string &p1, const std::string &p2) |
|
void | timer_split () |
|
void | timer_print (const std::string &proc, const int p1, const int p2) |
|
void | timer_print (const std::string &proc, const int p1, const double p2) |
|
void | progress_current_method (const std::string &print) const |
|
void | progress_current_method (const std::string &method_name, const std::string &var1, double var1_val, const std::string &var2, double var2_val) const |
|
void | progress_current_method (const std::string &method_name, const std::string &var1, int var1_val, const std::string &var2, int var2_val, const std::string &var3, double var3_val) const |
|
void | progress_current_method (const std::string &method_name, const std::string &var1, double var1_val, const std::string &var2, int var2_val, const std::string &var3, int var3_val, const std::string &var4, int var4_val) const |
|
Prints information to the console.
Contains additional facilities to measure elapsed time in-between prints.
Definition at line 237 of file utility.h.
◆ timed_print()
dejavu::timed_print::timed_print |
( |
| ) |
|
|
inline |
◆ print()
void dejavu::timed_print::print |
( |
const std::string & |
str | ) |
const |
|
inline |
◆ print_header()
void dejavu::timed_print::print_header |
( |
| ) |
const |
|
inline |
◆ print_split()
void dejavu::timed_print::print_split |
( |
| ) |
const |
|
inline |
◆ progress_current_method() [1/4]
void dejavu::timed_print::progress_current_method |
( |
const std::string & |
method_name, |
|
|
const std::string & |
var1, |
|
|
double |
var1_val, |
|
|
const std::string & |
var2, |
|
|
double |
var2_val |
|
) |
| const |
|
inline |
◆ progress_current_method() [2/4]
void dejavu::timed_print::progress_current_method |
( |
const std::string & |
method_name, |
|
|
const std::string & |
var1, |
|
|
double |
var1_val, |
|
|
const std::string & |
var2, |
|
|
int |
var2_val, |
|
|
const std::string & |
var3, |
|
|
int |
var3_val, |
|
|
const std::string & |
var4, |
|
|
int |
var4_val |
|
) |
| const |
|
inline |
◆ progress_current_method() [3/4]
void dejavu::timed_print::progress_current_method |
( |
const std::string & |
method_name, |
|
|
const std::string & |
var1, |
|
|
int |
var1_val, |
|
|
const std::string & |
var2, |
|
|
int |
var2_val, |
|
|
const std::string & |
var3, |
|
|
double |
var3_val |
|
) |
| const |
|
inline |
◆ progress_current_method() [4/4]
void dejavu::timed_print::progress_current_method |
( |
const std::string & |
print | ) |
const |
|
inline |
◆ timer_print() [1/3]
void dejavu::timed_print::timer_print |
( |
const std::string & |
proc, |
|
|
const int |
p1, |
|
|
const double |
p2 |
|
) |
| |
|
inline |
◆ timer_print() [2/3]
void dejavu::timed_print::timer_print |
( |
const std::string & |
proc, |
|
|
const int |
p1, |
|
|
const int |
p2 |
|
) |
| |
|
inline |
◆ timer_print() [3/3]
void dejavu::timed_print::timer_print |
( |
const std::string & |
proc, |
|
|
const std::string & |
p1, |
|
|
const std::string & |
p2 |
|
) |
| |
|
inline |
◆ timer_split()
void dejavu::timed_print::timer_split |
( |
| ) |
|
|
inline |
◆ h_silent
bool dejavu::timed_print::h_silent = false |
The documentation for this class was generated from the following file: