10#include "ers/ParseIssue.h"
35 return PARSE_ISSUE_CLASS_NAME ;
39 m_value_table[OFFENDING_LINE_KEY] = line ;
43 set_value(OFFENDING_LINE_NUMBER_KEY,line);
47 m_value_table[
"ParseFileName"] = filename ;
Source context for Issue.
bool register_issue(const std::string &name, CreateIssueCallback creator)
register an issue factory
static IssueFactory * instance()
method to access singleton
void finish_setup(const std::string &message)
Finishes the setup of the Issue.
static const char *const OFFENDING_LINE_NUMBER_KEY
static const char *const OFFENDING_LINE_KEY
void file_name(std::string filename)
void offending_line(const std::string &line)
void offending_line_number(int line)
virtual const char * get_class_name() const
Get key for class (used for serialisation)
static const char *const PARSE_ISSUE_CLASS_NAME
enum ers::_severity_t severity_t