libSBML Perl API  libSBML 5.8.0 Perl API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CompSBMLError.h File Reference

Detailed Description

Represents SBML errors and other diagnostics.

Author
Michael Hucka
Sarah Keating
Include dependency graph for CompSBMLError.h:
This graph shows which files directly or indirectly include this file:

Enumerations

enum  CompSBMLErrorCode_t {
  CompUnknown = 1010100,
  CompNSUndeclared = 1010101,
  CompElementNotInNs = 1010102,
  CompDuplicateComponentId = 1010301,
  CompUniqueModelIds = 1010302,
  CompUniquePortIds = 1010303,
  CompInvalidSIdSyntax = 1010304,
  CompInvalidSubmodelRefSyntax = 1010308,
  CompInvalidDeletionSyntax = 1010309,
  CompInvalidConversionFactorSyntax = 1010310,
  CompInvalidNameSyntax = 1010311,
  CompOneListOfReplacedElements = 1020101,
  CompLOReplaceElementsAllowedElements = 1020102,
  CompLOReplacedElementsAllowedAttribs = 1020103,
  CompEmptyLOReplacedElements = 1020104,
  CompOneReplacedByElement = 1020105,
  CompAttributeRequiredMissing = 1020201,
  CompAttributeRequiredMustBeBoolean = 1020202,
  CompRequiredTrueIfElementsRemain = 1020203,
  CompRequiredFalseIfAllElementsReplaced = 1020204,
  CompOneListOfModelDefinitions = 1020205,
  CompEmptyLOModelDefs = 1020206,
  CompLOModelDefsAllowedElements = 1020207,
  CompLOExtModelDefsAllowedElements = 1020208,
  CompLOModelDefsAllowedAttributes = 1020209,
  CompLOExtModDefsAllowedAttributes = 1020210,
  CompOneListOfExtModelDefinitions = 1020211,
  CompExtModDefAllowedCoreAttributes = 1020301,
  CompExtModDefAllowedElements = 1020302,
  CompExtModDefAllowedAttributes = 1020303,
  CompReferenceMustBeL3 = 1020304,
  CompModReferenceMustIdOfModel = 1020305,
  CompExtModMd5DoesNotMatch = 1020306,
  CompInvalidSourceSyntax = 1020307,
  CompInvalidModelRefSyntax = 1020308,
  CompInvalidMD5Syntax = 1020309,
  CompCircularExternalModelReference = 1020310,
  CompOneListOfOnModel = 1020501,
  CompNoEmptyListOfOnModel = 1020502,
  CompLOSubmodelsAllowedElements = 1020503,
  CompLOPortsAllowedElements = 1020504,
  CompLOSubmodelsAllowedAttributes = 1020505,
  CompLOPortsAllowedAttributes = 1020506,
  CompSubmodelAllowedCoreAttributes = 1020601,
  CompSubmodelAllowedElements = 1020602,
  CompOneListOfDeletionOnSubmodel = 1020603,
  CompSubmodelNoEmptyLODeletions = 1020604,
  CompLODeletionsAllowedElements = 1020605,
  CompLODeletionAllowedAttributes = 1020606,
  CompSubmodelAllowedAttributes = 1020607,
  CompModReferenceSyntax = 1020608,
  CompInvalidTimeConvFactorSyntax = 1020613,
  CompInvalidExtentConvFactorSyntax = 1020614,
  CompSubmodelMustReferenceModel = 1020615,
  CompSubmodelCannotReferenceSelf = 1020616,
  CompModCannotCircularlyReferenceSelf = 1020617,
  CompTimeConversionMustBeParameter = 1020622,
  CompExtentConversionMustBeParameter = 1020623,
  CompPortRefMustReferencePort = 1020701,
  CompIdRefMustReferenceObject = 1020702,
  CompUnitRefMustReferenceUnitDef = 1020703,
  CompMetaIdRefMustReferenceObject = 1020704,
  CompParentOfSBRefChildMustBeSubmodel = 1020705,
  CompInvalidPortRefSyntax = 1020706,
  CompInvalidIdRefSyntax = 1020707,
  CompInvalidUnitRefSyntax = 1020708,
  CompInvalidMetaIdRefSyntax = 1020709,
  CompOneSBaseRefOnly = 1020710,
  CompDeprecatedSBaseRefSpelling = 1020711,
  CompPortMustReferenceObject = 1020801,
  CompPortMustReferenceOnlyOneObject = 1020802,
  CompPortAllowedAttributes = 1020803,
  CompPortReferencesUnique = 1020804,
  CompDeletionMustReferenceObject = 1020901,
  CompDeletionMustReferOnlyOneObject = 1020902,
  CompDeletionAllowedAttributes = 1020903,
  CompReplacedElementMustRefObject = 1021001,
  CompReplacedElementMustRefOnlyOne = 1021002,
  CompReplacedElementAllowedAttributes = 1021003,
  CompReplacedElementSubModelRef = 1021004,
  CompReplacedElementDeletionRef = 1021005,
  CompReplacedElementConvFactorRef = 1021006,
  CompReplacedElementSameReference = 1021010,
  CompReplacedByMustRefObject = 1021101,
  CompReplacedByMustRefOnlyOne = 1021102,
  CompReplacedByAllowedAttributes = 1021103,
  CompReplacedBySubModelRef = 1021104,
  CompUnresolvedReference = 1090101,
  CompNoModelInReference = 1090102,
  CompExtModDefBad = 1090103
}
 Codes for all SBML-level errors and warnings. More...
 

