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

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

#include <bayeux/geomtools/version.h>

Static Public Member Functions

static int get_major ()
 Return the major version number of geomtools, e.g., 1 for '1.2.3'. More...
 
static int get_minor ()
 Return the minor version number of geomtools, e.g., 2 for '1.2.3'. More...
 
static int get_patch ()
 Return the patch version number of geomtools, e.g., 3 for '1.2.3'. More...
 
static std::string get_version ()
 Return the full version number of geomtools 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 geomtools version >= (major, minor, patch) More...
 
static bool has_feature (const std::string &feature)
 Return true if the named feature is available in geomtools. More...
 

Detailed Description

Describe the geomtools API version and features.

Member Function Documentation

◆ get_major()

static int geomtools::version::get_major ( )
static

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

◆ get_minor()

static int geomtools::version::get_minor ( )
static

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

◆ get_patch()

static int geomtools::version::get_patch ( )
static

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

◆ get_version()

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

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

◆ has_feature()

static bool geomtools::version::has_feature ( const std::string &  feature)
static

Return true if the named feature is available in geomtools.

◆ is_at_least()

static bool geomtools::version::is_at_least ( int  major,
int  minor,
int  patch 
)
static

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


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