libSBML C++ API  5.20.4
QualSBMLError.h File Reference

Represents SBML errors and other diagnostics. More...

This graph shows which files directly or indirectly include this file:

Enumerations

enum  QualSBMLErrorCode_t {
  QualUnknown = 3010100 ,
  QualNSUndeclared = 3010101 ,
  QualElementNotInNs = 3010102 ,
  QualFunctionTermBool = 3010201 ,
  QualMathCSymbolDisallowed = 3010202 ,
  QualDuplicateComponentId = 3010301 ,
  QualAttributeRequiredMissing = 3020101 ,
  QualAttributeRequiredMustBeBoolean = 3020102 ,
  QualRequiredTrueIfTransitions = 3020103 ,
  QualOneListOfTransOrQS = 3020201 ,
  QualEmptyLONotAllowed = 3020202 ,
  QualLOTransitiondAllowedElements = 3020203 ,
  QualLOQualSpeciesAllowedElements = 3020204 ,
  QualLOQualSpeciesAllowedAttributes = 3020205 ,
  QualLOTransitionsAllowedAttributes = 3020206 ,
  QualQualSpeciesAllowedCoreAttributes = 3020301 ,
  QualQualSpeciesAllowedElements = 3020302 ,
  QualQualSpeciesAllowedAttributes = 3020303 ,
  QualConstantMustBeBool = 3020304 ,
  QualNameMustBeString = 3020305 ,
  QualInitialLevelMustBeInt = 3020306 ,
  QualMaxLevelMustBeInt = 3020307 ,
  QualCompartmentMustReferExisting = 3020308 ,
  QualInitialLevelCannotExceedMax = 3020309 ,
  QualConstantQSCannotBeOutput = 3020310 ,
  QualQSAssignedOnlyOnce = 3020311 ,
  QualInitalLevelNotNegative = 3020312 ,
  QualMaxLevelNotNegative = 3020313 ,
  QualTransitionAllowedCoreAttributes = 3020401 ,
  QualTransitionAllowedElements = 3020402 ,
  QualTransitionAllowedAttributes = 3020403 ,
  QualTransitionNameMustBeString = 3020404 ,
  QualTransitionLOElements = 3020405 ,
  QualTransitionEmptyLOElements = 3020406 ,
  QualTransitionLOInputElements = 3020407 ,
  QualTransitionLOOutputElements = 3020408 ,
  QualTransitionLOFuncTermElements = 3020409 ,
  QualTransitionLOInputAttributes = 3020410 ,
  QualTransitionLOOutputAttributes = 3020411 ,
  QualTransitionLOFuncTermAttributes = 3020412 ,
  QualTransitionLOFuncTermExceedMax = 3020413 ,
  QualTransitionLOFuncTermNegative = 3020414 ,
  QualInputAllowedCoreAttributes = 3020501 ,
  QualInputAllowedElements = 3020502 ,
  QualInputAllowedAttributes = 3020503 ,
  QualInputNameMustBeString = 3020504 ,
  QualInputSignMustBeSignEnum = 3020505 ,
  QualInputTransEffectMustBeInputEffect = 3020506 ,
  QualInputThreshMustBeInteger = 3020507 ,
  QualInputQSMustBeExistingQS = 3020508 ,
  QualInputConstantCannotBeConsumed = 3020509 ,
  QualInputThreshMustBeNonNegative = 3020510 ,
  QualOutputAllowedCoreAttributes = 3020601 ,
  QualOutputAllowedElements = 3020602 ,
  QualOutputAllowedAttributes = 3020603 ,
  QualOutputNameMustBeString = 3020604 ,
  QualOutputTransEffectMustBeOutput = 3020605 ,
  QualOutputLevelMustBeInteger = 3020606 ,
  QualOutputQSMustBeExistingQS = 3020607 ,
  QualOutputConstantMustBeFalse = 3020608 ,
  QualOutputProductionMustHaveLevel = 3020609 ,
  QualOutputLevelMustBeNonNegative = 3020610 ,
  QualDefaultTermAllowedCoreAttributes = 3020701 ,
  QualDefaultTermAllowedElements = 3020702 ,
  QualDefaultTermAllowedAttributes = 3020703 ,
  QualDefaultTermResultMustBeInteger = 3020704 ,
  QualDefaultTermResultMustBeNonNeg = 3020705 ,
  QualFuncTermAllowedCoreAttributes = 3020801 ,
  QualFuncTermAllowedElements = 3020802 ,
  QualFuncTermAllowedAttributes = 3020803 ,
  QualFuncTermOnlyOneMath = 3020804 ,
  QualFuncTermResultMustBeInteger = 3020805 ,
  QualFuncTermResultMustBeNonNeg = 3020806
}
 Codes for all SBML-level errors and warnings from the 'qual' package. More...
 

