libNuML
1.1.1
Library for reading / writing NuML documents
|
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <sbml/xml/XMLError.h>
#include <numl/NUMLError.h>
#include <numl/NUMLErrorTable.h>
◆ getSeverityForEntry()
static const LIBNUML_CPP_NAMESPACE_BEGIN unsigned int getSeverityForEntry |
( |
unsigned int |
index, |
|
|
unsigned int |
level, |
|
|
unsigned int |
version |
|
) |
| |
|
static |
Helper function for NUMLError().
Takes an index, NUML level and version, and returns the appropriate field for the severity code out of the errorTable entry.
◆ numlCategoryStringTable
◆ numlCategoryStringTableSize
@ LIBNUML_CAT_GENERAL_CONSISTENCY
Category of errors that can occur while validating general NUML constructs.
Definition: NUMLError.h:163
@ LIBNUML_CAT_NUML
General NUML error not falling into another category below.
Definition: NUMLError.h:149
@ LIBNUML_CAT_NUML_L1_COMPAT
Category of errors that can only occur during attempted translation from one Level/Version of NUML to...
Definition: NUMLError.h:152
@ LIBNUML_CAT_NUML_L1V1_COMPAT
Category of errors that can only occur during attempted translation from one Level/Version of NUML to...
Definition: NUMLError.h:158
@ LIBNUML_CAT_INTERNAL_CONSISTENCY
Category of errors that can occur while validating libNUML's internal representation of NUML construc...
Definition: NUMLError.h:179
@ LIBNUML_CAT_IDENTIFIER_CONSISTENCY
Category of errors that can occur while validating symbol identifiers in a numl objects.
Definition: NUMLError.h:169