#include <lurupa/Report.h>
Public Member Functions | |
| Csv_style | get_csv_style () const |
| Get csv style. | |
| short | get_level () const |
| Get verbosity level. | |
| bool | get_print_time () const |
| Get time prepending. | |
| bool | get_write_vm () const |
| Get vector and matrix writing. | |
| void | print (short type, const char *format,...) const |
| Print message. | |
| Report () | |
| Constructor. | |
| void | set_csv_style (Csv_style style) |
| Set csv style. | |
| void | set_error (FILE *error) |
| Set destination of error messages. | |
| void | set_level (short level) |
| Set verbosity level. | |
| void | set_normal (FILE *normal) |
| Set destination of normal messages. | |
| void | set_print_time (bool print_time) |
| Set time prepending. | |
| void | set_verbosity (short level, bool print_time, bool write_vm) |
| Set verbosity. | |
| void | set_warning (FILE *warning) |
| Set destination of warning messages. | |
| void | set_write_vm (bool write_vm) |
| Set vector and matrix writing. | |
| void | write_matrix (const char *file, const MATRIX &X, const char *name) const |
| Write matrix to disk. | |
| void | write_vector (const char *file, const VECTOR &x, const char *name) const |
| Write vector to disk. | |
Private Attributes | |
| Csv_style | csv_style |
| Use which csv style. | |
| FILE * | error |
| Destination of error messages. | |
| short | level |
| Maximum level of messages to be printed. | |
| FILE * | normal |
| Destination of normal messages. | |
| bool | print_time |
| Prepend time to messages. | |
| FILE * | warning |
| Destination of warning messages. | |
| bool | write_vm |
| Write vectors and matrices to disk. | |
1.5.6