libSBML Perl API
libSBML 5.8.0 Perl API
|
Helper class for implementing SBML validation and consistency-checking.
This class of objects is defined by libSBML only and has no direct equivalent in terms of SBML components. This class is not prescribed by the SBML specifications, although it is used to implement features defined in SBML.
Public Member Functions | |
unsigned int | getId () const |
Get the constraint identifier of this constraint. More... | |
unsigned int | getSeverity () const |
Get the severity of this constraint. More... | |
VConstraint (unsigned int id, Validator &v) | |
virtual | ~VConstraint () |
VConstraint::VConstraint | ( | unsigned int | id, |
Validator & | v | ||
) |
|
virtual |
unsigned int VConstraint::getId | ( | ) | const |
Get the constraint identifier of this constraint.
Note that constraint identifiers are unrelated to SBML identifiers put on SBML components. Constraint identifiers are a superset of the validation rule numbers. (These "validation rules" are defined in the SBML specifications beginning with SBML Level 2 Version 2.) The set of possible constraint identifiers includes all SBML validation rule numbers, and in addition, there exist extra constraints defined by libSBML itself.
unsigned int VConstraint::getSeverity | ( | ) | const |
Get the severity of this constraint.
Severity codes are defined by the enumeration SBMLErrorSeverity_t. See the documentation included in SBMLError for more information.