C API Documentation
SBMLValidator.h
1 /*
2  * SBMLValidator.h
3  *
4  * Created on: Aug 24, 2014
5  * Author: andy
6  */
7 
8 #ifndef SBMLVALIDATOR_H_
9 #define SBMLVALIDATOR_H_
10 
11 #include <sbml/SBMLDocument.h>
12 
13 #include <string>
14 
15 namespace rr
16 {
17 enum ValidateSBML
18 {
19 
24  VALIDATE_UNITS = (0x1 << 0), // => 0x00000001
25 
30  VALIDATE_IDENTIFIER = (0x1 << 1), // => 0x00000001
31 
36  VALIDATE_MATHML = (0x1 << 2), // => 0x00000001
37 
42  VALIDATE_SBO = (0x1 << 3), // => 0x00000001
43 
47  VALIDATE_OVERDETERMINED = (0x1 << 4), // => 0x00000001
48 
52  VALIDATE_MODELING_PRACTICE = (0x1 << 5), // => 0x00000001
53 
58  VALIDATE_GENERAL = (0x1 << 6), // => 0x00000001
59 };
60 
61 
62 std::string validateSBML(const std::string src, unsigned opt
63  = VALIDATE_IDENTIFIER | VALIDATE_GENERAL | VALIDATE_MATHML);
64 
71 std::string fixMissingStoich(const std::string sbml);
72 
73 } /* namespace rr */
74 
75 #endif /* SBMLVALIDATOR_H_ */