Detailed Description

Represents SBML errors and other diagnostics.

Author
Michael Hucka
Sarah Keating

Enumeration Type Documentation

◆ QualSBMLErrorCode_t

Codes for all SBML-level errors and warnings from the 'qual' package.

These are distinguished from other SBML error codes by having a number between 3000000 and 3099999.

Calling programs may wish to check which enumeration a given SBMLError object's error identifier is actually from:
  • 0010000 to 0099999: SBMLErrorCode_t (a problem with the SBML core specification)
  • 1000000 to 1099999: CompSBMLErrorCode_t (a problem with the SBML Level 3 Hierarchical Model Composition package specification).
  • 2000000 to 2099999: FbcSBMLErrorCode_t (a problem with the SBML Level 3 Flux Balance Constraints package specification).
  • 3000000 to 3099999: QualSBMLErrorCode_t (a problem with the SBML Level 3 Qualitative Models package specification).
  • 6000000 to 6099999: LayoutSBMLErrorCode_t (a problem with the SBML Level 3 Layout package specification).
Other error code ranges are reserved for other packages.
Enumerator
QualUnknown 

Unknown error from qual.

QualNSUndeclared 

The qual ns is not correctly declared.

QualElementNotInNs 

Element not in qual namespace.

QualFunctionTermBool 

FunctionTerm should return boolean.

QualMathCSymbolDisallowed 

CSymbol time or delay not allowed.

QualDuplicateComponentId 

Duplicate 'id' attribute value.

QualAttributeRequiredMissing 

Required qual:required attribute on <sbml>.

QualAttributeRequiredMustBeBoolean 

The qual:required attribute must be Boolean.

QualRequiredTrueIfTransitions 

The qual:required attribute must be 'true' if math changes.

QualOneListOfTransOrQS 

Only one <listOfTransitions> or <listOfQualitativeSpecies> allowed.

QualEmptyLONotAllowed 

Empty <listOfTransitions> or <listOfQualitativeSpecies> not allowed.

QualLOTransitiondAllowedElements 

Elements allowed on <listOfTransitions>.

QualLOQualSpeciesAllowedElements 

Elements allowed on <listOfTransitions>.

QualLOQualSpeciesAllowedAttributes 

Attributes allowed on <listOfQualitativeSpecies>.

QualLOTransitionsAllowedAttributes 

Attributes allowed on <listOfTransitions>.

QualQualSpeciesAllowedCoreAttributes 

Core attributes allowed on <qualitativeSpecies>.

QualQualSpeciesAllowedElements 

Elements allowed on <qualitativeSpecies>.

QualQualSpeciesAllowedAttributes 

Attributes allowed on <qualitativeSpecies>.

QualConstantMustBeBool 

Attribute 'constant' on <qualitativeSpecies> must be boolean.

QualNameMustBeString 

Attribute 'name' on <qualitativeSpecies> must be string.

QualInitialLevelMustBeInt 

Attribute 'initialLevel' on <qualitativeSpecies> must be integer.

QualMaxLevelMustBeInt 

Attribute 'maxLevel' on <qualitativeSpecies> must be integer.

QualCompartmentMustReferExisting 

Attribute 'compartment' on <qualitativeSpecies> must reference compartment.

QualInitialLevelCannotExceedMax 

Attribute 'initialLevel' on <qualitativeSpecies> cannot exceed maxLevel.

QualConstantQSCannotBeOutput 

Constant <qualitativeSpecies> cannot be an Output.

QualQSAssignedOnlyOnce 

A <qualitativeSpecies> can only be assigned once.

QualInitalLevelNotNegative 

Attribute 'initialLevel' on <qualitativeSpecies> cannot be negative.

