COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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

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

Member Function Documentation

void coErr::comment ( int  line,
const char *  fname,
const char *  comment 
)
static
static void covise::coErr::comment ( int  line,
const char *  fname,
const char *  comment,
int  i 
)
inlinestatic
static void covise::coErr::comment ( int  line,
const char *  fname,
const char *  comment,
const char *  st 
)
inlinestatic
void coErr::destroy ( void  )
static
void coErr::error ( const char *  msg,
  ... 
)
static
void coErr::error ( int  line,
const char *  fname,
const char *  comment 
)
static
void coErr::fl_error ( const char *  msg,
  ... 
)
static
void coErr::fl_info ( const char *  msg,
  ... 
)
static
void coErr::fl_warning ( const char *  msg,
  ... 
)
static
void coErr::info ( const char *  msg,
  ... 
)
static
bool coErr::init ( void  )
static

setup levels

setup file if needed

coErr& covise::coErr::operator= ( const coErr )
private
void coErr::setLogLevels ( int  lev_console,
int  lev_file 
)
static
void coErr::warning ( const char *  msg,
  ... 
)
static
void coErr::warning ( int  line,
const char *  fname,
const char *  comment 
)
static

Member Data Documentation

int coErr::m_console_lev = 99
staticprivate
FILE * coErr::m_file = NULL
staticprivate
int coErr::m_file_lev = 99
staticprivate

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