/usr/include/sbml/packages/qual/validator/QualSBMLError.h is in libsbml5-dev 5.16.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | /**
* @file QualSBMLError.h
* @brief Represents SBML errors and other diagnostics
* @author Michael Hucka
* @author Sarah Keating
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information about SBML, and the latest version of libSBML.
*
* Copyright (C) 2013-2017 jointly by the following organizations:
* 1. California Institute of Technology, Pasadena, CA, USA
* 2. EMBL European Bioinformatics Institute (EMBL-EBI), Hinxton, UK
* 3. University of Heidelberg, Heidelberg, Germany
*
* Copyright (C) 2009-2013 jointly by the following organizations:
* 1. California Institute of Technology, Pasadena, CA, USA
* 2. EMBL European Bioinformatics Institute (EMBL-EBI), Hinxton, UK
*
* Copyright (C) 2006-2008 by the California Institute of Technology,
* Pasadena, CA, USA
*
* Copyright (C) 2002-2005 jointly by the following organizations:
* 1. California Institute of Technology, Pasadena, CA, USA
* 2. Japan Science and Technology Agency, Japan
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation. A copy of the license agreement is provided
* in the file named "LICENSE.txt" included with this software distribution
* and also available online as http://sbml.org/software/libsbml/license.html
* ------------------------------------------------------------------------ -->
*/
#ifndef QualSBMLError_h
#define QualSBMLError_h
LIBSBML_CPP_NAMESPACE_BEGIN
BEGIN_C_DECLS
/**
* @enum 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.
*
* @copydetails doc_sbml_error_code_ranges
*/
typedef enum
{
QualUnknown = 3010100 /*!< Unknown error from qual. */
, QualNSUndeclared = 3010101 /*!< The qual ns is not correctly declared. */
, QualElementNotInNs = 3010102 /*!< Element not in qual namespace. */
, QualFunctionTermBool = 3010201 /*!< FunctionTerm should return boolean. */
, QualMathCSymbolDisallowed = 3010202 /*!< CSymbol time or delay not allowed. */
, QualDuplicateComponentId = 3010301 /*!< Duplicate 'id' attribute value. */
, QualAttributeRequiredMissing = 3020101 /*!< Required qual:required attribute on <code><sbml></code>. */
, QualAttributeRequiredMustBeBoolean = 3020102 /*!< The qual:required attribute must be Boolean. */
, QualRequiredTrueIfTransitions = 3020103 /*!< The qual:required attribute must be 'true' if math changes. */
, QualOneListOfTransOrQS = 3020201 /*!< Only one <code><listOfTransitions></code> or <code><listOfQualitativeSpecies></code> allowed. */
, QualEmptyLONotAllowed = 3020202 /*!< Empty <code><listOfTransitions></code> or <code><listOfQualitativeSpecies></code> not allowed. */
, QualLOTransitiondAllowedElements = 3020203 /*!< Elements allowed on <code><listOfTransitions></code>. */
, QualLOQualSpeciesAllowedElements = 3020204 /*!< Elements allowed on <code><listOfTransitions></code>. */
, QualLOQualSpeciesAllowedAttributes = 3020205 /*!< Attributes allowed on <code><listOfQualitativeSpecies></code>. */
, QualLOTransitionsAllowedAttributes = 3020206 /*!< Attributes allowed on <code><listOfTransitions></code>. */
, QualQualSpeciesAllowedCoreAttributes = 3020301 /*!< Core attributes allowed on <code><qualitativeSpecies></code>. */
, QualQualSpeciesAllowedElements = 3020302 /*!< Elements allowed on <code><qualitativeSpecies></code>. */
, QualQualSpeciesAllowedAttributes = 3020303 /*!< Attributes allowed on <code><qualitativeSpecies></code>. */
, QualConstantMustBeBool = 3020304 /*!< Attribute 'constant' on <code><qualitativeSpecies></code> must be boolean. */
, QualNameMustBeString = 3020305 /*!< Attribute 'name' on <code><qualitativeSpecies></code> must be string. */
, QualInitialLevelMustBeInt = 3020306 /*!< Attribute 'initialLevel' on <code><qualitativeSpecies></code> must be integer. */
, QualMaxLevelMustBeInt = 3020307 /*!< Attribute 'maxLevel' on <code><qualitativeSpecies></code> must be integer. */
, QualCompartmentMustReferExisting = 3020308 /*!< Attribute 'compartment' on <code><qualitativeSpecies></code> must reference compartment. */
, QualInitialLevelCannotExceedMax = 3020309 /*!< Attribute 'initialLevel' on <code><qualitativeSpecies></code> cannot exceed maxLevel. */
, QualConstantQSCannotBeOutput = 3020310 /*!< Constant <code><qualitativeSpecies></code> cannot be an Output. */
, QualQSAssignedOnlyOnce = 3020311 /*!< A <code><qualitativeSpecies></code> can only be assigned once. */
, QualInitalLevelNotNegative = 3020312 /*!< Attribute 'initialLevel' on <code><qualitativeSpecies></code> cannot be negative. */
, QualMaxLevelNotNegative = 3020313 /*!< Attribute 'maxLevel' on <code><qualitativeSpecies></code> cannot be negative. */
, QualTransitionAllowedCoreAttributes = 3020401 /*!< Core attributes allowed on <code><transition></code>. */
, QualTransitionAllowedElements = 3020402 /*!< Elements allowed on <code><transition></code>. */
, QualTransitionAllowedAttributes = 3020403 /*!< Attributes allowed on <code><transition></code>. */
, QualTransitionNameMustBeString = 3020404 /*!< Attribute 'name' on <code><transition></code> must be string. */
, QualTransitionLOElements = 3020405 /*!< ListOf elements on <code><transition></code>. */
, QualTransitionEmptyLOElements = 3020406 /*!< ListOf elements on <code><transition></code> not empty. */
, QualTransitionLOInputElements = 3020407 /*!< Elements on <code><listOfInputs></code>. */
, QualTransitionLOOutputElements = 3020408 /*!< Elements on <code><listOfOutputs></code>. */
, QualTransitionLOFuncTermElements = 3020409 /*!< Elements on <code><listOfFunctionTerms></code>. */
, QualTransitionLOInputAttributes = 3020410 /*!< Attributes allowed on <code><listOfInputs></code>. */
, QualTransitionLOOutputAttributes = 3020411 /*!< Attributes allowed on <code><listOfOutputs></code>. */
, QualTransitionLOFuncTermAttributes = 3020412 /*!< Attributes allowed on <code><listOfFunctionTerms></code>. */
, QualTransitionLOFuncTermExceedMax = 3020413 /*!< <code><listOfFunctionTerms></code> cannot make qualitativeSpecies exceed maxLevel. */
, QualTransitionLOFuncTermNegative = 3020414 /*!< <code><listOfFunctionTerms></code> cannot make qualitativeSpecies negative. */
, QualInputAllowedCoreAttributes = 3020501 /*!< Core attributes allowed on <code><input></code>. */
, QualInputAllowedElements = 3020502 /*!< Elements allowed on <code><input></code>. */
, QualInputAllowedAttributes = 3020503 /*!< Attributes allowed on <code><input></code>. */
, QualInputNameMustBeString = 3020504 /*!< Attribute 'name' on <code><input></code> must be string. */
, QualInputSignMustBeSignEnum = 3020505 /*!< Attribute 'sign' on <code><input></code> must be enum. */
, QualInputTransEffectMustBeInputEffect = 3020506 /*!< Attribute 'transitionEffect' on <code><input></code> must be enum. */
, QualInputThreshMustBeInteger = 3020507 /*!< Attribute 'thresholdLevel' on <code><input></code> must be non negative integer. */
, QualInputQSMustBeExistingQS = 3020508 /*!< Attribute 'qualitativeSpecies' on <code><input></code> must refer to existing. */
, QualInputConstantCannotBeConsumed = 3020509 /*!< Constant <code><input></code> cannot be consumed. */
, QualInputThreshMustBeNonNegative = 3020510 /*!< Attribute 'thresholdLevel' on <code><input></code> must be non negative integer. */
, QualOutputAllowedCoreAttributes = 3020601 /*!< Core attributes allowed on <code><output></code>. */
, QualOutputAllowedElements = 3020602 /*!< Elements allowed on <code><output></code>. */
, QualOutputAllowedAttributes = 3020603 /*!< Attributes allowed on <code><output></code>. */
, QualOutputNameMustBeString = 3020604 /*!< Attribute 'name' on <code><output></code> must be string. */
, QualOutputTransEffectMustBeOutput = 3020605 /*!< Attribute 'transitionEffect' on <code><output></code> must be enum. */
, QualOutputLevelMustBeInteger = 3020606 /*!< Attribute 'outputLevel' on <code><output></code> must be non negative integer. */
, QualOutputQSMustBeExistingQS = 3020607 /*!< Attribute 'qualitativeSpecies' on <code><output></code> must refer to existing. */
, QualOutputConstantMustBeFalse = 3020608 /*!< Constant 'qualitativeSpecies' cannot be <code><output></code>. */
, QualOutputProductionMustHaveLevel = 3020609 /*!< <code><output></code> being produced must have level. */
, QualOutputLevelMustBeNonNegative = 3020610 /*!< Attribute 'outputLevel' on <code><output></code> must be non negative integer. */
, QualDefaultTermAllowedCoreAttributes = 3020701 /*!< Core attributes allowed on <code><defaultTerm></code>. */
, QualDefaultTermAllowedElements = 3020702 /*!< Elements allowed on <code><defaultTerm></code>. */
, QualDefaultTermAllowedAttributes = 3020703 /*!< Attributes allowed on <code><defaultTerm></code>. */
, QualDefaultTermResultMustBeInteger = 3020704 /*!< Attribute 'resultLevel' on <code><defaultTerm></code> must be non negative integer. */
, QualDefaultTermResultMustBeNonNeg = 3020705 /*!< Attribute 'resultLevel' on <code><defaultTerm></code> must be non negative integer. */
, QualFuncTermAllowedCoreAttributes = 3020801 /*!< Core attributes allowed on <code><functionTerm></code>. */
, QualFuncTermAllowedElements = 3020802 /*!< Elements allowed on <code><functionTerm></code>. */
, QualFuncTermAllowedAttributes = 3020803 /*!< Attributes allowed on <code><functionTerm></code>. */
, QualFuncTermOnlyOneMath = 3020804 /*!< Only one <code><math></code> on <code><functionTerm></code>. */
, QualFuncTermResultMustBeInteger = 3020805 /*!< Attribute 'resultLevel' on <code><functionTerm></code> must be non negative integer. */
, QualFuncTermResultMustBeNonNeg = 3020806 /*!< Attribute 'resultLevel' on <code><functionTerm></code> must be non negative integer.. */
} QualSBMLErrorCode_t;
END_C_DECLS
LIBSBML_CPP_NAMESPACE_END
#endif /* SBMLError_h */
|