shark::Shark::Version< major, minor, patch > Struct Template Reference

Models a version according to the major.minor.patch versioning scheme. More...

#include <shark/Core/Shark.h>

Static Public Member Functions

static const char * DEFAULT_FORMAT ()
 Default printf-format for formatting version numbers. More...
 
static unsigned int MAJOR ()
 Returns the major revision number. More...
 
static unsigned int MINOR ()
 Returns the minor revision number. More...
 
static unsigned int PATCH ()
 Returns the patch revision number. More...
 

Detailed Description

template<unsigned int major, unsigned int minor, unsigned int patch>
struct shark::Shark::Version< major, minor, patch >

Models a version according to the major.minor.patch versioning scheme.

Definition at line 173 of file Shark.h.

Member Function Documentation

◆ DEFAULT_FORMAT()

template<unsigned int major, unsigned int minor, unsigned int patch>
static const char* shark::Shark::Version< major, minor, patch >::DEFAULT_FORMAT ( )
inlinestatic

Default printf-format for formatting version numbers.

Definition at line 176 of file Shark.h.

◆ MAJOR()

template<unsigned int major, unsigned int minor, unsigned int patch>
static unsigned int shark::Shark::Version< major, minor, patch >::MAJOR ( )
inlinestatic

Returns the major revision number.

Definition at line 181 of file Shark.h.

◆ MINOR()

template<unsigned int major, unsigned int minor, unsigned int patch>
static unsigned int shark::Shark::Version< major, minor, patch >::MINOR ( )
inlinestatic

Returns the minor revision number.

Definition at line 186 of file Shark.h.

◆ PATCH()

template<unsigned int major, unsigned int minor, unsigned int patch>
static unsigned int shark::Shark::Version< major, minor, patch >::PATCH ( )
inlinestatic

Returns the patch revision number.

Definition at line 191 of file Shark.h.


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