COVISE Core
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
covise::coErr Class Reference

#include <coErr.h>

Static Public Member Functions

static bool init (void)
 
static void destroy (void)
 
static void setLogLevels (int lev_console, int lev_file)
 
static void error (const char *msg,...)
 
static void warning (const char *msg,...)
 
static void info (const char *msg,...)
 
static void fl_error (const char *msg,...)
 
static void fl_warning (const char *msg,...)
 
static void fl_info (const char *msg,...)
 
static void error (int line, const char *fname, const char *comment)
 
static void warning (int line, const char *fname, const char *comment)
 
static void comment (int line, const char *fname, const char *comment)
 
static void comment (int line, const char *fname, const char *comment, int i)
 
static void comment (int line, const char *fname, const char *comment, const char *st)
 

Private Member Functions

 coErr (const coErr &)
 
coErroperator= (const coErr &)
 

Static Private Attributes

static FILE * m_file = NULL
 
static int m_file_lev = 99
 
static int m_console_lev = 99
 

Constructor & Destructor Documentation

◆ coErr()

covise::coErr::coErr ( const coErr )
private

Member Function Documentation

◆ comment() [1/3]

void coErr::comment ( int  line,
const char *  fname,
const char *  comment 
)
static

◆ comment() [2/3]

static void covise::coErr::comment ( int  line,
const char *  fname,
const char *  comment,
const char *  st 
)
inlinestatic

◆ comment() [3/3]

static void covise::coErr::comment ( int  line,
const char *  fname,
const char *  comment,
int  i 
)
inlinestatic

◆ destroy()

void coErr::destroy ( void  )
static

◆ error() [1/2]

void coErr::error ( const char *  msg,
  ... 
)
static

◆ error() [2/2]

void coErr::error ( int  line,
const char *  fname,
const char *  comment 
)
static

◆ fl_error()

void coErr::fl_error ( const char *  msg,
  ... 
)
static

◆ fl_info()

void coErr::fl_info ( const char *  msg,
  ... 
)
static

◆ fl_warning()

void coErr::fl_warning ( const char *  msg,
  ... 
)
static

◆ info()

void coErr::info ( const char *  msg,
  ... 
)
static

◆ init()

bool coErr::init ( void  )
static

setup levels

setup file if needed

◆ operator=()

coErr & covise::coErr::operator= ( const coErr )
private

◆ setLogLevels()

void coErr::setLogLevels ( int  lev_console,
int  lev_file 
)
static

◆ warning() [1/2]

void coErr::warning ( const char *  msg,
  ... 
)
static

◆ warning() [2/2]

void coErr::warning ( int  line,
const char *  fname,
const char *  comment 
)
static

Member Data Documentation

◆ m_console_lev

int coErr::m_console_lev = 99
staticprivate

◆ m_file

FILE * coErr::m_file = NULL
staticprivate

◆ m_file_lev

int coErr::m_file_lev = 99
staticprivate

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