Bayeux  3.4.1
Core Foundation library for SuperNEMO
Static Public Member Functions | List of all members
datatools::version Struct Reference

Describe the datatools API version and features. More...

#include <bayeux/datatools/version.h>

Static Public Member Functions

static int get_major ()
 Return the major version number of datatools, e.g., 1 for '1.2.3'. More...
 
static int get_minor ()
 Return the minor version number of datatools, e.g., 2 for '1.2.3'. More...
 
static int get_patch ()
 Return the patch version number of datatools, e.g., 3 for '1.2.3'. More...
 
static std::string get_version ()
 Return the full version number of datatools as a string, e.g., '1.2.3'. More...
 
static bool is_at_least (int major_, int minor_, int patch_)
 Return true if the current datatools version >= (major, minor, patch) More...
 
static bool has_feature (const std::string &feature_)
 Return true if the named feature is available in datatools. More...
 

Detailed Description

Describe the datatools API version and features.

Member Function Documentation

◆ get_major()

static int datatools::version::get_major ( )
static

Return the major version number of datatools, e.g., 1 for '1.2.3'.

◆ get_minor()

static int datatools::version::get_minor ( )
static

Return the minor version number of datatools, e.g., 2 for '1.2.3'.

◆ get_patch()

static int datatools::version::get_patch ( )
static

Return the patch version number of datatools, e.g., 3 for '1.2.3'.

◆ get_version()

static std::string datatools::version::get_version ( )
static

Return the full version number of datatools as a string, e.g., '1.2.3'.

◆ has_feature()

static bool datatools::version::has_feature ( const std::string &  feature_)
static

Return true if the named feature is available in datatools.

◆ is_at_least()

static bool datatools::version::is_at_least ( int  major_,
int  minor_,
int  patch_ 
)
static

Return true if the current datatools version >= (major, minor, patch)


The documentation for this struct was generated from the following file: