Class Version_t

Class Documentation

class Version_t

Public Functions

Version_t()

Construct a DlVersion.

Returns

a handle to the created DlVersion

Version_t(int32_t Major, int32_t Minor, int32_t Teeny, const std::string &Build)
std::string toString() const

Returns a string in the form Major.Minor.Teeny.Build.

Returns

A formatted string holding the version information.

String asString() const

Returns a string in the form Major.Minor.Teeny.Build.

Returns

A formatted string holding the version information.

Public Members

MajorReference<int32_t> Major = {*this}

Holds the major version number. Changes in this value indicate major changes that break backward compatibility.

MinorReference<int32_t> Minor = {*this}

Holds the minor version number. Changes in this value indicate minor changes made to library that are backwards compatible (such as additions to the interface).

TeenyReference<int32_t> Teeny = {*this}

Holds the teeny version number. Changes in this value indicate changes such as bug fixes and patches made to the library that do not affect the interface.

BuildReference<std::string> Build = {*this}

This string holds information about the build version.

Public Static Functions

static Version_t fromString(const std::string &stringValue)

Create a DlVersion from a string.

Parameters

stringValue[in] The formatted DlVersion string

Returns

A handle to the created DlVersion