Blender V5.3
BKE_report.hh File Reference
#include <cstdio>
#include "BLI_compiler_attrs.hh"
#include "BLI_enum_flags.hh"
#include "BLI_mutex.hh"
#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  blender::Report
struct  blender::ReportList

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define RPT_DEBUG_ALL   (RPT_DEBUG)
#define RPT_INFO_ALL   (RPT_INFO)
#define RPT_OPERATOR_ALL   (RPT_OPERATOR)
#define RPT_PROPERTY_ALL   (RPT_PROPERTY)
#define RPT_WARNING_ALL   (RPT_WARNING)
#define RPT_ERROR_ALL   (RPT_ERROR | RPT_ERROR_INVALID_INPUT | RPT_ERROR_INVALID_CONTEXT | RPT_ERROR_OUT_OF_MEMORY)

Enumerations

enum  blender::eReportType : uint16_t {
  blender::RPT_DEBUG = (1 << 0) , blender::RPT_INFO = (1 << 1) , blender::RPT_OPERATOR = (1 << 2) , blender::RPT_PROPERTY = (1 << 3) ,
  blender::RPT_WARNING = (1 << 4) , blender::RPT_ERROR = (1 << 5) , blender::RPT_ERROR_INVALID_INPUT = (1 << 6) , blender::RPT_ERROR_INVALID_CONTEXT = (1 << 7) ,
  blender::RPT_ERROR_OUT_OF_MEMORY = (1 << 8)
}
enum  blender::ReportListFlags {
  blender::RPT_PRINT = (1 << 0) , blender::RPT_STORE = (1 << 1) , blender::RPT_FREE = (1 << 2) , blender::RPT_OP_HOLD = (1 << 3) ,
  blender::RPT_PRINT_HANDLED_BY_OWNER = (1 << 4)
}

Functions

void blender::BKE_reports_init (ReportList *reports, int flag)
void blender::BKE_reports_free (ReportList *reports)
void blender::BKE_reports_clear (ReportList *reports)
void blender::BKE_reports_move_to_reports (ReportList *reports_dst, ReportList *reports_src)
void blender::BKE_reports_lock (ReportList *reports)
void blender::BKE_reports_unlock (ReportList *reports)
void blender::BKE_report (ReportList *reports, eReportType type, const char *message)
void blender::BKE_reportf (ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void void blender::BKE_reports_prepend (ReportList *reports, const char *prepend)
void blender::BKE_reports_prependf (ReportList *reports, const char *prepend_format,...) ATTR_PRINTF_FORMAT(2
void eReportType blender::BKE_report_print_level (ReportList *reports)
void blender::BKE_report_print_level_set (ReportList *reports, eReportType level)
eReportType blender::BKE_report_store_level (ReportList *reports)
void blender::BKE_report_store_level_set (ReportList *reports, eReportType level)
char * blender::BKE_reports_string (ReportList *reports, eReportType level)
bool blender::BKE_reports_print_test (const ReportList *reports, eReportType type)
void blender::BKE_reports_print (ReportList *reports, eReportType level)
void blender::BKE_report_log (eReportType type, const char *message, CLG_LogRef *log)
void blender::BKE_reports_log (ReportList *reports, eReportType level, CLG_LogRef *log)
Report * blender::BKE_reports_last_displayable (ReportList *reports)
bool blender::BKE_reports_contain (ReportList *reports, eReportType level)
const char * blender::BKE_report_type_str (eReportType type)
bool blender::BKE_report_write_file_fp (FILE *fp, ReportList *reports, const char *header)
bool blender::BKE_report_write_file (const char *filepath, ReportList *reports, const char *header)

Macro Definition Documentation

◆ RPT_DEBUG_ALL

◆ RPT_ERROR_ALL

#define RPT_ERROR_ALL   (RPT_ERROR | RPT_ERROR_INVALID_INPUT | RPT_ERROR_INVALID_CONTEXT | RPT_ERROR_OUT_OF_MEMORY)

◆ RPT_INFO_ALL

◆ RPT_OPERATOR_ALL

#define RPT_OPERATOR_ALL   (RPT_OPERATOR)

Definition at line 50 of file BKE_report.hh.

Referenced by blender::info_report_mask(), and blender::report_replay_exec().

◆ RPT_PROPERTY_ALL

#define RPT_PROPERTY_ALL   (RPT_PROPERTY)

Definition at line 51 of file BKE_report.hh.

Referenced by blender::info_report_mask(), and blender::report_replay_exec().

◆ RPT_WARNING_ALL