VISR  0.11.8
Versatile Interactive Scene Renderer
visr::version Namespace Reference

Functions

unsigned int major ()
 
unsigned int minor ()
 
unsigned int patch ()
 
std::string versionString ()
 
std::string features ()
 
bool hasFeature (std::string const &feature)
 

Detailed Description

Namespace containing version number and version name access functions.

Function Documentation

◆ features()

std::string visr::version::features ( )

Return a comma-separated list of additional features.

◆ hasFeature()

bool visr::version::hasFeature ( std::string const &  feature)

Query whether the software contains the specified additional feature.

Parameters
featureFeature id (a string).
Returns
True if the feature is contained in the library, false otherwise.

◆ major()

unsigned int visr::version::major ( )

Return the major version number as an integer.

◆ minor()

unsigned int visr::version::minor ( )

Return the mainor version number as an integer.

◆ patch()

unsigned int visr::version::patch ( )

Return the patch revision number as an integer.

◆ versionString()

std::string visr::version::versionString ( )

Return the software version as a string of the form <major>.<minor>.<patch>