SBML file parser. Currently only level 2 version 4 is supported.
type 
| | | MPlus | 
| | | MMinus | 
| | | MTimes | 
| | | MDivide | 
| | | MPower | 
| | | MRoot | 
| | | MAbs | 
| | | MExp | 
| | | MLn | 
| | | MLog | 
| | | MFloor | 
| | | MCeiling | 
| | | MFactorial | 
| | | MEq | 
| | | MNeq | 
| | | MGt | 
| | | MLt | 
| | | MGeq | 
| | | MLeq | 
| | | MAnd | 
| | | MOr | 
| | | MXor | 
| | | MNot | 
| | | MSin | 
| | | MCos | 
| | | MTan | 
| | | MArcsin | 
| | | MArccos | 
| | | MArctan | 
| | | MDelay | 
| | | MFundef of string | 
 
type 
| | | MApply of sb_math_operator * sb_math list | 
| | | MLambda of string list * sb_math | 
| | | MPiecewise of (string * sb_math) list * string | 
| | | MFloatNumber of float | 
| | | MIntNumber of int | 
| | | MIdentifier of string | 
| | | MTime | 
| | | MTrue | 
| | | MFalse | 
| | | MNAN | 
| | | MPi | 
| | | MExponent | 
| | | MInfinity | 
| | | MNoMath | 
 
type 
|    | unit_kind : string; | 
|    | unit_exponent : int; | 
|    | unit_scale : int; | 
|    | unit_multiplier : float; | 
}
 
type 
|    | fundef_id : string; | 
|    | fundef_name : string; | 
|    | fundef_math : sb_math; | 
}
 
type 
|    | unitdef_id : string; | 
|    | unitdef_name : string; | 
|    | unitdef_unitlist : sb_unit list; | 
}
 
type 
|    | compart_id : string; | 
|    | compart_name : string; | 
|    | compart_spatialDimensions : int; | 
|    | compart_size : float; | 
|    | compart_units : string; | 
|    | compart_outside : string; | 
|    | compart_constant : bool; | 
}
 
type 
|    | specref_species : string; | 
|    | specref_id : string; | 
|    | specref_name : string; | 
|    | specref_stoichiometry : int; | 
}
 
type 
|    | species_id : string; | 
|    | species_name : string; | 
|    | species_type : string; | 
|    | species_compartment : string; | 
|    | species_initialAmount : float; | 
|    | species_initialConcentration : float; | 
|    | species_substanceUnits : string; | 
|    | species_hasOnlySubstanceUnits : bool; | 
|    | species_boundaryCondition : bool; | 
|    | species_constant : bool; | 
}
 
type 
|    | param_id : string; | 
|    | param_name : string; | 
|    | param_value : float; | 
|    | param_units : string; | 
|    | param_constant : bool; | 
}
 
type 
}
 
type 
|    | ia_symbol : string; | 
|    | ia_math : sb_math; | 
}
 
type 
}
 
type 
|    | gr_variable : string; | 
|    | gr_math : sb_math; | 
}
 
type 
}
 
type 
|    | ea_variable : string; | 
|    | ea_math : sb_math; | 
}
 
val in_sbml : Pervasives.in_channel -> sb_model
Returns an sb_model read from input stream