dejavu
Fast probabilistic symmetry detection.
Loading...
Searching...
No Matches
dejavu::timed_print Class Reference

Prints information to the console. More...

#include <utility.h>

Public Member Functions

 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
 

Public Attributes

bool h_silent = false
 

Detailed Description

Prints information to the console.

Contains additional facilities to measure elapsed time in-between prints.

Definition at line 237 of file utility.h.

Constructor & Destructor Documentation

◆ timed_print()

dejavu::timed_print::timed_print ( )
inline

Definition at line 244 of file utility.h.

Member Function Documentation

◆ print()

void dejavu::timed_print::print ( const std::string &  str) const
inline

Definition at line 259 of file utility.h.

◆ print_header()

void dejavu::timed_print::print_header ( ) const
inline

Definition at line 249 of file utility.h.

◆ print_split()

void dejavu::timed_print::print_split ( ) const
inline

Definition at line 254 of file utility.h.

◆ 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

Definition at line 305 of file utility.h.

◆ 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

Definition at line 318 of file utility.h.

◆ 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

Definition at line 310 of file utility.h.

◆ progress_current_method() [4/4]

void dejavu::timed_print::progress_current_method ( const std::string &  print) const
inline

Definition at line 301 of file utility.h.

◆ timer_print() [1/3]

void dejavu::timed_print::timer_print ( const std::string &  proc,
const int  p1,
const double  p2 
)
inline

Definition at line 290 of file utility.h.

◆ timer_print() [2/3]

void dejavu::timed_print::timer_print ( const std::string &  proc,
const int  p1,
const int  p2 
)
inline

Definition at line 279 of file utility.h.

◆ timer_print() [3/3]

void dejavu::timed_print::timer_print ( const std::string &  proc,
const std::string &  p1,
const std::string &  p2 
)
inline

Definition at line 264 of file utility.h.

◆ timer_split()

void dejavu::timed_print::timer_split ( )
inline

Definition at line 275 of file utility.h.

Member Data Documentation

◆ h_silent

bool dejavu::timed_print::h_silent = false

Definition at line 242 of file utility.h.


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