19 #include <lax/lists.h>
52 unsigned int object_id;
57 ErrorLogNode(
unsigned int objid,
const char *objidstr,
const char *npath,
const char *desc,
int nseverity,
int ninfo,
int npos,
int nline);
59 virtual void Set(
unsigned int objid,
const char *objidstr,
const char *npath,
const char *desc,
int nseverity,
int ninfo,
int npos,
int nline);
71 virtual int AddMessage(
const char *desc,
int severity,
int ninfo=0,
int npos=0,
int nline=0);
72 virtual int AddMessage(
unsigned int objid,
const char *objidstr,
const char *npath,
const char *desc,
int severity,
int ninfo=0,
int npos=0,
int nline=0);
73 virtual const char *Message(
int i,
int *severity,
int *info,
int *pos=NULL,
int *line=NULL);
74 virtual int Total() {
return messages.
n; }
79 virtual int Errors(
int since=0);
80 virtual int Oks(
int since=0);
Mon Feb 17 2014 11:52:56, Laxkit