QualMaxLevelNotNegative 

Attribute 'maxLevel' on <qualitativeSpecies> cannot be negative.

QualTransitionAllowedCoreAttributes 

Core attributes allowed on <transition>.

QualTransitionAllowedElements 

Elements allowed on <transition>.

QualTransitionAllowedAttributes 

Attributes allowed on <transition>.

QualTransitionNameMustBeString 

Attribute 'name' on <transition> must be string.

QualTransitionLOElements 

ListOf elements on <transition>.

QualTransitionEmptyLOElements 

ListOf elements on <transition> not empty.

QualTransitionLOInputElements 

Elements on <listOfInputs>.

QualTransitionLOOutputElements 

Elements on <listOfOutputs>.

QualTransitionLOFuncTermElements 

Elements on <listOfFunctionTerms>.

QualTransitionLOInputAttributes 

Attributes allowed on <listOfInputs>.

QualTransitionLOOutputAttributes 

Attributes allowed on <listOfOutputs>.

QualTransitionLOFuncTermAttributes 

Attributes allowed on <listOfFunctionTerms>.

QualTransitionLOFuncTermExceedMax 

<listOfFunctionTerms> cannot make qualitativeSpecies exceed maxLevel.

QualTransitionLOFuncTermNegative 

<listOfFunctionTerms> cannot make qualitativeSpecies negative.

QualInputAllowedCoreAttributes 

Core attributes allowed on <input>.

QualInputAllowedElements 

Elements allowed on <input>.

QualInputAllowedAttributes 

Attributes allowed on <input>.

QualInputNameMustBeString 

Attribute 'name' on <input> must be string.

QualInputSignMustBeSignEnum 

Attribute 'sign' on <input> must be enum.

QualInputTransEffectMustBeInputEffect 

Attribute 'transitionEffect' on <input> must be enum.

QualInputThreshMustBeInteger 

Attribute 'thresholdLevel' on <input> must be non negative integer.

QualInputQSMustBeExistingQS 

Attribute 'qualitativeSpecies' on <input> must refer to existing.

QualInputConstantCannotBeConsumed 

Constant <input> cannot be consumed.

QualInputThreshMustBeNonNegative 

Attribute 'thresholdLevel' on <input> must be non negative integer.

QualOutputAllowedCoreAttributes 

Core attributes allowed on <output>.

QualOutputAllowedElements 

Elements allowed on <output>.

QualOutputAllowedAttributes 

Attributes allowed on <output>.

QualOutputNameMustBeString 

Attribute 'name' on <output> must be string.

QualOutputTransEffectMustBeOutput 

Attribute 'transitionEffect' on <output> must be enum.

QualOutputLevelMustBeInteger 

Attribute 'outputLevel' on <output> must be non negative integer.

QualOutputQSMustBeExistingQS 

Attribute 'qualitativeSpecies' on <output> must refer to existing.

QualOutputConstantMustBeFalse 

Constant 'qualitativeSpecies' cannot be <output>.

QualOutputProductionMustHaveLevel 

<output> being produced must have level.

QualOutputLevelMustBeNonNegative 

Attribute 'outputLevel' on <output> must be non negative integer.

QualDefaultTermAllowedCoreAttributes 

Core attributes allowed on <defaultTerm>.

QualDefaultTermAllowedElements 

Elements allowed on <defaultTerm>.

QualDefaultTermAllowedAttributes 

Attributes allowed on <defaultTerm>.

QualDefaultTermResultMustBeInteger 

Attribute 'resultLevel' on <defaultTerm> must be non negative integer.

QualDefaultTermResultMustBeNonNeg 

Attribute 'resultLevel' on <defaultTerm> must be non negative integer.

QualFuncTermAllowedCoreAttributes 

Core attributes allowed on <functionTerm>.

QualFuncTermAllowedElements 

Elements allowed on <functionTerm>.

QualFuncTermAllowedAttributes 

Attributes allowed on <functionTerm>.

QualFuncTermOnlyOneMath 

Only one <math> on <functionTerm>.

QualFuncTermResultMustBeInteger 

Attribute 'resultLevel' on <functionTerm> must be non negative integer.

QualFuncTermResultMustBeNonNeg 

Attribute 'resultLevel' on <functionTerm> must be non negative integer..