11 #ifndef STFF_Version_h_
12 #define STFF_Version_h_
25 #define API_VERSION_MAJOR 0
26 #define API_VERSION_MINOR 1
27 #define API_VERSION_PATCH 0
28 #define API_VERSION_PRERELEASE_STRING ""
29 #define API_VERSION_BUILD_METADATA_STRING ""
259 const char* pPreRelease = 0)
const;
279 void GetCopyrightMessage (
char *pCopyrightMessage)
const;
299 static constexpr uint32_t MaxCopyrightStringLength;
346 const char *preReleaseString,
347 uint32_t preReleaseLength,
348 const char *buildMetadataString,
349 uint32_t buildMetadataLength);
389 #endif // defined (STFF_Version_h_)
Version & operator=(const Version &)
Assignment operator for the Version class.
uint32_t GetPatch() const
Provides the patch version number, e.g., 3 for "1.2.3".
The Version class provides software version information.
void GetBuildMetadataString(char *pBuildMetadata, uint16_t *pLength) const
Provides the build metadata component of the version.
bool IsAtLeast(const Version *pCompareVersion) const
Compares a provided version against the actual version.
uint32_t GetMinor() const
Provides the minor version number, e.g., 2 for "1.2.3".
void GetVersionString(char *pVersion, uint16_t *pLength) const
Provides the full version number as a string, e.g., "1.2.3-prerelease+buildmetadata".
This is the namespace containing the platform-independent STFishFinder API.
This is the main class for the STFishFinder API.
~Version()
Destructor for the Version class.
static const uint16_t MaxStringLength
Maximum size of character strings, including the terminating '\0', provided by certain Version getter...
uint32_t GetMajor() const
Provides the major version number, e.g., 1 for "1.2.3".
void GetPreReleaseString(char *pPreReleaseString, uint16_t *pLength) const
Provides the pre-release string component of the version.