This file is indexed.

/usr/include/sbml/packages/fbc/validator/FbcSBMLError.h is in libsbml5-dev 5.10.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
/**
 * @file    FbcSBMLError.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-2014 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
 *
 * 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 FbcSBMLError_h
#define FbcSBMLError_h

#include <sbml/common/extern.h>
#include <sbml/SBMLError.h>
#include <sbml/SBMLNamespaces.h>


LIBSBML_CPP_NAMESPACE_BEGIN
BEGIN_C_DECLS

/**
 * @enum FbcSBMLErrorCode_t
 * Codes for all SBML-level errors and warnings from the 'fbc' package.
 *
 * These are distinguished from other SBML error codes 
 * by having a number between 2000000 and 2099999.  
 * 
 * @copydetails doc_sbml_error_code_ranges
 */
typedef enum
{
  FbcUnknown                           = 2010100 /*!< Unknown error from fbc */
, FbcNSUndeclared                      = 2010101 /*!< The fbc ns is not correctly declared */
, FbcElementNotInNs                    = 2010102 /*!< Element not in fbc namespace */
, FbcDuplicateComponentId              = 2010301 /*!< Duplicate 'id' attribute value */
, FbcSBMLSIdSyntax                     = 2010302 /*!< Invalid 'id' attribute */

, FbcAttributeRequiredMissing          = 2020101 /*!< Required fbc:required attribute on <code>&lt;sbml&gt;</code> */
, FbcAttributeRequiredMustBeBoolean    = 2020102 /*!< The fbc:required attribute must be Boolean */
, FbcRequiredFalse                     = 2020103 /*!< The fbc:required attribute must be 'false' */

, FbcOnlyOneEachListOf                 = 2020201 /*!< One of each list of allowed */
, FbcNoEmptyListOfs                    = 2020202 /*!< ListOf elements cannot be empty */
, FbcLOFluxBoundsAllowedElements       = 2020203 /*!< Allowed elements on ListOfFluxBounds */
, FbcLOObjectivesAllowedElements       = 2020204 /*!< Allowed elements on ListOfObjectives */
, FbcLOFluxBoundsAllowedAttributes     = 2020205 /*!< Allowed attributes on ListOfFluxBounds */
, FbcLOObjectivesAllowedAttributes     = 2020206 /*!< Allowed attributes on ListOfObjectives */
, FbcActiveObjectiveSyntax             = 2020207 /*!< Type of activeObjective attribute */
, FbcActiveObjectiveRefersObjective    = 2020208 /*!< ActiveObjective must reference Objective */

, FbcSpeciesAllowedL3Attributes        = 2020301 /*!< Species allowed attributes */
, FbcSpeciesChargeMustBeInteger        = 2020302 /*!< Charge must be integer */
, FbcSpeciesFormulaMustBeString        = 2020303 /*!< Chemical formula must be string */

, FbcFluxBoundAllowedL3Attributes      = 2020401 /*!< <code>&lt;fluxBound&gt;</code> may only have 'metaId' and 'sboTerm' from L3 namespace */
, FbcFluxBoundAllowedElements          = 2020402 /*!< <code>&lt;fluxBound&gt;</code> may only have <code>&lt;notes&gt;</code> and <code>&lt;annotations&gt;</code> from L3 Core */
, FbcFluxBoundRequiredAttributes       = 2020403 /*!< Invalid attribute found on <code>&lt;fluxBound&gt;</code> object */
, FbcFluxBoundRectionMustBeSIdRef      = 2020404 /*!< Datatype for 'fbc:reaction' must be SIdRef */
, FbcFluxBoundNameMustBeString         = 2020405 /*!< The attribute 'fbc:name' must be of the data type string */
, FbcFluxBoundOperationMustBeEnum      = 2020406 /*!< The attribute 'fbc:operation' must be of data type FbcOperation */
, FbcFluxBoundValueMustBeDouble        = 2020407 /*!< The attribute 'fbc:value' must be of the data type double */
, FbcFluxBoundReactionMustExist        = 2020408 /*!< 'fbc:reaction' must refer to valid reaction */
, FbcFluxBoundsForReactionConflict     = 2020409 /*!< Conflicting set of FluxBounds for a reaction */

, FbcObjectiveAllowedL3Attributes      = 2020501 /*!< <code>&lt;objective&gt;</code> may only have 'metaId' and 'sboTerm' from L3 namespace */
, FbcObjectiveAllowedElements          = 2020502 /*!< <code>&lt;objective&gt;</code> may only have <code>&lt;notes&gt;</code> and <code>&lt;annotations&gt;</code> from L3 Core */
, FbcObjectiveRequiredAttributes       = 2020503 /*!< Invalid attribute found on <code>&lt;objective&gt;</code> object */
, FbcObjectiveNameMustBeString         = 2020504 /*!< The attribute 'fbc:name' must be of the data type string */
, FbcObjectiveTypeMustBeEnum           = 2020505 /*!< The attribute 'fbc:type' must be of data type FbcType. */
, FbcObjectiveOneListOfObjectives      = 2020506 /*!< An <code>&lt;objective&gt;</code> must have one <code>&lt;listOfFluxObjectives&gt;</code>. */
, FbcObjectiveLOFluxObjMustNotBeEmpty  = 2020507 /*!< <code>&lt;listOfFluxObjectives&gt;</code> subobject must not be empty */
, FbcObjectiveLOFluxObjOnlyFluxObj     = 2020508 /*!< Invalid element found in <code>&lt;listOfFluxObjectives&gt;</code> */
, FbcObjectiveLOFluxObjAllowedAttribs  = 2020509 /*!< <code>&lt;listOfFluxObjectives&gt;</code> may only have 'metaId' and 'sboTerm' from L3 core */

, FbcFluxObjectAllowedL3Attributes     = 2020601 /*!< <code>&lt;fluxObjective&gt;</code> may only have 'metaId' and 'sboTerm' from L3 namespace */
, FbcFluxObjectAllowedElements         = 2020602 /*!< <code>&lt;fluxObjective&gt;</code> may only have <code>&lt;notes&gt;</code> and <code>&lt;annotations&gt;</code> from L3 Core */
, FbcFluxObjectRequiredAttributes      = 2020603 /*!< Invalid attribute found on <code>&lt;fluxObjective&gt;</code> object */
, FbcFluxObjectNameMustBeString        = 2020604 /*!< The attribute 'fbc:name' must be of the data type string */
, FbcFluxObjectReactionMustBeSIdRef    = 2020605 /*!< Datatype for 'fbc:reaction' must be SIdRef */
, FbcFluxObjectReactionMustExist       = 2020606 /*!< 'fbc:reaction' must refer to valid reaction */
, FbcFluxObjectCoefficientMustBeDouble = 2020607 /*!< The attribute 'fbc:coefficient' must be of the data type double */

} FbcSBMLErrorCode_t;


END_C_DECLS
LIBSBML_CPP_NAMESPACE_END



#endif /* SBMLError_h */