libSBML C++ API
5.18.0
|
Represents SBML errors and other diagnostics. More...
Represents SBML errors and other diagnostics.
enum CompSBMLErrorCode_t |
Codes for all SBML-level errors and warnings from the 'comp' package.
These are distinguished from other SBML error codes by having a number between 1000000 and 1099999.
Enumerator | |
---|---|
CompUnknown |
Unknown error from comp |
CompNSUndeclared |
The comp ns is not correctly declared |
CompElementNotInNs |
Element not in comp namespace |
CompDuplicateComponentId |
Duplicate 'id' attribute value |
CompUniqueModelIds |
Model and ExternalModelDefinitions must have unique ids |
CompUniquePortIds |
Ports must have unique ids |
CompInvalidSIdSyntax |
Invalid SId syntax |
CompInvalidSubmodelRefSyntax |
Invalid submodelRef syntax |
CompInvalidDeletionSyntax |
Invalid deletion syntax |
CompInvalidConversionFactorSyntax |
Invalid conversionFactor syntax |
CompInvalidNameSyntax |
Invalid name syntax |
CompReplacedUnitsShouldMatch |
Units of replaced elements should match replacement units. |
CompOneListOfReplacedElements |
Only one |
CompLOReplaceElementsAllowedElements |
Allowed children of |
CompLOReplacedElementsAllowedAttribs |
Allowed |
CompEmptyLOReplacedElements |
|
CompOneReplacedByElement |
Only one |
CompAttributeRequiredMissing |
Required comp:required attribute on |
CompAttributeRequiredMustBeBoolean |
The comp:required attribute must be Boolean |
CompRequiredTrueIfElementsRemain |
The comp:required attribute must be 'true' if math changes. NOTE: Deprecated |
CompRequiredFalseIfAllElementsReplaced |
The comp:required attribute must be 'false' if math does not change. NOTE: Deprecated |
CompOneListOfModelDefinitions |
Only one |
CompEmptyLOModelDefs |
|
CompLOModelDefsAllowedElements |
Only |
CompLOExtModelDefsAllowedElements |
Only |
CompLOModelDefsAllowedAttributes |
Allowed |
CompLOExtModDefsAllowedAttributes |
Allowed |
CompOneListOfExtModelDefinitions |
Only one |
CompAttributeRequiredMustBeTrue |
The comp:required attribute must be 'true' |
CompExtModDefAllowedCoreAttributes |
Allowed |
CompExtModDefAllowedElements |
Allowed |
CompExtModDefAllowedAttributes |
Allowed |
CompReferenceMustBeL3 |
External models must be L3 |
CompModReferenceMustIdOfModel |
'modelRef' must be the 'id' of a model in the 'source' document |
CompExtModMd5DoesNotMatch |
MD5 checksum does not match the 'source' document |
CompInvalidSourceSyntax |
The 'comp:source' attribute must be of type 'anyURI' |
CompInvalidModelRefSyntax |
The 'comp:modelRef' attribute must have the syntax of 'SId' |
CompInvalidMD5Syntax |
The 'comp:md5' attribute must have the syntax of 'string' |
CompCircularExternalModelReference |
Circular reference in |
CompOneListOfOnModel |
Only one |
CompNoEmptyListOfOnModel |
No empty listOf elements allowed |
CompLOSubmodelsAllowedElements |
Allowed elements on |
CompLOPortsAllowedElements |
Allowed elements on |
CompLOSubmodelsAllowedAttributes |
Allowed attributes on |
CompLOPortsAllowedAttributes |
Allowed attributes on |
CompSubmodelAllowedCoreAttributes |
Allowed core attributes on |
CompSubmodelAllowedElements |
Allowed elements on |
CompOneListOfDeletionOnSubmodel |
Only one |
CompSubmodelNoEmptyLODeletions |
No empty listOfDeletions elements allowed |
CompLODeletionsAllowedElements |
Allowed elements on |
CompLODeletionAllowedAttributes |
Allowed |
CompSubmodelAllowedAttributes |
Allowed |
CompModReferenceSyntax |
'comp:modelRef' must conform to SId syntax |
CompInvalidTimeConvFactorSyntax |
'comp:timeConversionFactor' must conform to SId syntax |
CompInvalidExtentConvFactorSyntax |
'comp:extentConversionFactor' must conform to SId syntax |
CompSubmodelMustReferenceModel |
The 'comp:modelRef' attribute must reference a model |
CompSubmodelCannotReferenceSelf |
The 'comp:modelRef' attribute cannot reference own model |
CompModCannotCircularlyReferenceSelf |
|
CompTimeConversionMustBeParameter |
The 'comp:timeConversionFactor' must reference a parameter |
CompExtentConversionMustBeParameter |
The 'comp:extentConversionFactor' must reference a parameter |
CompPortRefMustReferencePort |
The 'comp:portRef' attribute must be the 'id' of a |
CompIdRefMustReferenceObject |
The 'comp:idRef' attribute must be the 'id' of a model element |
CompUnitRefMustReferenceUnitDef |
The 'comp:unitRef' attribute must be the 'id' of a UnitDefinition |
CompMetaIdRefMustReferenceObject |
The 'comp:metaIdRef' attribute must be the 'metaid' of an object |
CompParentOfSBRefChildMustBeSubmodel |
If |
CompInvalidPortRefSyntax |
The 'comp:portRef' attribute must have the syntax of an SBML SId |
CompInvalidIdRefSyntax |
The 'comp:idRef' attribute must have the syntax of an SBML SId |
CompInvalidUnitRefSyntax |
The 'comp:unitRef' attribute must have the syntax of an SBML SId |
CompInvalidMetaIdRefSyntax |
The 'comp:metaIdRef' attribute must have the syntax of an XML ID |
CompOneSBaseRefOnly |
Only one |
CompDeprecatedSBaseRefSpelling |
The spelling 'sbaseRef' is deprecated |
CompSBaseRefMustReferenceObject |
An SBaseRef must reference an object. |
CompSBaseRefMustReferenceOnlyOneObject |
An SBaseRef must reference only one other object. |
CompNoMultipleReferences |
Objects may not be referenced by mutiple SBaseRef constructs. |
CompPortMustReferenceObject |
Port must reference an object |
CompPortMustReferenceOnlyOneObject |
Port must reference only one other object. |
CompPortAllowedAttributes |
Allowed attributes on a Port |
CompPortReferencesUnique |
Port definitions must be unique. |
CompDeletionMustReferenceObject |
Deletion must reference an object |
CompDeletionMustReferOnlyOneObject |
Deletion must reference only one other object. |
CompDeletionAllowedAttributes |
Allowed attributes on a Deletion |
CompReplacedElementMustRefObject |
ReplacedElement must reference an object |
CompReplacedElementMustRefOnlyOne |
ReplacedElement must reference only one other object. |
CompReplacedElementAllowedAttributes |
Allowed attributes on |
CompReplacedElementSubModelRef |
The 'comp:submodelRef' attribute must point to a |
CompReplacedElementDeletionRef |
The 'comp:deletion' attribute must point to a |
CompReplacedElementConvFactorRef |
The 'comp:conversionFactor attribute must point to a |
CompReplacedElementSameReference |
No |
CompReplacedElementNoDelAndConvFact |
No |
CompReplacedByMustRefObject |
ReplacedBy must reference an object |
CompReplacedByMustRefOnlyOne |
ReplacedBy must reference only one other object. |
CompReplacedByAllowedAttributes |
Allowed attributes on |
CompReplacedBySubModelRef |
The 'comp:submodelRef' attribute must point to a |
CompMustReplaceSameClass |
Replaced classes must match. |
CompMustReplaceIDs |
Replaced IDs must be replaced with IDs. |
CompMustReplaceMetaIDs |
Replaced metaids must be replaced with metaids. |
CompMustReplacePackageIDs |
Replaced package IDs must be replaced with package IDs. |
CompUnresolvedReference |
Unresolved reference. |
CompNoModelInReference |
No model in referenced document. |
CompExtModDefBad |
Referenced |
CompModelFlatteningFailed |
Model failed to flatten. |
CompFlatModelNotValid |
Flat model not valid. |
CompLineNumbersUnreliable |
Line numbers unreliable. |
CompFlatteningNotRecognisedReqd |
Flattening not implemented for required package. |
CompFlatteningNotRecognisedNotReqd |
Flattening not implemented for unrequired package. |
CompFlatteningNotImplementedNotReqd |
Flattening not implemented for unrequired package. |
CompFlatteningNotImplementedReqd |
Flattening not implemented for required package. |
CompFlatteningWarning |
Flattening reference may come from package. |
CompDeprecatedDeleteFunction |
The performDeletions functions is deprecated. |
CompDeprecatedReplaceFunction |
The performReplacementsAndConversions fuctions is deprecated. |
CompDeletedReplacement |
Element deleted before a subelement could be replaced. |
CompIdRefMayReferenceUnknownPackage |
The 'comp:idRef' attribute must be the 'id' of a model element |
CompMetaIdRefMayReferenceUnknownPkg |
The 'comp:metaIdRef' attribute must be the 'metaid' of a model element |