uscxml::InterpreterIssue Class Reference

Identify and report syntactic and semantic problems with a SCXML state-charts. More...

#include <InterpreterIssue.h>

Public Types

enum  IssueSeverity { USCXML_ISSUE_FATAL, USCXML_ISSUE_WARNING, USCXML_ISSUE_INFO }
 

Public Member Functions

 InterpreterIssue (const std::string &msg, XERCESC_NS::DOMNode *node, IssueSeverity severity, const std::string &specRef="")
 Constructor is solely used to report issues at runtime.
 

Public Attributes

std::string message
 What is the issue.
 
XERCESC_NS::DOMNode * node
 The DOM node pertaining to the issue.
 
IssueSeverity severity
 Severity of the issue.
 
std::string specRef
 If applicable, the violated section from the standard.
 
std::string xPath
 Where did the issue arise.
 

Friends

class Interpreter
 

Detailed Description

Member Enumeration Documentation

Enumerator
USCXML_ISSUE_FATAL 

Interpreter can not process such a document.

USCXML_ISSUE_WARNING 

Document is questionable, but formally ok.

USCXML_ISSUE_INFO 

Indicates a possible problem, but maybe perfectly ok.


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