libSBML C++ API  5.18.0
LayoutSBMLError.h File Reference

Implementation of the LayoutSBMLError class. More...

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

Enumerations

enum  LayoutSBMLErrorCode_t {
  LayoutUnknownError = 6010100,
  LayoutNSUndeclared = 6010101,
  LayoutElementNotInNs = 6010102,
  LayoutDuplicateComponentId = 6010301,
  LayoutSIdSyntax = 6010302,
  LayoutXsiTypeAllowedLocations = 6010401,
  LayoutXsiTypeSyntax = 6010402,
  LayoutAttributeRequiredMissing = 6020101,
  LayoutAttributeRequiredMustBeBoolean = 6020102,
  LayoutRequiredFalse = 6020103,
  LayoutOnlyOneLOLayouts = 6020201,
  LayoutLOLayoutsNotEmpty = 6020202,
  LayoutLOLayoutsAllowedElements = 6020203,
  LayoutLOLayoutsAllowedAttributes = 6020204,
  LayoutLayoutAllowedElements = 6020301,
  LayoutLayoutAllowedCoreAttributes = 6020302,
  LayoutOnlyOneEachListOf = 6020303,
  LayoutNoEmptyListOfs = 6020304,
  LayoutLayoutAllowedAttributes = 6020305,
  LayoutLayoutNameMustBeString = 6020306,
  LayoutLOCompGlyphAllowedAttributes = 6020307,
  LayoutLOCompGlyphAllowedElements = 6020308,
  LayoutLOSpeciesGlyphAllowedAttributes = 6020309,
  LayoutLOSpeciesGlyphAllowedElements = 6020310,
  LayoutLORnGlyphAllowedAttributes = 6020311,
  LayoutLORnGlyphAllowedElements = 6020312,
  LayoutLOAddGOAllowedAttribut = 6020313,
  LayoutLOAddGOAllowedElements = 6020314,
  LayoutLayoutMustHaveDimensions = 6020315,
  LayoutLOTextGlyphAllowedAttributes = 6020316,
  LayoutLOTextGlyphAllowedElements = 6020317,
  LayoutGOAllowedCoreElements = 6020401,
  LayoutGOAllowedCoreAttributes = 6020402,
  LayoutGOAllowedElements = 6020403,
  LayoutGOAllowedAttributes = 6020404,
  LayoutGOMetaIdRefMustBeIDREF = 6020405,
  LayoutGOMetaIdRefMustReferenceObject = 6020406,
  LayoutGOMustContainBoundingBox = 6020407,
  LayoutCGAllowedCoreElements = 6020501,
  LayoutCGAllowedCoreAttributes = 6020502,
  LayoutCGAllowedElements = 6020503,
  LayoutCGAllowedAttributes = 6020504,
  LayoutCGMetaIdRefMustBeIDREF = 6020505,
  LayoutCGMetaIdRefMustReferenceObject = 6020506,
  LayoutCGCompartmentSyntax = 6020507,
  LayoutCGCompartmentMustRefComp = 6020508,
  LayoutCGNoDuplicateReferences = 6020509,
  LayoutCGOrderMustBeDouble = 6020510,
  LayoutSGAllowedCoreElements = 6020601,
  LayoutSGAllowedCoreAttributes = 6020602,
  LayoutSGAllowedElements = 6020603,
  LayoutSGAllowedAttributes = 6020604,
  LayoutSGMetaIdRefMustBeIDREF = 6020605,
  LayoutSGMetaIdRefMustReferenceObject = 6020606,
  LayoutSGSpeciesSyntax = 6020607,
  LayoutSGSpeciesMustRefSpecies = 6020608,
  LayoutSGNoDuplicateReferences = 6020609,
  LayoutRGAllowedCoreElements = 6020701,
  LayoutRGAllowedCoreAttributes = 6020702,
  LayoutRGAllowedElements = 6020703,
  LayoutRGAllowedAttributes = 6020704,
  LayoutRGMetaIdRefMustBeIDREF = 6020705,
  LayoutRGMetaIdRefMustReferenceObject = 6020706,
  LayoutRGReactionSyntax = 6020707,
  LayoutRGReactionMustRefReaction = 6020708,
  LayoutRGNoDuplicateReferences = 6020709,
  LayoutLOSpeciesRefGlyphAllowedElements = 6020710,
  LayoutLOSpeciesRefGlyphAllowedAttribs = 6020711,
  LayoutLOSpeciesRefGlyphNotEmpty = 6020712,
  LayoutGGAllowedCoreElements = 6020801,
  LayoutGGAllowedCoreAttributes = 6020802,
  LayoutGGAllowedElements = 6020803,
  LayoutGGAllowedAttributes = 6020804,
  LayoutGGMetaIdRefMustBeIDREF = 6020805,
  LayoutGGMetaIdRefMustReferenceObject = 6020806,
  LayoutGGReferenceSyntax = 6020807,
  LayoutGGReferenceMustRefObject = 6020808,
  LayoutGGNoDuplicateReferences = 6020809,
  LayoutLOReferenceGlyphAllowedElements = 6020810,
  LayoutLOReferenceGlyphAllowedAttribs = 6020811,
  LayoutLOSubGlyphAllowedElements = 6020812,
  LayoutLOSubGlyphAllowedAttribs = 6020813,
  LayoutTGAllowedCoreElements = 6020901,
  LayoutTGAllowedCoreAttributes = 6020902,
  LayoutTGAllowedElements = 6020903,
  LayoutTGAllowedAttributes = 6020904,
  LayoutTGMetaIdRefMustBeIDREF = 6020905,
  LayoutTGMetaIdRefMustReferenceObject = 6020906,
  LayoutTGOriginOfTextSyntax = 6020907,
  LayoutTGOriginOfTextMustRefObject = 6020908,
  LayoutTGNoDuplicateReferences = 6020909,
  LayoutTGGraphicalObjectSyntax = 6020910,
  LayoutTGGraphicalObjectMustRefObject = 6020911,
  LayoutTGTextMustBeString = 6020912,
  LayoutSRGAllowedCoreElements = 6021001,
  LayoutSRGAllowedCoreAttributes = 6021002,
  LayoutSRGAllowedElements = 6021003,
  LayoutSRGAllowedAttributes = 6021004,
  LayoutSRGMetaIdRefMustBeIDREF = 6021005,
  LayoutSRGMetaIdRefMustReferenceObject = 6021006,
  LayoutSRGSpeciesReferenceSyntax = 6021007,
  LayoutSRGSpeciesRefMustRefObject = 6021008,
  LayoutSRGNoDuplicateReferences = 6021009,
  LayoutSRGSpeciesGlyphSyntax = 6021010,
  LayoutSRGSpeciesGlyphMustRefObject = 6021011,
  LayoutSRGRoleSyntax = 6021012,
  LayoutREFGAllowedCoreElements = 6021101,
  LayoutREFGAllowedCoreAttributes = 6021102,
  LayoutREFGAllowedElements = 6021103,
  LayoutREFGAllowedAttributes = 6021104,
  LayoutREFGMetaIdRefMustBeIDREF = 6021105,
  LayoutREFGMetaIdRefMustReferenceObject = 6021106,
  LayoutREFGReferenceSyntax = 6021107,
  LayoutREFGReferenceMustRefObject = 6021108,
  LayoutREFGNoDuplicateReferences = 6021109,
  LayoutREFGGlyphSyntax = 6021110,
  LayoutREFGGlyphMustRefObject = 6021111,
  LayoutREFGRoleSyntax = 6021112,
  LayoutPointAllowedCoreElements = 6021201,
  LayoutPointAllowedCoreAttributes = 6021202,
  LayoutPointAllowedAttributes = 6021203,
  LayoutPointAttributesMustBeDouble = 6021204,
  LayoutBBoxAllowedCoreElements = 6021301,
  LayoutBBoxAllowedCoreAttributes = 6021302,
  LayoutBBoxAllowedElements = 6021303,
  LayoutBBoxAllowedAttributes = 6021304,
  LayoutBBoxConsistent3DDefinition = 6021305,
  LayoutCurveAllowedCoreElements = 6021401,
  LayoutCurveAllowedCoreAttributes = 6021402,
  LayoutCurveAllowedElements = 6021403,
  LayoutCurveAllowedAttributes = 6021404,
  LayoutLOCurveSegsAllowedAttributes = 6021405,
  LayoutLOCurveSegsAllowedElements = 6021406,
  LayoutLOCurveSegsNotEmpty = 6021407,
  LayoutLSegAllowedCoreElements = 6021501,
  LayoutLSegAllowedCoreAttributes = 6021502,
  LayoutLSegAllowedElements = 6021503,
  LayoutLSegAllowedAttributes = 6021504,
  LayoutCBezAllowedCoreElements = 6021601,
  LayoutCBezAllowedCoreAttributes = 6021602,
  LayoutCBezAllowedElements = 6021603,
  LayoutCBezAllowedAttributes = 6021604,
  LayoutDimsAllowedCoreElements = 6021701,
  LayoutDimsAllowedCoreAttributes = 6021702,
  LayoutDimsAllowedAttributes = 6021703,
  LayoutDimsAttributesMustBeDouble = 6021704
}
 Codes for all SBML-level errors and warnings from the 'layout' package. More...
 

