Elaztek Developer Hub
Blamite Game Engine - Strings  00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
BlamStrings::Resources::VersionInfo Namespace Reference

Namespace containing functions related to product versions. More...

Functions

STRINGS_API bool VerifyVersion (BlamVersion *version)
 Verifies the validity of a product version by ensuring it matches Semantic Versioning guidelines. More...
 
STRINGS_API std::string GetVersionTypeLabel (BlamVersionType version_type)
 Generates a label from a given version type. More...
 

Detailed Description

Namespace containing functions related to product versions.

Function Documentation

◆ GetVersionTypeLabel()

std::string BlamStrings::Resources::VersionInfo::GetVersionTypeLabel ( BlamVersionType  version_type)

Generates a label from a given version type.

Used when converting a BlamVersion to a string.

Parameters
version_type- The version type to create a label for.
Returns
A string representing the version type.
+ Here is the caller graph for this function:

◆ VerifyVersion()

bool BlamStrings::Resources::VersionInfo::VerifyVersion ( BlamVersion version)

Verifies the validity of a product version by ensuring it matches Semantic Versioning guidelines.

This test is performed using the regex provided on the Semantic Versioning webpage.

Parameters
version- The version to check.
Returns
true if the version is valid, otherwise returns false.
+ Here is the call graph for this function:
+ Here is the caller graph for this function: