Aspen
2D C++ Class-Based Object Oriented Game Engine
Aspen::Version Namespace Reference

Version namespace. More...

Classes

class  Version
 Version class Contains version information and comparison operators. More...
 

Enumerations

enum  TIER {
  UNKNOWN = 0,
  PREALPHA,
  NIGHTLY = PREALPHA,
  ALPHA,
  BETA,
  RELEASE,
  GAMMA = RELEASE,
  TOTAL
}
 Release tiers. More...
 

Functions

std::string TierString (const TIER tier)
 Returns the TIER as a string. More...
 

Detailed Description

Version namespace.

Enumeration Type Documentation

◆ TIER

Release tiers.

Enumerator
UNKNOWN 

Unknown/default value.

PREALPHA 

Prealpha build.

NIGHTLY 

Prealpha alias.

ALPHA 

Alpha build.

BETA 

Beta build.

RELEASE 

Release build.

GAMMA 

Release alias.

TOTAL 

Total number of enum values.

Function Documentation

◆ TierString()

std::string Aspen::Version::TierString ( const TIER  tier)

Returns the TIER as a string.

Parameters
tierTIER to represent
Returns
String representation of the given TIER