Detailed Description

Implementation of the LayoutSBMLError class.

Author
Generated by autocreate code

Enumeration Type Documentation

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

These are distinguished from other SBML error codes by having a number between 6000000 and 6099999.

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
LayoutUnknownError 

Unknown error from layout

LayoutNSUndeclared 

The layout ns is not correctly declared

LayoutElementNotInNs 

Element not in layout namespace

LayoutDuplicateComponentId 

Duplicate 'id' attribute value

LayoutSIdSyntax 

'id' attribute incorrect syntax

LayoutXsiTypeAllowedLocations 

'xsi:type' allowed locations

LayoutXsiTypeSyntax 

'xsi:type' attribute incorrect syntax

LayoutAttributeRequiredMissing 

Required layout:required attribute on <sbml>

LayoutAttributeRequiredMustBeBoolean 

The layout:required attribute must be Boolean

LayoutRequiredFalse 

The layout:required attribute must be 'false'

LayoutOnlyOneLOLayouts 

Only one listOfLayouts on <model>

LayoutLOLayoutsNotEmpty 

ListOf elements cannot be empty

LayoutLOLayoutsAllowedElements 

Allowed elements on ListOfLayouts

LayoutLOLayoutsAllowedAttributes 

Allowed attributes on ListOfLayouts

LayoutLayoutAllowedElements 

Allowed elements on Layout

LayoutLayoutAllowedCoreAttributes 

Allowed core attributes on Layout

LayoutOnlyOneEachListOf 

Only one each listOf on <layout>

LayoutNoEmptyListOfs 

ListOf elements cannot be empty

LayoutLayoutAllowedAttributes 

<layout> must have 'id' and may have 'name'

LayoutLayoutNameMustBeString 

'name' must be string

LayoutLOCompGlyphAllowedAttributes 

Attributes allowed on <listOfCompartmentGlyphs>.

LayoutLOCompGlyphAllowedElements 

Elements allowed on <listOfCompartmentGlyphs>.

LayoutLOSpeciesGlyphAllowedAttributes 

Attributes allowed on <listOfSpeciesGlyphs>.

LayoutLOSpeciesGlyphAllowedElements 

Elements allowed on <listOfSpeciesGlyphs>.

LayoutLORnGlyphAllowedAttributes 

Attributes allowed on <listOfReactionGlyphs>.

LayoutLORnGlyphAllowedElements 

Elements allowed on <listOfReactionGlyphs>.

LayoutLOAddGOAllowedAttribut 

Attributes allowed on <listOfAdditionalGraphicalObjectGlyphs>.

LayoutLOAddGOAllowedElements 

Elements allowed on <listOfAdditionalGraphicalObjectGlyphs>.

LayoutLayoutMustHaveDimensions 

Layout must have <dimensions>.

LayoutLOTextGlyphAllowedAttributes 

Attributes allowed on <listOfTextGlyphs>.

LayoutLOTextGlyphAllowedElements 

Elements allowed on <listOfTextGlyphs>.

LayoutGOAllowedCoreElements 

Core elements allowed on <graphicalObject>.

LayoutGOAllowedCoreAttributes 

Core attributes allowed on <graphicalObject>.

LayoutGOAllowedElements 

Layout elements allowed on <graphicalObject>.

LayoutGOAllowedAttributes 

Layout attributes allowed on <graphicalObject>.

LayoutGOMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutGOMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutGOMustContainBoundingBox 

A <graphicalObject> must contain a <boundingBox>.

LayoutCGAllowedCoreElements 

Core elements allowed on <compartmentGlyph>.

LayoutCGAllowedCoreAttributes 

Core attributes allowed on <compartmentGlyph>.

LayoutCGAllowedElements 

Layout elements allowed on <compartmentGlyph>.

LayoutCGAllowedAttributes 

Layout attributes allowed on <compartmentGlyph>.

LayoutCGMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutCGMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutCGCompartmentSyntax 

CompartmentGlyph 'compartment' must have SIdRef syntax.

LayoutCGCompartmentMustRefComp 

CompartmentGlyph compartment must reference existing compartment.

