Feel++ 0.91.0
Static Public Member Functions

Feel::Info Class Reference

information provider for versioning and installation directories More...

#include <info.hpp>

List of all members.

Static Public Member Functions

static unsigned long long buildId ()
static unsigned long long revision ()
static unsigned long long version ()
static unsigned int versionMajor ()
static unsigned int versionMinor ()
static unsigned int versionMicro ()
static char const * versionString ()
static char const * prefix ()
 prefix directory
static char const * datadir ()
 datadir directory

Detailed Description

information provider for versioning and installation directories

Author:
Christophe Prud'homme

Member Function Documentation

unsigned long long Feel::Info::buildId ( ) [static]

Build id is the Feel compilation date/time (e.g 2005/12/07 - 18:18:09)

This is a unique id for each release. It permits Feel to check if a more recent version of itself exist. Format: year/month/day hour:minutes:seconds

char const * Feel::Info::datadir ( ) [static]

datadir directory

The directory for installing idiosyncratic read-only architecture-independent data files for this program

char const * Feel::Info::prefix ( ) [static]

prefix directory

A prefix used in constructing the default values of the variables listed below. The default value of prefix should be /usr/local. When building the complete GNU system, the prefix will be empty and /usr will be a symbolic link to /.

unsigned long long Feel::Info::revision ( ) [static]

Revision number (Subversion revision).

unsigned long long Feel::Info::version ( ) [static]

Returns the encoded number of FEEL's version, see the FEEL_VERSION macro. In contrary to that macro this function returns the number of the actually installed FEEL version, not the number of the FEEL version that was installed when the program was compiled.

Returns:
the version number, encoded in a single unsigned long long
Since:
0.7
unsigned int Feel::Info::versionMajor ( ) [static]

Returns the major number of FEEL's version, e.g. 0 for FEEL 0.7

Returns:
the major version number
Since:
0.7
unsigned int Feel::Info::versionMicro ( ) [static]

Returns the micro number of FEEL's version, e.g. 0 for FEEL 0.7.0

Returns:
the extra information
Since:
0.7
unsigned int Feel::Info::versionMinor ( ) [static]

Returns the minor number of FEEL's version, e.g. 7 for FEEL 0.7.0

Returns:
the minor version number
Since:
0.7
char const * Feel::Info::versionString ( ) [static]

Returns the FEEL version as string, e.g. "0.7.0".

Returns:
the FEEL version. You can keep the string forever
Since:
0.7