File: local-downcast-plugins-req.cpp

package info (click to toggle)
libsbml 5.10.0+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 141,800 kB
  • ctags: 98,793
  • sloc: cpp: 804,405; xml: 206,907; ansic: 66,144; cs: 52,916; java: 25,093; python: 23,449; sh: 9,847; perl: 8,414; makefile: 7,580; ruby: 4,760; csh: 3
file content (40 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (4)
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

#ifdef USE_REQUIREDELEMENTS
if (pkgName == "req")
{
	switch (sb->getTypeCode())
	{
		case SBML_MODEL:
		case SBML_COMPARTMENT:
		case SBML_COMPARTMENT_TYPE:
		case SBML_CONSTRAINT:
		case SBML_EVENT:
		case SBML_EVENT_ASSIGNMENT:
		case SBML_FUNCTION_DEFINITION:
		case SBML_INITIAL_ASSIGNMENT:
		case SBML_KINETIC_LAW:
		case SBML_LIST_OF:
		case SBML_PARAMETER:
		case SBML_REACTION:
		case SBML_RULE:
		case SBML_SPECIES:
		case SBML_SPECIES_REFERENCE:
		case SBML_SPECIES_TYPE:
		case SBML_MODIFIER_SPECIES_REFERENCE:
		case SBML_UNIT_DEFINITION:
		case SBML_UNIT:
		case SBML_ALGEBRAIC_RULE:
		case SBML_ASSIGNMENT_RULE:
		case SBML_RATE_RULE:
		case SBML_SPECIES_CONCENTRATION_RULE:
		case SBML_COMPARTMENT_VOLUME_RULE:
		case SBML_PARAMETER_RULE:
		case SBML_TRIGGER:
		case SBML_DELAY:
		case SBML_STOICHIOMETRY_MATH:
		case SBML_LOCAL_PARAMETER:
			return SWIGTYPE_p_RequiredElementsSBasePlugin;
	}
}
#endif // USE_REQUIREDELEMENTS