LayoutCGNoDuplicateReferences 

CompartmentGlyph cannot reference two objects.

LayoutCGOrderMustBeDouble 

CompartmentGlyph order must be double.

LayoutSGAllowedCoreElements 

Core elements allowed on <speciesGlyph>.

LayoutSGAllowedCoreAttributes 

Core attributes allowed on <speciesGlyph>.

LayoutSGAllowedElements 

Layout elements allowed on <speciesGlyph>.

LayoutSGAllowedAttributes 

Layout attributes allowed on <speciesGlyph>.

LayoutSGMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutSGMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutSGSpeciesSyntax 

SpeciesGlyph 'species' must have SIdRef syntax.

LayoutSGSpeciesMustRefSpecies 

SpeciesGlyph species must reference existing species.

LayoutSGNoDuplicateReferences 

SpeciesGlyph cannot reference two objects.

LayoutRGAllowedCoreElements 

Core elements allowed on <reactionGlyph>.

LayoutRGAllowedCoreAttributes 

Core attributes allowed on <reactionGlyph>.

LayoutRGAllowedElements 

Layout elements allowed on <reactionGlyph>.

LayoutRGAllowedAttributes 

Layout attributes allowed on <reactionGlyph>.

LayoutRGMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutRGMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutRGReactionSyntax 

ReactionGlyph 'reaction' must have SIdRef syntax.

LayoutRGReactionMustRefReaction 

ReactionGlyph reaction must reference existing reaction.

LayoutRGNoDuplicateReferences 

ReactionGlyph cannot reference two objects.

LayoutLOSpeciesRefGlyphAllowedElements 

Allowed elements on ListOfSpeciesReferenceGlyphs

LayoutLOSpeciesRefGlyphAllowedAttribs 

Allowed attributes on ListOfSpeciesReferenceGlyphs

LayoutLOSpeciesRefGlyphNotEmpty 

ListOfSpeciesReferenceGlyphs not empty

LayoutGGAllowedCoreElements 

Core elements allowed on <generalGlyph>.

LayoutGGAllowedCoreAttributes 

Core attributes allowed on <generalGlyph>.

LayoutGGAllowedElements 

Layout elements allowed on <generalGlyph>.

LayoutGGAllowedAttributes 

Layout attributes allowed on <generalGlyph>.

LayoutGGMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutGGMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutGGReferenceSyntax 

GeneralGlyph 'reference' must have SIdRef syntax.

LayoutGGReferenceMustRefObject 

GeneralGlyph 'reference' must reference existing element.

LayoutGGNoDuplicateReferences 

GeneralGlyph cannot reference two objects.

LayoutLOReferenceGlyphAllowedElements 

Allowed elements on ListOfReferenceGlyphs

LayoutLOReferenceGlyphAllowedAttribs 

Allowed attributes on ListOfReferenceGlyphs

LayoutLOSubGlyphAllowedElements 

Allowed elements on ListOfSubGlyphs

LayoutLOSubGlyphAllowedAttribs 

Allowed attributes on ListOfSubGlyphs

LayoutTGAllowedCoreElements 

Core elements allowed on <textGlyph>.

LayoutTGAllowedCoreAttributes 

Core attributes allowed on <textGlyph>.

LayoutTGAllowedElements 

Layout elements allowed on <textGlyph>.

LayoutTGAllowedAttributes 

Layout attributes allowed on <textGlyph>.

LayoutTGMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutTGMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutTGOriginOfTextSyntax 

TextGlyph 'originOfText' must have SIdRef syntax.

LayoutTGOriginOfTextMustRefObject 

TextGlyph 'originOfText' must reference existing element.

LayoutTGNoDuplicateReferences 

TextGlyph cannot reference two objects.

LayoutTGGraphicalObjectSyntax 

TextGlyph 'graphicalObject' must have SIdRef syntax.

LayoutTGGraphicalObjectMustRefObject 

TextGlyph 'graphicalObject' must reference existing element.

LayoutTGTextMustBeString 

TextGlyph 'text' must be string.

LayoutSRGAllowedCoreElements 

Core elements allowed on <speciesReferenceGlyph>.

LayoutSRGAllowedCoreAttributes 

Core attributes allowed on <speciesReferenceGlyph>.

LayoutSRGAllowedElements 

Layout elements allowed on <speciesReferenceGlyph>.

LayoutSRGAllowedAttributes 

Layout attributes allowed on <speciesReferenceGlyph>.

LayoutSRGMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutSRGMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutSRGSpeciesReferenceSyntax 

SpeciesReferenceGlyph 'speciesReference' must have SIdRef syntax.

LayoutSRGSpeciesRefMustRefObject 

SpeciesReferenceGlyph 'speciesReference' must reference existing element.

LayoutSRGNoDuplicateReferences 

SpeciesReferenceGlyph cannot reference two objects.

LayoutSRGSpeciesGlyphSyntax 

SpeciesReferenceGlyph 'speciesGlyph' must have SIdRef syntax.

LayoutSRGSpeciesGlyphMustRefObject 

SpeciesReferenceGlyph 'speciesGlyph' must reference existing element.

LayoutSRGRoleSyntax 

SpeciesReferenceGlyph 'role' must be string from enumeration.

LayoutREFGAllowedCoreElements 

Core elements allowed on <referenceGlyph>.

LayoutREFGAllowedCoreAttributes 

Core attributes allowed on <referenceGlyph>.

LayoutREFGAllowedElements 

Layout elements allowed on <referenceGlyph>.

LayoutREFGAllowedAttributes 

Layout attributes allowed on <referenceGlyph>.

LayoutREFGMetaIdRefMustBeIDREF 

Layout 'metaidRef' must be IDREF.

LayoutREFGMetaIdRefMustReferenceObject 

Layout 'metaidRef' must reference existing object.

LayoutREFGReferenceSyntax 

ReferenceGlyph 'reference' must have SIdRef syntax.

LayoutREFGReferenceMustRefObject 

ReferenceGlyph 'reference' must reference existing element.

LayoutREFGNoDuplicateReferences 

ReferenceGlyph cannot reference two objects.

LayoutREFGGlyphSyntax 

ReferenceGlyph 'glyph' must have SIdRef syntax.

LayoutREFGGlyphMustRefObject 

ReferenceGlyph 'glyph' must reference existing element.

LayoutREFGRoleSyntax 

ReferenceGlyph 'role' must be string.

LayoutPointAllowedCoreElements 

Core elements allowed on <point>.

LayoutPointAllowedCoreAttributes 

Core attributes allowed on <point>.

LayoutPointAllowedAttributes 

Layout attributes allowed on <point>.

LayoutPointAttributesMustBeDouble 

Layout 'x', 'y' and 'z' must be double.

LayoutBBoxAllowedCoreElements 

Core elements allowed on <boundingBox>.

LayoutBBoxAllowedCoreAttributes 

Core attributes allowed on <boundingBox>.

LayoutBBoxAllowedElements 

Layout elements allowed on <boundingBox>.

LayoutBBoxAllowedAttributes 

Layout attributes allowed on <boundingBox>.

LayoutBBoxConsistent3DDefinition 

Layout consistent dimensions on a <boundingBox>

LayoutCurveAllowedCoreElements 

Core elements allowed on <curve>.

LayoutCurveAllowedCoreAttributes 

Core attributes allowed on <curve>.

LayoutCurveAllowedElements 

Layout elements allowed on <curve>.

LayoutCurveAllowedAttributes 

Layout attributes allowed on <curve>.

LayoutLOCurveSegsAllowedAttributes 

Allowed attributes on ListOfCurveSegments

LayoutLOCurveSegsAllowedElements 

Allowed elements on ListOfCurveSegments

LayoutLOCurveSegsNotEmpty 

No empty ListOfCurveSegments

LayoutLSegAllowedCoreElements 

Core elements allowed on <lineSegment>.

LayoutLSegAllowedCoreAttributes 

Core attributes allowed on <lineSegment>.

LayoutLSegAllowedElements 

Layout elements allowed on <lineSegment>.

LayoutLSegAllowedAttributes 

Layout attributes allowed on <lineSegment>.

LayoutCBezAllowedCoreElements 

Core elements allowed on <cubicBezier>.

LayoutCBezAllowedCoreAttributes 

Core attributes allowed on <cubicBezier>.

LayoutCBezAllowedElements 

Layout elements allowed on <cubicBezier>.

LayoutCBezAllowedAttributes 

Layout attributes allowed on <cubicBezier>.

LayoutDimsAllowedCoreElements 

Core elements allowed on <dimensions>.

LayoutDimsAllowedCoreAttributes 

Core attributes allowed on <dimensions>.

LayoutDimsAllowedAttributes 

Layout attributes allowed on <dimensions>.

LayoutDimsAttributesMustBeDouble 

Layout 'width', 'height' and 'depth' must be double.