class EE::Version

Overview

#include <version.hpp>

class Version {
public:
    // fields

    Uint8 major;
    Uint8 minor;
    Uint8 patch;

    // methods

    static Version getVersion();
    static Uint32 getVersionNum();
    static std::string getVersionName();
    static std::string getCodename();
    static std::string getBuildTime();
};

Detailed Documentation

Fields

Uint8 major

major version

Uint8 minor

minor version

Uint8 patch

update version

Methods

static Version getVersion()

Returns:

The linked version of the library

static Uint32 getVersionNum()

Returns:

The linked version number of the library

static std::string getVersionName()

Returns:

The library version name: “eepp version major.minor.patch”

static std::string getCodename()

Returns:

The version codename

static std::string getBuildTime()

Returns:

The build time of the library