libSBML Perl API  libSBML 5.8.0 Perl API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
libsbml-version.h File Reference

Detailed Description

Define libSBML version numbers for access from client software.

Author
Michael Hucka
Include dependency graph for libsbml-version.h:
This graph shows which files directly or indirectly include this file:

Macros

#define LIBSBML_DOTTED_VERSION   "5.8.0"
 LIBSBML_DOTTED_VERSION: More...
 
#define LIBSBML_VERSION   50800
 LIBSBML_VERSION: More...
 
#define LIBSBML_VERSION_STRING   "50800"
 LIBSBML_VERSION_STRING: More...
 

Functions

const char * getLibSBMLDottedVersion ()
 Returns the version number of this copy of libSBML as a string. More...
 
int getLibSBMLVersion ()
 Returns the version number of this copy of libSBML as an integer. More...
 
const char * getLibSBMLVersionString ()
 Returns the version number of this copy of libSBML as a string without periods. More...
 

Macro Definition Documentation

#define LIBSBML_DOTTED_VERSION   "5.8.0"

LIBSBML_DOTTED_VERSION:

A version string of the form "1.2.3".

#define LIBSBML_VERSION   50800

LIBSBML_VERSION:

The version as an integer: version 1.2.3 becomes 10203. Since the major number comes first, the overall number will always increase when a new libSBML is released, making it easy to use less-than and greater-than comparisons when testing versions numbers.

#define LIBSBML_VERSION_STRING   "50800"

LIBSBML_VERSION_STRING:

The numeric version as a string: version 1.2.3 becomes "10203".

Function Documentation

const char* getLibSBMLDottedVersion ( )

Returns the version number of this copy of libSBML as a string.

Returns
the libSBML version as a string; version 1.2.3 becomes "1.2.3".
See Also
getLibSBMLVersionString()

Returns the version number of this copy of libSBML as a string.

Returns
the libSBML version as a string of the form "1.2.3".
int getLibSBMLVersion ( )

Returns the version number of this copy of libSBML as an integer.

Returns
the libSBML version as an integer; version 1.2.3 becomes 10203.

Returns the version number of this copy of libSBML as an integer.

Returns
the libSBML version as an integer: version 1.2.3 becomes 10203.
const char* getLibSBMLVersionString ( )

Returns the version number of this copy of libSBML as a string without periods.

Returns
the libSBML version as a string: version 1.2.3 becomes "10203".
See Also
getLibSBMLDottedVersion()

Returns the version number of this copy of libSBML as a string without periods.

Returns
the libSBML version as a string: version 1.2.3 becomes "10203".