Enumeration Type Documentation

Codes for all SBML-level errors and warnings.

These are distinguished from the XML layer (LIBLAX) error codes by being numbered > 10000, while the XML layer's codes are < 9999. Calling programs may wish to check whether a given SBMLError object's error identifier is actually from SBMLErrorCode_t or XMLError::XMLErrorCode_t. This distinction corresponds to whether a given error represents a low-level XML problem or an SBML problem.

Enumerator
CompUnknown 
CompNSUndeclared 
CompElementNotInNs 
CompDuplicateComponentId 
CompUniqueModelIds 
CompUniquePortIds 
CompInvalidSIdSyntax 
CompInvalidSubmodelRefSyntax 
CompInvalidDeletionSyntax 
CompInvalidConversionFactorSyntax 
CompInvalidNameSyntax 
CompOneListOfReplacedElements 
CompLOReplaceElementsAllowedElements 
CompLOReplacedElementsAllowedAttribs 
CompEmptyLOReplacedElements 
CompOneReplacedByElement 
CompAttributeRequiredMissing 
CompAttributeRequiredMustBeBoolean 
CompRequiredTrueIfElementsRemain 
CompRequiredFalseIfAllElementsReplaced 
CompOneListOfModelDefinitions 
CompEmptyLOModelDefs 
CompLOModelDefsAllowedElements 
CompLOExtModelDefsAllowedElements 
CompLOModelDefsAllowedAttributes 
CompLOExtModDefsAllowedAttributes 
CompOneListOfExtModelDefinitions 
CompExtModDefAllowedCoreAttributes 
CompExtModDefAllowedElements 
CompExtModDefAllowedAttributes 
CompReferenceMustBeL3 
CompModReferenceMustIdOfModel 
CompExtModMd5DoesNotMatch 
CompInvalidSourceSyntax 
CompInvalidModelRefSyntax 
CompInvalidMD5Syntax 
CompCircularExternalModelReference 
CompOneListOfOnModel 
CompNoEmptyListOfOnModel 
CompLOSubmodelsAllowedElements 
CompLOPortsAllowedElements 
CompLOSubmodelsAllowedAttributes 
CompLOPortsAllowedAttributes 
CompSubmodelAllowedCoreAttributes 
CompSubmodelAllowedElements 
CompOneListOfDeletionOnSubmodel 
CompSubmodelNoEmptyLODeletions 
CompLODeletionsAllowedElements 
CompLODeletionAllowedAttributes 
CompSubmodelAllowedAttributes 
CompModReferenceSyntax 
CompInvalidTimeConvFactorSyntax 
CompInvalidExtentConvFactorSyntax 
CompSubmodelMustReferenceModel 
CompSubmodelCannotReferenceSelf 
CompModCannotCircularlyReferenceSelf 
CompTimeConversionMustBeParameter 
CompExtentConversionMustBeParameter 
CompPortRefMustReferencePort 
CompIdRefMustReferenceObject 
CompUnitRefMustReferenceUnitDef 
CompMetaIdRefMustReferenceObject 
CompParentOfSBRefChildMustBeSubmodel 
CompInvalidPortRefSyntax 
CompInvalidIdRefSyntax 
CompInvalidUnitRefSyntax 
CompInvalidMetaIdRefSyntax 
CompOneSBaseRefOnly 
CompDeprecatedSBaseRefSpelling 
CompPortMustReferenceObject 
CompPortMustReferenceOnlyOneObject 
CompPortAllowedAttributes 
CompPortReferencesUnique 
CompDeletionMustReferenceObject 
CompDeletionMustReferOnlyOneObject 
CompDeletionAllowedAttributes 
CompReplacedElementMustRefObject 
CompReplacedElementMustRefOnlyOne 
CompReplacedElementAllowedAttributes 
CompReplacedElementSubModelRef 
CompReplacedElementDeletionRef 
CompReplacedElementConvFactorRef 
CompReplacedElementSameReference 
CompReplacedByMustRefObject 
CompReplacedByMustRefOnlyOne 
CompReplacedByAllowedAttributes 
CompReplacedBySubModelRef 
CompUnresolvedReference 
CompNoModelInReference 
CompExtModDefBad