ListallerReport

ListallerReport — Report generator

Synopsis

#define             LISTALLER_TYPE_REPORT
gboolean            listaller_report_contains_error     (ListallerReport *self);
gboolean            listaller_report_is_empty           (ListallerReport *self);
void                listaller_report_add_message        (ListallerReport *self,
                                                         ListallerReportMessageType mtype,
                                                         const gchar *message);
void                listaller_report_add_info           (ListallerReport *self,
                                                         const gchar *message);
void                listaller_report_add_warning        (ListallerReport *self,
                                                         const gchar *message);
void                listaller_report_add_error          (ListallerReport *self,
                                                         const gchar *message);
gchar *             listaller_report_to_string          (ListallerReport *self);
void                listaller_report_clear              (ListallerReport *self);
void                listaller_report_set_print_fatal    (ListallerReport *self,
                                                         gboolean print_fatal_msg);
ListallerReport *   listaller_report_new                (void);
ListallerReport *   listaller_report_get_instance       (void);
void                listaller_report_delete             (void);
void                listaller_report_log_message        (ListallerReportMessageType mtype,
                                                         const gchar *message);
void                listaller_report_log_info           (const gchar *message);
void                listaller_report_log_warning        (const gchar *message);
void                listaller_report_log_error          (const gchar *message);
void                listaller_report_clear_current      (void);
void                listaller_report_set_print_fatal_msg
                                                        (gboolean print_fatal_msg);
struct              ListallerReport;
struct              ListallerReportClass;
enum                ListallerReportMessageType;

Object Hierarchy

  GObject
   +----ListallerReport
  GEnum
   +----ListallerReportMessageType

Description

Details

LISTALLER_TYPE_REPORT

#define LISTALLER_TYPE_REPORT (listaller_report_get_type ())

The type for ListallerReport.


listaller_report_contains_error ()

gboolean            listaller_report_contains_error     (ListallerReport *self);

self :

the ListallerReport instance

listaller_report_is_empty ()

gboolean            listaller_report_is_empty           (ListallerReport *self);

self :

the ListallerReport instance

listaller_report_add_message ()

void                listaller_report_add_message        (ListallerReport *self,
                                                         ListallerReportMessageType mtype,
                                                         const gchar *message);

self :

the ListallerReport instance

listaller_report_add_info ()

void                listaller_report_add_info           (ListallerReport *self,
                                                         const gchar *message);

self :

the ListallerReport instance

listaller_report_add_warning ()

void                listaller_report_add_warning        (ListallerReport *self,
                                                         const gchar *message);

self :

the ListallerReport instance

listaller_report_add_error ()

void                listaller_report_add_error          (ListallerReport *self,
                                                         const gchar *message);

self :

the ListallerReport instance

listaller_report_to_string ()

gchar *             listaller_report_to_string          (ListallerReport *self);

self :

the ListallerReport instance

listaller_report_clear ()

void                listaller_report_clear              (ListallerReport *self);

self :

the ListallerReport instance

listaller_report_set_print_fatal ()

void                listaller_report_set_print_fatal    (ListallerReport *self,
                                                         gboolean print_fatal_msg);

self :

the ListallerReport instance

listaller_report_new ()

ListallerReport *   listaller_report_new                (void);

listaller_report_get_instance ()

ListallerReport *   listaller_report_get_instance       (void);

listaller_report_delete ()

void                listaller_report_delete             (void);

listaller_report_log_message ()

void                listaller_report_log_message        (ListallerReportMessageType mtype,
                                                         const gchar *message);

listaller_report_log_info ()

void                listaller_report_log_info           (const gchar *message);

listaller_report_log_warning ()

void                listaller_report_log_warning        (const gchar *message);

listaller_report_log_error ()

void                listaller_report_log_error          (const gchar *message);

listaller_report_clear_current ()

void                listaller_report_clear_current      (void);

listaller_report_set_print_fatal_msg ()

void                listaller_report_set_print_fatal_msg
                                                        (gboolean print_fatal_msg);

struct ListallerReport

struct ListallerReport;

Report generator


struct ListallerReportClass

struct ListallerReportClass {
	GObjectClass parent_class;
};

The class structure for LISTALLER_TYPE_REPORT. All the fields in this structure are private and should never be accessed directly.

GObjectClass parent_class;

the parent class structure

enum ListallerReportMessageType

typedef enum {
	LISTALLER_REPORT_MESSAGE_TYPE_INFO,
	LISTALLER_REPORT_MESSAGE_TYPE_SUGGESTION,
	LISTALLER_REPORT_MESSAGE_TYPE_WARNING,
	LISTALLER_REPORT_MESSAGE_TYPE_CRITICAL,
	LISTALLER_REPORT_MESSAGE_TYPE_ERROR
} ListallerReportMessageType;

Type of a message written to a Listaller Report