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:

Defines

#define LIBSBML_DOTTED_VERSION   "5.2.0"
 LIBSBML_DOTTED_VERSION:
#define LIBSBML_VERSION   50200
 LIBSBML_VERSION:
#define LIBSBML_VERSION_STRING   "50200"
 LIBSBML_VERSION_STRING:

Functions

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

Define Documentation

#define LIBSBML_DOTTED_VERSION   "5.2.0"

LIBSBML_DOTTED_VERSION:

A version string of the form "1.2.3".

#define LIBSBML_VERSION   50200

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   "50200"

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".

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".
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines