Report Class Reference

Functions for reporting and debugging. More...

#include <lurupa/Report.h>

List of all members.

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.


Detailed Description

Functions for reporting and debugging.
The documentation for this class was generated from the following file:

Generated on Thu Jun 26 18:08:54 2008 for Lurupa by  doxygen 1.5.6