OpenMS  2.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
VersionInfo::VersionDetails Struct Reference

#include <OpenMS/CONCEPT/VersionInfo.h>

Collaboration diagram for VersionInfo::VersionDetails:
[legend]

Public Member Functions

 VersionDetails ()=default
 
 VersionDetails (const VersionDetails &other)=default
 Copy constructor. More...
 
VersionDetailsoperator= (const VersionDetails &other)=default
 Copy assignment. More...
 
bool operator< (const VersionDetails &rhs) const
 
bool operator== (const VersionDetails &rhs) const
 
bool operator!= (const VersionDetails &rhs) const
 
bool operator> (const VersionDetails &rhs) const
 

Static Public Member Functions

static VersionDetails create (const String &version)
 parse String and return as proper struct More...
 

Public Attributes

Int version_major = 0
 
Int version_minor = 0
 
Int version_patch = 0
 
String pre_release_identifier
 

Static Public Attributes

static const VersionDetails EMPTY
 

Constructor & Destructor Documentation

◆ VersionDetails() [1/2]

VersionDetails ( )
default

◆ VersionDetails() [2/2]

VersionDetails ( const VersionDetails other)
default

Copy constructor.

Member Function Documentation

◆ create()

static VersionDetails create ( const String version)
static

parse String and return as proper struct

Returns
VersionInfo::empty on failure

◆ operator!=()

bool operator!= ( const VersionDetails rhs) const

◆ operator<()

bool operator< ( const VersionDetails rhs) const

◆ operator=()

VersionDetails& operator= ( const VersionDetails other)
default

Copy assignment.

◆ operator==()

bool operator== ( const VersionDetails rhs) const

◆ operator>()

bool operator> ( const VersionDetails rhs) const

Member Data Documentation

◆ EMPTY

const VersionDetails EMPTY
static

◆ pre_release_identifier

String pre_release_identifier

◆ version_major

Int version_major = 0

◆ version_minor

Int version_minor = 0

◆ version_patch

Int version_patch = 0